/* ============================================================
   SCHAUENBURG Industrietechnik – Data Center Liquid Cooling
   Statische Landingpage · Farben aus SB-IT_Farben_RGB.ase
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Palanquin';
  src: url('../assets/fonts/Palanquin-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
/* Regular (400): fehlte bisher - body stand auf font-weight:300 (Light),
   weil ohne diese Datei kein 400er-Schnitt existierte und der Browser
   ersatzweise die Light-Datei zeigte. Original von
   schauenburg-industrietechnik.com, wo Fließtext regulär (400) statt
   light (300) läuft. */
@font-face {
  font-family: 'Palanquin';
  src: url('../assets/fonts/Palanquin-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Palanquin';
  src: url('../assets/fonts/Palanquin-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --c-navy:      #12286A;  /* Dunkelblau */
  --c-blue:      #002395;  /* Primärblau – Headlines, Buttons, Karten */
  --c-lightblue: #4097CF;  /* Hellblau – Akzente */
  --c-red:       #A50034;  /* Dunkelrot – Primär-CTAs */
  --c-green:     #BEFF00;  /* Grün-Gelb – Footer-Links */
  --c-text:      #565655;  /* Fließtext */
  --c-gray-mid:  #6b6b6b;  /* WCAG AA (4.5:1) auf Weiß - #868786 lag bei nur 3.6:1 */
  --c-gray:      #C5C6C6;
  --c-gray-bg:   #EDEDED;  /* Sektions-/Kartenhintergründe (aus Entwurf gesampelt) */
  --c-gray-card: #F7F7F7;
  --c-footer:    #003D8F;  /* Footer-Blau (oberer Footer) */
  --c-footer-dk: #1A2665;  /* Footer-Bottom-Bar (unterer Footer) */
  --container:   1260px;
  --header-h:    106px;
  --radius:      5px;
  --shadow:      0 4px 18px rgba(0, 0, 0, 0.10);
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: 'Palanquin', 'Segoe UI', sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-text);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

sup { font-size: 0.6em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-weight: 700; color: var(--c-blue); line-height: 1.25; }

h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin-bottom: 0.9em; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.05rem; }

.overline {
  font-weight: 700;
  color: var(--c-blue);
  font-size: 1.1rem;
  margin-bottom: 1.6em;
}

.section-intro { max-width: 1000px; margin-bottom: 2.2em; }

.text-center { text-align: center; }
.text-center.section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  color: #fff;
  text-decoration: none;
  padding: 15px 26px;
  border-radius: var(--radius);
  transition: filter 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn::after {
  content: '';
  width: 13px;
  height: 16px;
  background: url('../assets/icons/arrow_white.svg') no-repeat center / contain;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn:hover {
  filter: brightness(1.15);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}
.btn:hover::after { transform: translateX(4px); }
.btn:active { filter: brightness(1.05); transform: translateY(1px); box-shadow: none; }
.btn:active::after { transform: translateX(4px); }
.btn--red  { background: var(--c-red); }
.btn--blue { background: var(--c-blue); }

/* ---------- Skip-Link (Barrierefreiheit) ----------
   Für Tastatur-Nutzer: liegt unsichtbar außerhalb des sichtbaren Bereichs
   und erscheint erst bei Tab-Fokus, um Header/Navigation überspringen zu
   können (WCAG 2.4.1 Bypass Blocks). */
.skip-link {
  position: absolute;
  top: -80px;
  left: 24px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--c-blue);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-top: 12px;
  padding-bottom: 12px;
}
.header-logo img { width: 220px; height: auto; }

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.header-topline {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 28px;
}
.header-phone {
  font-size: 0.88rem;
  color: var(--c-text);
  flex-shrink: 0;
}
.header-phone a {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}
/* Sprachumschalter im Stil der Hauptseite (schauenburg-industrietechnik.com):
   ein knapper "DE ⌄"-Auslöser, der ein kleines Dropdown mit der jeweils
   anderen Sprache öffnet - per Hover (Maus) und per Klick (Touch/Tastatur,
   siehe main.js). Bewusst ein <button> statt <details>: <details> verhindert
   aus unbekanntem Grund, dass ein absolut positioniertes Kind seine Höhe per
   Prozentwert (top:100%) gegen die Höhe des <details>-Elements auflöst (der
   Wert kam als 0px an) - ein normales Element in gleicher Flex-Umgebung
   hatte dieses Problem nicht. */
.lang-switch { position: relative; padding-bottom: 10px; flex-shrink: 0; }
.lang-switch__trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.88rem;
  font-weight: 400;
  font-family: inherit;
  color: var(--c-text);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.lang-switch__trigger::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.lang-switch.is-open .lang-switch__trigger::after,
.lang-switch:hover:not(.no-hover) .lang-switch__trigger::after { transform: rotate(-135deg); margin-top: 3px; }
.lang-switch__menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 64px;
  background: var(--c-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.lang-switch:hover:not(.no-hover) .lang-switch__menu,
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lang-switch__menu a {
  display: block;
  margin: 0 6px;
  padding: 8px 12px;
  border-radius: 3px;
  font-size: 0.88rem;
  color: #fff;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}
.lang-switch__menu a:hover { background: rgba(255, 255, 255, 0.15); }
.main-nav ul {
  display: flex;
  gap: 38px;
  list-style: none;
}
.main-nav a {
  font-weight: 300;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-text);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--c-blue); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--c-blue);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ---------- Hero ---------- */
.hero-img img { width: 100%; }

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  padding-top: 90px;
  padding-bottom: 0;
}
.hero-col .overline { margin-bottom: 0.9em; }
.hero-col p { margin-bottom: 1.6em; }

