/* ========================================
   SEE-NAUTIC — Open Water Edition
   Inspired by the corporate Schreibtischunterlage
   Light · Maritime · Blue Horizon
   ======================================== */

/* --- Local Fonts (DSGVO-konform, kein Google-Server-Kontakt) --- */
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/albert-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/albert-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/crimson-pro-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Crimson Pro';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/crimson-pro-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* --- Custom Properties --- */
:root {
  --blue-900: #0C2D52;
  --blue-800: #133F72;
  --blue-700: #1A5394;
  --blue-600: #2268B0;
  --blue-500: #3580C8;
  --blue-400: #5A9FDC;
  --blue-300: #89BDE8;
  --blue-200: #B3D5F2;
  --blue-100: #D6EAFA;
  --blue-50:  #EBF3FC;
  --blue-25:  #F5F9FE;
  --white: #ffffff;

  --text: #102840;
  --text-mid: #2D5075;
  --text-light: #4A6E8E;
  --text-muted: #8AA5BE;

  --font-display: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --font-body: 'Albert Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 4px rgba(12, 45, 82, 0.06);
  --shadow-md: 0 4px 20px rgba(12, 45, 82, 0.08);
  --shadow-lg: 0 12px 40px rgba(12, 45, 82, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Base --- */
html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-800);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--blue-800);
}

ul {
  list-style: none;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Language Toggle --- */
[data-lang="en"] {
  display: none !important;
}

html.lang-en [data-lang="de"] {
  display: none !important;
}

html.lang-en [data-lang="en"] {
  display: initial !important;
}

html.lang-en p[data-lang="en"],
html.lang-en div[data-lang="en"],
html.lang-en ul[data-lang="en"],
html.lang-en section[data-lang="en"] {
  display: block !important;
}

html.lang-en h1[data-lang="en"],
html.lang-en h2[data-lang="en"],
html.lang-en h3[data-lang="en"],
html.lang-en h4[data-lang="en"] {
  display: block !important;
}

html.lang-en a[data-lang="en"] {
  display: inline-block !important;
}

html.lang-en .footer-nav a[data-lang="en"] {
  display: block !important;
}

html.lang-en li[data-lang="en"] {
  display: list-item !important;
}

html.lang-en span[data-lang="en"] {
  display: inline !important;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1)  { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2)  { transition-delay: 0.08s; }
.reveal-stagger.visible > *:nth-child(3)  { transition-delay: 0.16s; }
.reveal-stagger.visible > *:nth-child(4)  { transition-delay: 0.24s; }
.reveal-stagger.visible > *:nth-child(5)  { transition-delay: 0.32s; }
.reveal-stagger.visible > *:nth-child(6)  { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(7)  { transition-delay: 0.48s; }
.reveal-stagger.visible > *:nth-child(8)  { transition-delay: 0.56s; }
.reveal-stagger.visible > *:nth-child(9)  { transition-delay: 0.64s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.72s; }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 0.8s; }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 0.88s; }
.reveal-stagger.visible > *:nth-child(13) { transition-delay: 0.96s; }
.reveal-stagger.visible > *:nth-child(14) { transition-delay: 1.04s; }
.reveal-stagger.visible > *:nth-child(15) { transition-delay: 1.12s; }
.reveal-stagger.visible > *:nth-child(16) { transition-delay: 1.2s; }
.reveal-stagger.visible > *:nth-child(17) { transition-delay: 1.28s; }
.reveal-stagger.visible > *:nth-child(18) { transition-delay: 1.36s; }
.reveal-stagger.visible > *:nth-child(19) { transition-delay: 1.44s; }
.reveal-stagger.visible > *:nth-child(20) { transition-delay: 1.52s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Focus States (Accessibility) --- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 2px;
}

.nav-links a:focus-visible,
.nav-compass-btn:focus-visible,
.lang-switch button:focus-visible {
  outline-color: var(--blue-200);
}

/* --- Reduced Motion (Accessibility) --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Animations --- */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}


/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-100);
  border-bottom: 2px solid var(--blue-300);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.75rem 0 0.25rem;
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}

.nav-logo-link img {
  height: 64px;
  width: auto;
  clip-path: inset(0 23% 0 0);
}

/* Compass as menu button — overlays the clipped SVG compass area */
.nav-compass-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-compass-btn img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  transition: transform 0.5s ease, filter 0.3s ease;
}

.nav-compass-btn:hover img {
  transform: scale(1.08);
  filter: brightness(1.3);
}

.nav-compass-btn.open img {
  filter: brightness(1.3);
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 66px;
  left: 0;
  right: 0;
  background: var(--blue-800);
  padding: 0.5rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-links.open {
  display: flex;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 0.7rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--white);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Header Contact Info */
.nav-contact {
  display: none;
}

.nav-contact-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--blue-800);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-contact-item:hover {
  color: var(--blue-600);
}

.nav-contact-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--blue-300);
  border-radius: 3px;
  overflow: hidden;
}

.lang-switch button {
  background: none;
  border: none;
  color: var(--blue-700);
  padding: 0.3rem 0.55rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-switch button.active {
  background: var(--blue-400);
  color: var(--white);
}

.lang-switch button:hover:not(.active) {
  color: var(--blue-900);
}

/* ===== HERO ===== */
.hero {
  background: var(--blue-900);
  color: var(--white);
  padding: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 50vw;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/front.jpg') calc(50% + 50px) 55% / cover no-repeat;
  opacity: 1.0;
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 20% 100%);
  animation: heroZoom 10s ease-out both;
  transform: translateY(var(--parallax-offset, 0));
  will-change: transform;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
}

.hero .hero-content {
  display: none;
}


/* Nautical chart grid overlay on hero */
.hero-chart-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Coordinate watermark */
.hero-coordinates {
  position: absolute;
  bottom: 20px;
  left: 24px;
  z-index: 1;
  pointer-events: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1.15;
  letter-spacing: 3px;
  text-align: left;
}


.hero .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  padding: 0 2rem;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
  animation: heroFadeIn 1s ease-out 0.15s both;
}

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.hero .subtitle {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-200);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  white-space: nowrap;
}

.hero .intro {
  max-width: 560px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--blue-700);
  padding: 0.9rem 2.5rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transform: translateY(0);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s, color 0.25s;
}

.btn-primary:hover {
  background: var(--blue-100);
  color: var(--blue-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 24px rgba(255, 255, 255, 0.25);
}

/* ===== SECTIONS ===== */
section {
  padding: 4.5rem 1.25rem;
}

section:nth-child(odd) {
  background: var(--white);
}

section.hero {
  background: var(--blue-900);
}

section:nth-child(even) {
  background-color: var(--blue-50);
  background-image:
    linear-gradient(rgba(26, 83, 148, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 83, 148, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
}

.section-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-500) 20%, var(--blue-500) 80%, transparent);
  margin: 0.75rem auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  font-weight: 400;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ===== LEISTUNGEN / SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}

.service-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--blue-100);
  border-top: 3px solid var(--blue-500);
  transition: box-shadow 0.3s, transform 0.3s, border-top-color 0.3s;
}

.service-card:hover {
  box-shadow: 0 12px 32px rgba(26, 83, 148, 0.12);
  transform: translateY(-4px);
  border-top-color: var(--blue-600);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--blue-500);
  margin-bottom: 1.25rem;
  transition: color 0.3s;
}

.service-card:hover .service-icon {
  color: var(--blue-700);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  color: var(--blue-800);
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--blue-100);
  position: relative;
}

@media (min-width: 1024px) {
  .cert-logos {
    flex-wrap: nowrap;
  }
}

.cert-logos::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--blue-500);
  transform: translateX(-50%) rotate(45deg);
}

.cert-logos img {
  width: 160px;
  height: 70px;
  object-fit: contain;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.cert-logos img:hover {
  opacity: 1;
}

/* ===== PRODUKTE / PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 1120px;
  margin: 0 auto;
}

.product-category {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--blue-100);
  border-top: 3px solid var(--blue-500);
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-category:hover {
  box-shadow: 0 8px 24px rgba(26, 83, 148, 0.1);
  transform: translateY(-3px);
}


.product-category h3 {
  font-family: var(--font-display);
  color: var(--blue-800);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: none;
}

.product-category ul {
  list-style: none;
  padding-left: 0;
}

.product-category li {
  font-size: 0.88rem;
  padding: 0.25rem 0 0.25rem 1rem;
  position: relative;
  color: var(--text-light);
}

.product-category li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-400);
}

/* ===== PARTNER – Logo Cloud ===== */
#partner {
  position: relative;
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

#partner .container {
  max-width: 1440px;
}