/* ---------- Wasser-Rahmen (Konzepte + Serie) ----------
   background.webp (2000x2609) ist eine transparente Overlay-Grafik
   mit drei Zonen. Sie wird in drei Ausschnitten verwendet:

     Zeile   30- 280  obere Wasseroberfläche   -> .water-wave--top
     Zeile  281-1939  Rechenzentrums-Dunst     -> .water-bg (dehnbar)
     Zeile 1940-2280  untere Wasseroberfläche  -> .water-wave--bottom

   Die Ausschnitte stoßen exakt aneinander (30-281 | 281-1940 |
   1940-2281), deshalb sind die Übergänge nahtlos. Zeile 0-29 und
   2281-2608 bleiben ungenutzt: transparenter Vorlauf bzw. reiner
   Weiß-Auslauf auf weißem Grund.

   Die beiden Wellen sind Bänder im normalen Fluss und nehmen
   Layoutplatz ein - sie rahmen den Inhalt ein, statt ihn zu
   überlagern. Die Abstände entstehen aus dem Sektionsraster
   (.section { padding: 72px 0 }); nur über dem oberen Band muss
   nachgeholfen werden, siehe margin-top.

   Alle drei Ausschnitte kommen aus derselben Datei: ein Request,
   kein Neukodieren, kein Qualitätsverlust.

   Rechenweg für die Prozentwerte, Ausschnitt ab Zeile R, Höhe H:
     background-size: 100% auto  ->  position-y = R / (2609 - H)
     gedehnt (Mitte)             ->  size-y     = 2609 / H
                                     position-y = (R / H) / (size-y - 1)
   Das sind reine Verhältnisse, also unabhängig von Viewportbreite
   und Inhaltshöhe - derselbe Ausschnitt bei jeder Größe.          */

/* Mitte: Zeile 281-1939, auf die Inhaltshöhe gedehnt */
.water-bg {
  background: url('../assets/img/background.webp') no-repeat center 29.5789% / 100% 157.2634%;
}

.water-wave {
  background-image: url('../assets/img/background.webp');
  background-repeat: no-repeat;
  background-size: 100% auto;
}
/* Welle oben - Zeile 30-280, Band über der Kreislauf-Headline.
   .hero-content bringt bereits 24px padding-bottom mit, die 48px
   ergeben zusammen die 72px des Sektionsrasters. */
.water-wave--top {
  aspect-ratio: 2000 / 251;
  background-position: center 1.2723%;
  margin-top: 48px;
}
/* Welle unten - eigene, bereits freigestellte Grafik
   (background_welle.webp, 2000x363, echte Alpha-Transparenz statt
   eines Ausschnitts aus background.webp).

   Anders als die obere Welle liegt sie rein dekorativ im Hintergrund
   (aria-hidden, position: absolute, z-index: -1) und nimmt dadurch
   KEINEN eigenen Layoutplatz mehr ein - der Abstand zwischen den
   Buttons und der Danfoss-Headline entsteht allein aus dem
   Sektions-Padding darüber/darunter. Die Welle wird mittig auf
   diese Nahtstelle gelegt und reicht durch ihre reale Alpha-
   Transparenz unauffällig sowohl in die Polsterung als auch etwas
   in die angrenzenden Inhalte hinein, ohne sie optisch zu stören. */