/* Partner Marquee (infinite scroll) */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-logos {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 0 1.5rem;
}

.marquee-logos img {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(100%);
  transition: opacity 0.35s, filter 0.35s, transform 0.35s;
  flex-shrink: 0;
}

.marquee-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
}

/* ===== KARRIERE ===== */
.karriere-content {
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  border: 1px solid var(--blue-100);
}

.karriere-content h3 {
  font-family: var(--font-display);
  color: var(--blue-800);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.karriere-content h3:nth-child(-n+2) {
  margin-top: 0;
}

.karriere-content p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.karriere-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.karriere-content li {
  padding: 0.3rem 0 0.3rem 1rem;
  position: relative;
  color: var(--text-light);
  font-size: 0.92rem;
}

.karriere-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-400);
}

.karriere-content .apply-info {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--blue-50);
  border-left: 3px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0;
}

section.karriere-hidden {
  display: none;
}

section.karriere-hidden + section {
  background: var(--white);
}

/* ===== KONTAKT ===== */
.kontakt-section {
  padding: 0 !important;
  overflow: hidden;
  background: var(--white) !important;
  background-image: none !important;
}

.kontakt-split {
  display: flex;
  flex-direction: column;
}

.kontakt-photo {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.kontakt-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.kontakt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.kontakt-body {
  padding: 3rem 1.25rem 3.5rem;
}

.kontakt-body .section-title {
  color: var(--blue-800);
}

.kontakt-body .section-title::after {
  background: var(--blue-500);
}

.kontakt-body .section-subtitle {
  color: var(--text-light);
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .contact-content {
    max-width: none;
  }
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.contact-details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--blue-100);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--blue-50);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-icon {
  width: 22px;
  height: 22px;
  color: var(--blue-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item p {
  margin: 0.15rem 0;
  color: var(--text-light);
  font-size: 0.92rem;
}

.contact-item p:first-child,
.contact-item .contact-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--blue-800);
}

.contact-item strong {
  color: var(--blue-800);
}


/* ===== FOOTER ===== */
.site-footer {
  background: var(--blue-100);
  color: var(--text-light);
  padding: 3rem 1.25rem 1.5rem;
  font-size: 0.85rem;
  border-top: 2px solid var(--blue-300);
  position: relative;
  overflow: hidden;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: 0px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: url('../img/kompass.png') center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.site-footer .container {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 0 2rem 2rem;
}

.footer-brand {
  text-align: center;
}

.footer-logo {
  height: 72px;
  width: auto;
  margin: 0 auto;
}

.footer-desc {
  color: var(--text-light);
  font-size: 0.82rem;
  line-height: 1.65;
  margin-top: 0.75rem;
}

.footer-nav {
  text-align: center;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.footer-nav a {
  display: block;
  color: var(--text-light);
  font-size: 0.82rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--blue-600);
}

.footer-contact-col {
  text-align: center;
}

.footer-contact-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue-800);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.footer-contact-col p {
  color: var(--text-light);
  font-size: 0.82rem;
  margin: 0.2rem 0;
  line-height: 1.6;
}

.footer-contact-col a {
  color: var(--text-light);
  transition: color 0.2s;
}

.footer-contact-col a:hover {
  color: var(--blue-600);
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  padding: 1.5rem 2rem;
}

.footer-certs img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.footer-certs img:hover {
  opacity: 1;
}

.footer-certs img[alt="Bureau Veritas"] {
  height: 44px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.7rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--blue-600);
}

.footer-copy {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.legal-content h1 {
  font-family: var(--font-display);
  color: var(--blue-800);
  margin-bottom: 1.5rem;
  font-size: 1.85rem;
  font-weight: 600;
}

.legal-content h2 {
  font-family: var(--font-display);
  color: var(--blue-800);
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.legal-content h3 {
  font-family: var(--font-display);
  color: var(--blue-700);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0.75rem;
}

.legal-content li {
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
  color: var(--text-light);
}

.legal-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-400);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.legal-content td {
  padding: 0.5rem 0.75rem;
  vertical-align: top;
  color: var(--text-light);
}

.legal-content .back-link {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.6rem 1.5rem;
  background: var(--blue-700);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.legal-content .back-link:hover {
  background: var(--blue-600);
}

/* ========================================
   Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  .nav-container {
    padding: 0 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-coordinates {
    font-size: 1.3rem;
    left: 32px;
    bottom: 24px;
  }

  section {
    padding: 5rem 2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .marquee-logos img {
    height: 36px;
  }

  .marquee-logos {
    gap: 3.5rem;
  }

  .cert-logos img {
    width: 140px;
    height: 60px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }

  .footer-brand,
  .footer-nav,
  .footer-contact-col {
    text-align: left;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  /* Kontakt */
  .kontakt-photo {
    height: 40vw;
    max-height: 480px;
  }

  .kontakt-body {
    padding: 3rem 2.5rem;
  }

  .contact-details {
    padding: 2rem 1.75rem;
  }
}

/* ========================================
   Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .nav-compass-btn {
    pointer-events: none;
    cursor: default;
    flex-shrink: 0;
  }

  .nav-compass-btn img {
    height: 64px;
    width: 64px;
    min-width: 64px;
    min-height: 64px;
  }

  .nav-container {
    height: 72px;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    padding: 0;
    border-top: none;
  }

  .nav-links a {
    color: var(--blue-900);
    padding: 0.5rem 0.8rem;
    font-size: 0.88rem;
  }

  .nav-links a:hover,
  .nav-links a:focus {
    color: var(--blue-600);
  }


  .mobile-only,
  html.lang-en .mobile-only[data-lang="en"] {
    display: none !important;
  }

  /* Hero – Split: Text links, Gebäude rechts prominent */
  .hero {
    padding: 8rem 2rem 8.5rem;
    min-height: 580px;
    text-align: left;
  }

  .hero .hero-content {
    display: block;
  }

  .hero::before {
    opacity: 1.0;
    clip-path: polygon(40% 0, 100% 0, 100% 100%, 30% 100%);
    background-size: auto max(100%, 39vw);
    background-position: calc(50% + 12vw) 55%;
  }

  .hero::after {
    background: linear-gradient(
      to right,
      var(--blue-900) 0%,
      var(--blue-900) 25%,
      rgba(12, 45, 82, 0.7) 38%,
      rgba(19, 63, 114, 0.15) 55%,
      transparent 68%
    );
  }

  .hero-content {
    margin: 0;
    max-width: 50%;
  }

  .hero .intro {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 3.75rem;
    white-space: nowrap;
  }

  .hero .subtitle {
    font-size: 0.88rem;
    letter-spacing: 4px;
  }

  .hero-coordinates {
    font-size: 1.5rem;
    left: 48px;
    bottom: 28px;
    opacity: 1;
    color: rgba(255, 255, 255, 0.05);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .marquee-logos img {
    height: 42px;
  }

  .marquee-logos {
    gap: 4rem;
  }

  .cert-logos img {
    width: 150px;
    height: 65px;
  }

  .section-title {
    font-size: 2.15rem;
  }

  .kontakt-photo {
    height: 30vw;
    max-height: 520px;
  }

  .kontakt-body {
    padding: 4rem 3.5rem;
  }

  .contact-details {
    display: flex;
    gap: 2rem;
  }

  .contact-item {
    flex: 1;
    border-bottom: none;
    border-right: 1px solid var(--blue-50);
    padding: 0 1.5rem;
  }

  .contact-item:first-child {
    padding-left: 0;
  }

  .contact-item:last-child {
    border-right: none;
    padding-right: 0;
  }
}

/* ========================================
   Wide Desktop (1280px+)
   ======================================== */
@media (min-width: 1280px) {
  .nav-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-right: 0.5rem;
    padding-right: 1rem;
    border-right: 1px solid var(--blue-300);
  }

  .nav-compass-btn img {
    height: 64px;
    width: 64px;
  }
}