.water-wave-bg {
  position: relative;
  height: 0;
}
.water-wave--bottom {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: -1;
  aspect-ratio: 2000 / 363;
  background-image: url('../assets/img/background_welle.webp');
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}

/* ---------- Sektionen ---------- */
.section { padding: 72px 0; }

/* Ausnahme: Abstand um die Hintergrund-Welle (Buttons -> Welle ->
   Danfoss-Headline) bewusst größer als das übliche Sektionsraster,
   damit die Welle sichtbar Luft zu beiden Inhaltsblöcken hat. */
.section--series { padding-bottom: 100px; }
#produkte { padding-top: 100px; }

/* Abstand zwischen Vorteils-Slider und "Sicherheit und
   reproduzierbare Qualität" auf Wunsch verringert. */
.section--benefits { padding-bottom: 36px; }
.section--quality { padding-top: 36px; }


/* CTA-Buttons: einheitlicher Abstand zum vorherigen Inhalt.
   Vorher hatten Buttons je nach Kontext 24px, 34px oder 40px
   margin-top - historisch gewachsene Einzelwerte ohne erkennbaren
   Grund, die sich beim Scrollen als ungleichmäßiger Rhythmus
   bemerkbar machten. Jetzt einheitlich 40px.

   .btn ist inline-flex und kollabiert deshalb NICHT mit dem
   margin-bottom eines vorangehenden Absatzes (Margin-Collapsing
   gilt nur zwischen Block-Boxen) - ohne die Regel darunter würde
   sich die Absatz-Lücke zum margin-top addieren und den Button
   wieder aus der Reihe bringen. "body" erhöht die Spezifität
   bewusst über übliche Kontextregeln (z.B. ".quality-text p"),
   damit das unabhängig von der Position in der Datei zieht - sonst
   entscheidet bei gleicher Spezifität die Reihenfolge im Stylesheet. */
body p:has(+ .btn) { margin-bottom: 0; }
.btn { margin-top: 40px; }

/* ---------- Karten-Grids ---------- */
.card-grid { display: grid; gap: 32px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }

/* Bildkarten (Cooling-Konzepte) */
.img-card {
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.img-card img { width: 100%; aspect-ratio: 800 / 517; object-fit: cover; }
.img-card-body { padding: 26px 26px 30px; }
.img-card-body h3 { color: #1d1d1b; font-size: 1.08rem; margin-bottom: 0.7em; }

/* Textkarten (Vom Einzelteil bis zur Serie) */
.series-col { display: flex; flex-direction: column; align-items: flex-start; }
.text-card {
  background: #fff;
  box-shadow: var(--shadow);
  padding: 34px 36px 38px;
  width: 100%;
  flex: 1;
}
.text-card h3 { font-size: 1.35rem; margin-bottom: 0.9em; }
.text-card p { margin-bottom: 1.2em; }

/* Pfeil-Listen */
.arrow-list { list-style: none; }
.arrow-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.55em;
}
.arrow-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 11px;
  height: 13px;
  background: url('../assets/icons/arrow_blue.svg') no-repeat center / contain;
}

/* ---------- Portfolio Schläuche ---------- */
.portfolio-images { margin-bottom: 40px; }
.portfolio-images img { width: 100%; box-shadow: var(--shadow); }

.hose-card {
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.hose-card-img {
  background: var(--c-gray-bg);
  display: flex;
  align-items: center;
  min-height: 210px;
  overflow: hidden;
}
.hose-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hose-card-body {
  background: var(--c-blue);
  color: #fff;
  padding: 28px 30px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hose-card-body h3 { color: #fff; margin-bottom: 0.9em; }
.hose-card-body p { margin-bottom: 1.4em; }
.hose-card-link {
  margin-top: auto;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hose-card-link:hover { color: var(--c-lightblue); }

/* ---------- Akkordeons ---------- */
.accordion details {
  border-top: 1px solid var(--c-blue);
  overflow: hidden; /* nötig, damit main.js die Höhe während des Auf-/Zuklappens animieren kann */
}
.accordion details:last-child { border-bottom: 1px solid var(--c-blue); }
.accordion details:nth-child(odd)  { background: var(--c-gray-bg); }
.accordion details:nth-child(even) { background: #fff; }

.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #1d1d1b;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--c-blue); }
/* Produktname in "Technische Produktdetails" ist eine echte H3 (Barriere-
   freiheit: sonst Sprung von H2 direkt zu H4 in dieser Sektion, siehe die
   H4s in .acc-content) - Heading-Defaults hier neutralisiert, damit sich
   optisch nichts ändert. */
.accordion summary h3 { font: inherit; color: inherit; margin: 0; }

.acc-icon {
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid var(--c-blue);
  transition: transform 0.25s ease;
}
.accordion details[open] > summary .acc-icon { transform: rotate(180deg); }

.acc-content { padding: 6px 28px 34px; }
.acc-content p { margin-bottom: 1em; }
.acc-content p:last-child { margin-bottom: 0; }
.acc-content .arrow-list { margin-bottom: 1em; }

/* Technische Details: erstes Panel */
.detail-grid {
  display: grid;
  grid-template-columns: 240px repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.detail-grid h4 { color: #1d1d1b; margin-bottom: 0.6em; }
.spec-list { list-style: none; }
.spec-list li { position: relative; padding-left: 12px; }
.spec-list li + li { margin-top: 0.25em; }
.spec-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--c-blue);
}

/* ---------- Armaturentechnik ---------- */
/* Schlagschatten vereinheitlicht: .fitting-card war die einzige
   Karte auf der Seite ohne weißen Kartenkörper + var(--shadow) -
   .img-card, .text-card, .hose-card und .benefit-card nutzen das
   alle bereits einheitlich. */
.fitting-grid { row-gap: 48px; }
/* margin-top sitzt hier statt auf .btn selbst (die generische Regel
   ".btn { margin-top: 40px }" würde sonst die Flex-Ausrichtung mit dem
   OCP-Logo verschieben, da margin Teil der Cross-Axis-Box ist). */
.fittings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.fittings-footer .btn { margin-top: 0; }
.ocp-badge { height: 55px; width: auto; }
.fitting-card { background: #fff; box-shadow: var(--shadow); padding-bottom: 30px; }
.fitting-card h3 { color: #1d1d1b; font-size: 1.02rem; margin-bottom: 0.6em; padding: 0 22px; }
.fitting-card p { font-size: 0.98rem; padding: 0 22px; }
.fitting-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  margin-bottom: 22px;
  overflow: hidden;
}
.fitting-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Grauer Block ---------- */
.gray-block { background: var(--c-gray-bg); }

/* ---------- Vorteils-Slider ---------- */
.slider-wrap { position: relative; }
.slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 28px) / 5);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 24px;
}
.slider::-webkit-scrollbar { display: none; }

.benefit-card {
  scroll-snap-align: start;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 34px 22px 30px;
  text-align: center;
}
/* height statt width/height fix: die neuen Icons haben
   unterschiedliche Seitenverhältnisse (fast quadratisch bis
   deutlich hochformatig) und sind bereits eng auf ihren Inhalt
   zugeschnitten - eine feste Breite+Höhe würde die hochformatigen
   Icons (z.B. Dokumentation) sichtbar kleiner wirken lassen als
   die querformatigen. Mit fester Höhe und width:auto füllen alle
   Icons dieselbe Höhe aus und wirken einheitlich groß. */
.benefit-card img { margin: 0 auto 22px; width: auto; height: 84px; max-width: 100%; }
.benefit-card h3 { color: #1d1d1b; font-size: 1.02rem; margin-bottom: 0.6em; }
.benefit-card p { font-size: 0.95rem; }

.slider-nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 4px;
}
.slider-btn {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  opacity: 0.9;
  transition: opacity 0.15s ease;
}
.slider-btn:hover { opacity: 1; }
.slider-btn[disabled] { opacity: 0.3; cursor: default; }
.slider-btn--prev img { transform: rotate(180deg); }

/* ---------- Qualität / Zertifikate ---------- */
/* align-items: stretch (Default) statt start: quality-text ist durch
   zwei Absätze + Button spürbar länger als die vier Listenpunkte der
   cert-list. Mit "start" blieb darunter eine ungenutzte Lücke stehen,
   bevor die Sektion endete - "stretch" gibt cert-list dieselbe Höhe,
   justify-content: center darunter verteilt die ungenutzte Höhe
   gleichmäßig ÜBER und UNTER die vier Punkte, statt sie (wie bei
   space-between) mit großen Lücken dazwischen zu strecken. */
.quality-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
}

.partnership-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.partnership-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 15% center; /* Bild nach rechts verschoben, damit die Personen rechts im Original aus dem Ausschnitt fallen */
  box-shadow: var(--shadow); /* wie .portfolio-images img - dieselbe Rolle als große Content-Fotografie neben Text */
}
.partnership-text .overline { margin-bottom: 0.9em; }
.quality-text p { margin-bottom: 1.2em; }

.cert-list { list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.cert-list li { display: flex; gap: 20px; align-items: flex-start; }
.cert-list img { flex-shrink: 0; width: 44px; height: 44px; }
.cert-list h3 { color: #1d1d1b; font-size: 1.02rem; }
.cert-list p { font-size: 0.98rem; }

/* ---------- Team / Kontakt ---------- */
.team-grid { margin-bottom: 64px; }
.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 20px;
}
.team-card h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.team-card a { color: inherit; text-decoration: none; }
.team-card a:hover { color: var(--c-blue); text-decoration: underline; }

.offer-headline { font-size: 1.35rem; margin-bottom: 1.4em; }

.offer-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 28px;
  align-items: start;
}
.offer-step h4 { color: #1d1d1b; margin-bottom: 0.4em; }
.offer-arrow { align-self: center; }
.offer-arrow img { width: 44px; height: 44px; }

/* ---------- FAQ ---------- */
.accordion--faq { max-width: var(--container); }
/* section--faq bekommt die Hälfte des üblichen Section-Bottom-Paddings
   (36px statt 72px); margin-top gleich groß, damit der Text weiterhin
   mittig in der (jetzt kleineren) Lücke bis zum Footer sitzt. */
.section--faq { padding-bottom: 36px; }
.disclaimer { margin-top: 36px; font-size: 0.8rem; color: var(--c-gray-mid); }

/* ---------- Footer ---------- */
.site-footer {
  color: #fff;
  font-size: 16px;  /* wie im Original (schauenburg-industrietechnik.com: .footer{font-size:16px}) */
  font-weight: 400;  /* wie im Original: dort läuft der Footer-Text regulär (400) statt light (300) */
}
.site-footer strong { font-weight: 400; }  /* auch Firmenname/Zeilen-Labels bleiben regulär statt fett */
.footer-main { background: var(--c-footer); padding: 48px 0 56px; }

/* Nachgebaut nach der echten Spaltenmechanik von
   schauenburg-industrietechnik.com: 4 gleich breite Spalten ohne
   CSS-Gap zwischen den Boxen (dort: je 24% Breite, floated, 0 Gap).
   Der sichtbare Abstand zwischen den Spalten entsteht dort nicht
   durch ein Gap, sondern durch ein padding-left auf Spalte 2-4 (dort:
   14px, Klasse ".abstand") - Spalte 1 hat kein Padding und beginnt
   bündig am Container-Rand. Das erklärt auch, warum der Abstand
   zwischen Spalte 1 und 2 im Referenz-Screenshot kleiner wirkt als
   die übrigen Abstände: der Mechanismus ist überall identisch, nur
   der Textinhalt von Spalte 1 reicht dort zufällig näher an den
   rechten Rand ihrer Box heran.
   Der Effekt für uns: ohne Gap bleibt pro Spalte deutlich mehr Platz
   (303px bei 1260px Containerbreite statt 273px vorher) - genug für
   "www.schauenburg-industrietechnik.com" plus Pfeil in einer Zeile,
   ohne den Footer breiter als die normale Container-Breite zu machen. */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.footer-col:not(:first-child) { padding-left: 14px; }
/* 4 Spalten sind erst ab ca. 1250px wirklich breit genug für die
   längsten Links samt Pfeil in einer Zeile - darunter (bis zum
   allgemeinen 900px-Breakpoint) wurde es sonst eng bis auf 5 von 9
   Links umgebrochen sind. Eigene, frühere Schwelle nur für die
   Footer-Spalten, der übrige 900px-Breakpoint bleibt unverändert. */
@media (max-width: 1250px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-col:nth-child(2n+1) { padding-left: 0; }
  .footer-col:nth-child(2n) { padding-left: 14px; }
}
.footer-col p { margin-bottom: 1.4em; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }

.footer-logo { width: 240px; margin-bottom: 28px; }
.footer-logo--top { display: block; margin-bottom: 40px; }
.footer-brand { width: 172px; margin-bottom: 22px; }
.footer-brand--sbit { width: 185px; margin-top: 10px; }

.footer-link { color: var(--c-green); }
.footer-link--arrow::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 10px;
  margin-left: 7px;
  background-color: var(--c-green);
  -webkit-mask: url('../assets/icons/arrow_white.svg') no-repeat center / contain;
  mask: url('../assets/icons/arrow_white.svg') no-repeat center / contain;
}

.social-list {
  list-style: none;
  display: flex;
  gap: 14px;
  margin-top: 6px;
}
.social-list a { display: block; width: 40px; height: 40px; transition: transform 0.15s ease; }
.social-list a:hover { transform: scale(1.08); }
.social-list img { width: 100%; height: 100%; }

.footer-quicklinks { list-style: none; margin-top: 10px; }
.footer-quicklinks li { margin-bottom: 16px; }
.footer-quicklinks a { display: flex; align-items: center; gap: 12px; }
.ql-icon { display: block; width: 40px; height: 40px; flex-shrink: 0; }
.ql-icon img { width: 100%; height: 100%; }

/* Footer-Bottom: 1:1 nachgebaut nach dem realen Markup/CSS von
   schauenburg-industrietechnik.com (Klassen dort: .footer_bottom,
   .footer_bottom_inner, .copyright-bottom, .logo_schauenburg).
   Wichtigster Befund dabei: es gibt dort KEINE per CSS gezogene
   Trennlinie zwischen der Rechtliches-Zeile und der Copyright-Zeile -
   was im ersten Vergleichsscreenshot wie eine Linie aussah, ist die
   in der Originaldatei SB-IT_Fusszeile_EN2020_1300px.svg enthaltene
   <line>, die als Teil des unveränderten, ganzen Bildes mitkommt (bei
   der Absolut-Positionierung unten meist von der Globus-Grafik
   überdeckt, auf schmalen Viewports mit float sichtbar). Die Datei
   wird deshalb hier bewusst NICHT zugeschnitten, sondern komplett und
   unangetastet eingebunden, exakt wie im Original. */
.footer-bottom { background: var(--c-footer-dk); padding: 0 0 30px; }
/* overflow:hidden schneidet die Grafik links exakt an der
   Content-Kante ab: die Datei ist unskaliert 1212px breit, exakt so
   breit wie der Container-Inhaltsbereich (1260px - 2x24px Padding),
   wodurch ihr linker (leerer) Teil samt
   der darin enthaltenen Trennlinie sonst über den Textanfang
   ("Impressum") hinausragen würde. Hier und nicht am Grafik-Wrapper
   selbst, weil .footer-group-logo als einziges Kind nur das absolut
   positionierte img hat und daher 0px hoch wäre - overflow:hidden
   auf einer 0px-Box hätte die Grafik komplett verschwinden lassen. */
.footer-bottom-inner { position: relative; overflow: hidden; padding-top: 62px; padding-bottom: 15px; }
/* Clearfix: entspricht dem <br style="clear:both"> im Original-Markup.
   Bei der Absolut-Positionierung (Desktop) wirkungslos, aber ab dem
   680px-Breakpoint wird die Grafik gefloatet - ohne Clearing würde der
   navy Hintergrund vor ihrem unteren Ende enden. */
.footer-bottom-inner::after { content: ''; display: table; clear: both; }
.footer-legal { list-style: none; }
.footer-legal li {
  display: inline-block;
  font-size: 16px;
  padding: 0 10px 0 9px;
  border-left: 1px solid #fff;
  line-height: 1.4em;
}
.footer-legal li:first-child { border-left: none; padding-left: 0; }
.footer-legal a { color: #fff; text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.footer-copyright { font-size: 14px; color: #fff; padding-top: 15px; margin: 0; }
.footer-group-logo { position: relative; z-index: 1; }
.footer-group-logo img {
  position: absolute;
  bottom: 8px;
  right: 0;
  width: 1212px;
  max-width: none;
  pointer-events: none; /* rein dekorativ, liegt über .footer-legal und würde sonst Klicks auf die Links blockieren */
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .card-grid--4, .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .slider { grid-auto-columns: calc((100% - 2 * 28px) / 3); }
  .detail-grid { grid-template-columns: 200px repeat(2, 1fr); }
  .detail-grid > img { grid-row: span 2; }
}

@media (max-width: 900px) {
  :root { --header-h: 84px; }

  /* Mobile Navigation */
  .nav-toggle { display: flex; }
  .header-logo img { width: 180px; }
  .header-right { gap: 0; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 20px;
  }
  .main-nav li { border-bottom: 1px solid var(--c-gray-bg); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a {
    display: block;
    padding: 15px 4px;
    font-size: 1.1rem;
  }
  body.nav-open .main-nav { max-height: 400px; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .section { padding: 56px 0; }
  .section--faq { padding-bottom: 28px; }
  .disclaimer { margin-top: 28px; }

  .hero-content { grid-template-columns: 1fr; gap: 24px; }
  .hero-img img { min-height: 180px; object-fit: cover; object-position: center bottom; }

  .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
  .series-col .btn { margin-top: 24px; margin-bottom: 8px; }

  .quality-grid { grid-template-columns: 1fr; gap: 48px; }

  .partnership-grid { grid-template-columns: 1fr; gap: 32px; }
  .partnership-img { order: 2; }
  .partnership-text { order: 1; }

  .slider { grid-auto-columns: calc((100% - 28px) / 2); }

  .detail-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-grid > img { grid-row: auto; margin: 0 auto; }

  .offer-steps { grid-template-columns: 1fr; gap: 20px; }
  .offer-arrow { justify-self: center; }
  .offer-arrow img { transform: rotate(90deg); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }

  .header-phone { display: none; }
  .header-logo img { width: 160px; }

  .card-grid--4, .card-grid--5 { grid-template-columns: 1fr; }
  .fitting-img { height: auto; min-height: 120px; }

  .slider { grid-auto-columns: 86%; }

  /* Der horizontal scrollbare Slider liegt teils außerhalb des
     Viewports; die Scroll-Reveal-Animation (siehe main.js) würde die
     Karten erst beim horizontalen Wischen einzeln einblenden, statt
     dass alle Icons von Anfang an fertig geladen wirken. */
  #benefitSlider > .benefit-card.reveal { opacity: 1; transform: none; transition: none; }

  .team-grid { grid-template-columns: 1fr; }
  .team-card { text-align: center; }
  .team-card img { max-width: 320px; margin-left: auto; margin-right: auto; }

  .accordion summary { padding: 18px 18px; font-size: 1rem; }
  .acc-content { padding: 4px 18px 26px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:nth-child(n) { padding-left: 0; }
}

/* Eigene, vom übrigen Layout unabhängige Breakpoints für die Fußzeilen-Grafik,
   exakt wie im Original (.logo_schauenburg img), statt der Seiten-eigenen
   900px/560px-Raster. */
@media (max-width: 1140px) {
  .footer-group-logo img { bottom: 5px; }
}

@media (max-width: 680px) {
  /* Die Grafik verlässt die Absolut-Positionierung und wird stattdessen
     rechtsbündig eingeflossen; überschüssige Breite links ragt einfach
     unsichtbar über den linken Rand hinaus (kein overflow:hidden nötig,
     negativer Overflow erzeugt in keinem Browser eine Scrollbar). */
  .footer-group-logo img { position: relative; bottom: auto; float: right; }
}

/* ---------- Scroll-Reveal ----------
   .reveal wird per JS (main.js) auf Überschriften, Intro-Absätze und
   Karten-Grid-Kinder gesetzt; ein IntersectionObserver ergänzt beim
   Eintritt ins Sichtfeld die Klasse .is-visible. transition-delay je
   Element wird ebenfalls per JS als inline style gesetzt (Stagger
   innerhalb eines Grids), deshalb hier nur die Basis-Transition. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
