/* Portex GmbH – Design-System (gleicher Aufbau wie Planex, Markenfarbe Blau) */

/* Schriften: lokal gehostet, keine externen Server */
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --blau: #073369;         /* Markenfarbe aus dem bisherigen Auftritt */
  --blau-dunkel: #052449;
  --creme: #FBFAF7;        /* ruhiger, heller Grund */
  --sand: #ECE9E2;
  --messing: #A8875A;      /* nur für feine Akzente */
  --messing-text: #806238; /* dunklere Variante für kleine Schrift auf hellem Grund, gut lesbar */
  --messing-hell: #D4B98F; /* hellere Variante für Akzente auf Blau */
  --text: #18212E;
  --text-leise: #535E6E;
  --linie: #D9D5CC;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --breite: 1160px;
  --rand: clamp(1.25rem, 4vw, 2.5rem);
  --abstand: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--blau-dunkel); }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; color: var(--blau-dunkel); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.4rem; font-weight: 500; }
h1 em, h2 em { font-style: italic; color: var(--blau); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.section { padding: var(--abstand) 0; }
.section--sand { background: var(--sand); }
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--messing-text); margin-bottom: 1.1rem;
}
.kicker::before { content: ""; width: 2rem; height: 1px; background: var(--messing); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-leise); max-width: 38rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blau); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  background: var(--blau); color: #fff; border: 1px solid var(--blau); border-radius: var(--radius);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--blau-dunkel); color: #fff; transform: translateY(-1px); }
.btn .pfeil { transition: transform .25s ease; }
.btn:hover .pfeil { transform: translateX(3px); }
.btn--hell { background: var(--creme); color: var(--blau-dunkel); border-color: var(--creme); }
.btn--hell:hover { background: #fff; color: var(--blau-dunkel); }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--linie); padding-bottom: 2px; transition: border-color .25s; }
.textlink:hover { border-color: var(--blau); }
:focus-visible { outline: 2px solid var(--messing); outline-offset: 3px; }

/* Kopfleiste: blauer Streifen über die ganze Breite, Logo in Weiß */
.header { position: sticky; top: 0; z-index: 50; background: var(--blau); border-bottom: 1px solid transparent; transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 10px 24px -16px rgba(5,36,73,.55); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }

/* Logo */
.logo { display: inline-block; line-height: 0; }
.logo img { width: 150px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a:not(.btn) { color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .98rem; position: relative; padding: .4rem 0; transition: color .25s; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { color: #fff; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--messing); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 44px; padding: .7rem 1.25rem; background: var(--creme); color: var(--blau-dunkel); border-color: var(--creme); }
.nav .btn:hover { background: #fff; color: var(--blau-dunkel); }
.menu-btn { display: none; width: 48px; height: 48px; background: none; border: 0; cursor: pointer; padding: 12px; margin-right: -12px; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bild-Platzhalter: feste Seitenverhältnisse, Symbol in der Mitte */
.bild {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--blau);
  display: grid; place-items: center;
}
.bild::before { /* feine Fahrbahnlinien als ruhiges Muster */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 44px 100%;
}
.bild::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  background: repeating-linear-gradient(to bottom, rgba(168,135,90,.45) 0 26px, transparent 26px 52px);
}
.bild svg { position: relative; z-index: 1; width: clamp(56px, 24%, 104px); height: auto; stroke-width: 1.4; color: rgba(255,255,255,.88); background: var(--blau); padding: 10px; border-radius: 50%; box-sizing: content-box; }
.bild__hinweis { position: absolute; z-index: 1; left: 1rem; bottom: .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-1-1 { aspect-ratio: 1 / 1; }

/* Echte Fotos (sobald vorhanden): Muster ausblenden, ruhiger Zoom */
.bild--foto { background: var(--sand); }
.bild--foto::before, .bild--foto::after { display: none; }
.bild--foto img { filter: saturate(.92); transition: transform 1.4s ease; }
.bild--foto:hover img { transform: scale(1.03); }

/* Startseite: Kopfbereich */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 var(--abstand); }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 2rem; }

/* Leistungen im Überblick */
.kopf { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.kopf h2 { margin: 0; max-width: 32rem; }
.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
.kachel { background: var(--creme); padding: 2rem 1.7rem 2.2rem; text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: background-color .3s ease; }
.kachel:hover { background: #fff; color: var(--text); }
.kachel__nr { font-family: var(--serif); font-style: italic; color: var(--messing-text); margin-bottom: 1.4rem; }
.kachel h3 { margin-bottom: .5rem; }
.kachel p { color: var(--text-leise); margin: 0 0 1.5rem; }
.kachel__mehr { margin-top: auto; font-weight: 600; color: var(--blau); font-size: .95rem; }
.kachel__mehr .pfeil { display: inline-block; transition: transform .25s; }
.kachel:hover .kachel__mehr .pfeil { transform: translateX(4px); }

/* Ablauf */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: s; }
.schritt { position: relative; padding-top: 2.4rem; }
.schritt::before { content: ""; position: absolute; top: .55rem; left: 0; right: -2rem; height: 1px; background: var(--linie); }
.schritt:last-child::before { right: 0; }
.schritt::after { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; background: var(--sand); padding-right: .8rem; font-family: var(--serif); font-style: italic; color: var(--messing-text); line-height: 1.1; }
.schritt h3 { font-size: 1.25rem; }
.schritt p { color: var(--text-leise); margin: 0; font-size: 1rem; }

/* Zweispaltig mit Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split--umgekehrt .split__bild { order: 2; }
.werte { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.werte li { padding-left: 1.4rem; border-left: 2px solid var(--messing); }
.werte strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--blau-dunkel); }
.werte span { color: var(--text-leise); }

/* Fuhrpark: Gewichtsklassen und Aufbauten */
.marken { display: flex; flex-wrap: wrap; gap: .7rem; list-style: none; padding: 0; margin: 1.8rem 0 2rem; }
.marken li { border: 1px solid var(--linie); border-radius: 999px; padding: .45rem 1.1rem; font-weight: 600; font-size: .95rem; color: var(--blau-dunkel); background: #fff; }
.aufbauten { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 0; }
.aufbauten div { border-top: 2px solid var(--blau); padding-top: 1rem; }
.aufbauten dt { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--blau-dunkel); }
.aufbauten dd { margin: .3rem 0 0; color: var(--text-leise); }

/* Einsatzgebiet: kompaktes Band */
.gebiet { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.gebiet h2 { margin: 0; }
.gebiet .marken { margin: 0 0 1rem; }
.gebiet p { color: var(--text-leise); margin: 0; }

/* Kundenstimmen */
.stimmen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); }
.stimme { margin: 0; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.8rem 1.7rem 1.6rem; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.stimme:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -22px rgba(5,36,73,.45); }
.stimme blockquote { margin: 0 0 1.4rem; }
.stimme blockquote::before { content: "„"; display: block; font-family: var(--serif); font-size: 3rem; line-height: .6; color: var(--messing); margin-bottom: .6rem; }
.stimme p { margin: 0; }
.stimme figcaption { margin-top: auto; font-weight: 600; color: var(--blau-dunkel); font-size: .95rem; }

/* Abschluss mit Handlungsaufforderung */
.abschluss { background: var(--blau); color: #E6ECF4; padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.abschluss::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 100%; }
.abschluss .container { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.abschluss h2 { color: #fff; margin-bottom: .3em; }
.abschluss p { margin: 0; max-width: 34rem; }

/* Unterseiten */
.seitenkopf { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { max-width: 46rem; }
.seitenkopf--bild .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }

.leistung { display: grid; grid-template-columns: 5rem 1fr 1fr; gap: 2rem clamp(2rem, 5vw, 4rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--linie); scroll-margin-top: 100px; }
.leistung__nr { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--messing); line-height: 1.2; }
.leistung h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.leistung p { color: var(--text-leise); }
.haken { list-style: none; margin: 0; padding: 0; }
.haken li { position: relative; padding: .75rem 0 .75rem 2rem; border-bottom: 1px solid var(--linie); }
.haken li:first-child { border-top: 1px solid var(--linie); }
.haken li::before { content: ""; position: absolute; left: .2rem; top: 1.2rem; width: .75rem; height: .4rem; border-left: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: rotate(-45deg); }

/* Über uns: zwei Werte und Fakten */
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); }
.zwei > div { padding-left: 1.4rem; border-left: 2px solid var(--messing); }
.zwei p { color: var(--text-leise); margin: 0; }
.fakten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); margin: 0; }
.fakten div { background: var(--creme); padding: 1.6rem 1.5rem; }
.fakten dt { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--messing-text); }
.fakten dd { margin: .5rem 0 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--blau-dunkel); }

/* Kontakt */
.kontakt-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.4rem; }
.feld { display: flex; flex-direction: column; gap: .4rem; }
.feld--breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; font-size: .95rem; }
.feld label small { font-weight: 400; color: var(--text-leise); }
.feld input, .feld select, .feld textarea {
  font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--linie); border-radius: var(--radius);
  padding: .8rem .9rem; min-height: 50px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.feld textarea { min-height: 160px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(7,51,105,.12); }
.formular__gruppe { grid-column: 1 / -1; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-text); margin: .8rem 0 -.2rem; }
.formular__gruppe:first-of-type { margin-top: 0; }
.check { grid-column: 1 / -1; display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--text-leise); }
.check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--blau); flex-shrink: 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.formular__fuss { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.meldung { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: var(--radius); display: none; }
.meldung.ok { display: block; background: #E3EAF3; color: var(--blau-dunkel); border-left: 3px solid var(--blau); }
.meldung.fehler { display: block; background: #F4E6E1; color: #6B2B1E; border-left: 3px solid #A5482F; }
.kontaktkarte { background: var(--sand); padding: 2rem; border-radius: var(--radius); }
.kontaktkarte h2 { font-size: 1.5rem; }
.kontaktkarte dl { margin: 0; }
.kontaktkarte dt { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--messing-text); margin-top: 1.3rem; }
.kontaktkarte dd { margin: .2rem 0 0; }
.kontaktkarte a { font-weight: 600; text-decoration: none; }
.warnung { margin-top: 1.5rem; background: #fff; border-left: 3px solid var(--messing); padding: 1rem 1.2rem; font-size: .95rem; border-radius: var(--radius); }
.warnung strong { color: var(--blau-dunkel); }
.warnung p { margin: .4rem 0 0; color: var(--text-leise); }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.rechtstext h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.hinweis { background: var(--sand); border-left: 3px solid var(--messing); padding: 1rem 1.2rem; margin-bottom: 2rem; font-size: .98rem; }
.platzhalter { background: #F3E9CF; padding: 0 .3em; border-radius: 2px; }

/* Fußbereich */
.footer { background: var(--blau-dunkel); color: #C5D0DE; padding: 4rem 0 2rem; font-size: .98rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .logo { margin-bottom: 1.4rem; }
.footer .logo img { width: 160px; }
.footer h2 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer address { font-style: normal; }
.footer__unten { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .9rem; color: #93A3B8; }

/* Sanftes Einblenden */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* Lange deutsche Wörter sauber umbrechen */
h3 { hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3 { overflow-wrap: break-word; }
.kacheln > *, .split > *, .kontakt-grid > *, .gebiet > *, .stimmen > * { min-width: 0; }

/* Menü: ab Tablet-Breite als aufklappbare Liste */
@media (max-width: 1000px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--blau);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--rand) 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 26px -16px rgba(5,36,73,.55);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav a[aria-current="page"]:not(.btn) { color: #fff; box-shadow: inset 3px 0 0 var(--messing); padding-left: .9rem; }
  .nav .btn { margin-top: 1.2rem; min-height: 52px; }
}

/* Leistungsseite: Übersicht mit Sprungmarken im Kopfbereich */
.sprung { background: var(--sand); border-radius: var(--radius); padding: 1.6rem 1.8rem 1.2rem; }
.sprung__titel { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-text); margin: 0 0 .6rem; }
.sprung ol { list-style: none; margin: 0; padding: 0; }
.sprung li + li { border-top: 1px solid var(--linie); }
.sprung a { display: flex; align-items: baseline; gap: 1rem; padding: .75rem 0; color: var(--blau-dunkel); font-weight: 600; text-decoration: none; transition: color .25s, transform .25s; }
.sprung a span { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--messing-text); min-width: 1.6rem; }
.sprung a:hover { color: var(--blau); transform: translateX(4px); }

/* Tablet */
@media (max-width: 960px) {
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schritte { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .schritt:nth-child(2)::before { right: 0; }
  .leistung { grid-template-columns: 4rem 1fr; }
  .leistung .haken { grid-column: 2; }
  .stimmen { grid-template-columns: 1fr; max-width: 40rem; }
  .fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gebiet { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* Handy: eigener Design-Durchgang */
@media (max-width: 760px) {
  body { font-size: 1rem; }
  .header__inner { height: 68px; }
  .logo img { width: 124px; }

  /* Kopfbereich: Text zuerst, Bild als flaches Band darunter */
  .hero .btn { width: 100%; }

  .kopf { flex-direction: column; align-items: start; margin-bottom: 2rem; gap: 1rem; }
  /* Kacheln werden zu einer kompakten Liste, Beschreibung fällt weg */
  .kacheln { grid-template-columns: minmax(0, 1fr); }
  .kachel { padding: 1.2rem; flex-direction: row; align-items: baseline; gap: 1rem; }
  .kachel__nr { margin: 0; }
  .kachel h3 { margin: 0; font-size: 1.15rem; flex: 1; }
  .kachel p, .kachel__mehr span:first-child { display: none; }
  .kachel__mehr { margin: 0; }

  /* Ablauf als senkrechte Linie */
  .schritte { grid-template-columns: 1fr; gap: 0; }
  .schritt { padding: 0 0 2rem 3rem; }
  .schritt::before { top: .4rem; bottom: 0; left: .7rem; right: auto; width: 1px; height: auto; }
  .schritt:nth-child(2)::before, .schritt:last-child::before { right: auto; }
  .schritt:last-child { padding-bottom: 0; }
  .schritt:last-child::before { display: none; }
  .schritt::after { padding: 0 0 .3rem; }

  .split, .seitenkopf--bild .container, .kontakt-grid, .zwei { grid-template-columns: 1fr; }
  .split__bild--weg { display: none; } /* dekoratives Bild entfällt auf dem Handy */
  .split--umgekehrt .split__bild { order: 0; }
  .zwei { gap: 2rem; }
  .aufbauten { grid-template-columns: 1fr; gap: 1.2rem; }
  .fakten div { padding: 1.2rem 1.1rem; }
  .fakten dd { font-size: 1.1rem; }

  .leistung { grid-template-columns: 1fr; gap: 1rem; }
  .leistung .haken { grid-column: auto; }
  .leistung__nr { font-size: 1.2rem; }

  .stimme { padding: 1.4rem 1.3rem 1.3rem; }

  .abschluss .container { flex-direction: column; align-items: stretch; }
  .abschluss .btn { width: 100%; }

  .formular { grid-template-columns: 1fr; }
  .formular__fuss .btn { width: 100%; }
  .kontaktkarte { padding: 1.5rem; }
  .sprung { padding: 1.2rem 1.3rem .8rem; }
  .sprung a { padding: .65rem 0; }

  .footer { padding-top: 3rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__unten { flex-direction: column; }
}

/* Über uns: Einblicke (drei Fotos) */
.galerie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .galerie > :last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .galerie > :last-child img { object-position: 50% 36%; }
}

/* Kleine Hilfsklassen (statt Angaben direkt im HTML) */
.section--anschluss { padding-top: 0; }
.mehr { margin-top: 2rem; }
.leise { color: var(--text-leise); margin: 0; }
.leistung--letzte { border-bottom: 0; }
.stand { margin-top: 2.5rem; color: var(--text-leise); }
h2[id] { scroll-margin-top: 100px; }

/* Hinweis zu Cookies */
.cookie {
  position: fixed; left: var(--rand); bottom: var(--rand); z-index: 60;
  width: min(25rem, calc(100% - 2 * var(--rand)));
  background: #fff; color: var(--text);
  border: 1px solid var(--linie); border-top: 3px solid var(--blau); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(5, 36, 73, .45);
  padding: 1.25rem 1.4rem 1.4rem;
  font-size: .95rem; line-height: 1.55;
  animation: cookie-ein .5s ease both;
}
.cookie__titel { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; color: var(--blau-dunkel); margin: 0 0 .45rem; }
.cookie p { margin: 0 0 1rem; }
.cookie__knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.4rem;
  background: transparent; color: var(--blau); border: 1px solid var(--blau); border-radius: var(--radius);
  font: inherit; font-weight: 600; cursor: pointer; transition: background-color .2s ease, color .2s ease;
}
.cookie__knopf:hover { background: var(--blau); color: #fff; }
.cookie.weg { opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
@keyframes cookie-ein { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.menu-open .cookie { display: none; }
@media (max-width: 760px) {
  .cookie { left: 0; bottom: 0; width: 100%; border-width: 3px 0 0; border-radius: 0; padding: 1.1rem var(--rand) 1.2rem; }
  .cookie__knopf { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } }

/* Fehlerseite */
.fehlerseite { max-width: 46rem; padding-top: 1rem; padding-bottom: 1rem; }
.fehlerseite__links { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; }

/* Drucken: nur der Inhalt, ohne Menü und Hinweise */
@media print {
  .header, .menu-btn, .skip, .cookie, .abschluss, .footer__grid > div:last-child { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .section { padding: 1.5rem 0; }
  .footer { background: #fff; color: #000; padding: 1rem 0 0; border-top: 1px solid #999; }
  .footer .logo { display: none; }
  a { color: #000; }
}

/* Startseite: großer Einstieg auf Blau */
.hero--gross { position: relative; padding: 0; background: var(--blau); color: rgba(255,255,255,.84); overflow: hidden; isolation: isolate; }
.hero--gross::before { content: ""; position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 100%; }
.hero__bild { position: absolute; top: 0; right: 0; bottom: clamp(3rem, 7vw, 5.5rem); width: 44%; z-index: -1; overflow: hidden; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; animation: hero-bild 1.8s ease both; }
.hero__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blau) 0%, rgba(7,51,105,.6) 12%, rgba(7,51,105,0) 40%), linear-gradient(0deg, rgba(5,36,73,.4) 0%, rgba(5,36,73,0) 30%); }
@keyframes hero-bild { from { transform: scale(1.06); } to { transform: none; } }
.hero__inhalt { min-height: min(86vh, 760px); display: flex; align-items: center; padding-top: clamp(4rem, 8vw, 6rem); padding-bottom: clamp(7rem, 11vw, 9rem); }
.hero__text { max-width: 40rem; }
.hero--gross h1 { color: #fff; font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.05; margin-bottom: .5em; }
.hero--gross h1 em { color: var(--messing-hell); }
.hero--gross .lead { color: rgba(255,255,255,.82); max-width: 33rem; margin-bottom: 2.2rem; }
.hero__marke { display: inline-flex; align-items: center; gap: .7rem; margin: 0 0 1.6rem; padding: .45rem 1rem .45rem .85rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.06); font-size: .9rem; font-weight: 600; color: #fff; }
.hero__punkt { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--messing-hell); }
.hero__punkt::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--messing-hell); animation: puls 2.6s ease-out infinite; }
@keyframes puls { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* Kennzahlen, die über den Einstieg ragen */
.kennzahlen-rahmen { position: relative; z-index: 2; margin-top: clamp(-5.5rem, -7vw, -3rem); }
.kennzahlen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-top: 3px solid var(--messing); border-radius: var(--radius); box-shadow: 0 24px 50px -28px rgba(5, 36, 73, .45); }
.kennzahlen li { display: flex; flex-direction: column; gap: .35rem; padding: 1.6rem 1.7rem 1.7rem; }
.kennzahlen li + li { border-left: 1px solid var(--linie); }
.kennzahlen strong { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2.1vw, 1.75rem); line-height: 1.15; color: var(--blau-dunkel); }
.kennzahlen span { font-size: .95rem; line-height: 1.45; color: var(--text-leise); }

/* Spezialität: regelmäßige Transporte */
.spezial { padding-top: clamp(4.5rem, 8vw, 7rem); }
.spezial__kopf { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.spezial__kopf h2 { margin: 0; }
.spezial__kopf p { margin: 0; color: var(--text-leise); font-size: 1.08rem; }
.spezial__bild { position: relative; margin-bottom: clamp(5rem, 8vw, 6.5rem); }
.spezial__bild .bild { aspect-ratio: 2 / 1; }
.spezial__bild img { object-position: 40% 60%; }
.plan { position: absolute; right: clamp(1.5rem, 4vw, 3rem); bottom: -3rem; width: min(23rem, 80%); background: var(--blau-dunkel); color: #fff; border-radius: var(--radius); padding: 1.35rem 1.5rem 1.5rem; box-shadow: 0 24px 50px -24px rgba(5, 36, 73, .6); }
.plan__titel { font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; margin: 0 0 1rem; color: #fff; }
.plan__raster { display: grid; grid-template-columns: auto repeat(5, minmax(0, 1fr)); align-items: center; gap: .75rem .3rem; }
.plan__tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #93A3B8; text-align: center; }
.plan__zeile { font-size: .88rem; color: #C5D0DE; padding-right: .8rem; white-space: nowrap; }
.plan i { justify-self: center; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); }
.plan i.an { background: var(--messing-hell); border-color: var(--messing-hell); }
.spezial__bild.reveal .plan i.an { opacity: 0; transform: scale(.3); transition: opacity .45s ease, transform .45s ease; }
.spezial__bild.reveal.sichtbar .plan i.an, .no-js .spezial__bild .plan i.an { opacity: 1; transform: none; }
.spezial__bild .plan i:nth-of-type(1) { transition-delay: 0.41s; }
.spezial__bild .plan i:nth-of-type(2) { transition-delay: 0.47s; }
.spezial__bild .plan i:nth-of-type(3) { transition-delay: 0.53s; }
.spezial__bild .plan i:nth-of-type(4) { transition-delay: 0.59s; }
.spezial__bild .plan i:nth-of-type(5) { transition-delay: 0.65s; }
.spezial__bild .plan i:nth-of-type(6) { transition-delay: 0.71s; }
.spezial__bild .plan i:nth-of-type(7) { transition-delay: 0.77s; }
.spezial__bild .plan i:nth-of-type(8) { transition-delay: 0.83s; }
.spezial__bild .plan i:nth-of-type(9) { transition-delay: 0.89s; }
.spezial__bild .plan i:nth-of-type(10) { transition-delay: 0.95s; }
.spezial__bild .plan i:nth-of-type(11) { transition-delay: 1.01s; }
.spezial__bild .plan i:nth-of-type(12) { transition-delay: 1.07s; }
.spezial__bild .plan i:nth-of-type(13) { transition-delay: 1.13s; }
.spezial__bild .plan i:nth-of-type(14) { transition-delay: 1.19s; }
.spezial__bild .plan i:nth-of-type(15) { transition-delay: 1.25s; }
.vorteile { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.vorteile li { padding-left: 1.4rem; border-left: 2px solid var(--messing); }
.vorteile strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.25; color: var(--blau-dunkel); margin-bottom: .45rem; }
.vorteile span { color: var(--text-leise); }
.spezial__mehr { margin: 2.6rem 0 0; }

@media (max-width: 900px) {
  .hero--gross { display: flex; flex-direction: column; padding-bottom: 2.5rem; }
  .hero__inhalt { order: 1; min-height: 0; padding-top: 2.8rem; padding-bottom: 2.8rem; }
  .hero__bild { order: 2; position: relative; bottom: auto; width: 100%; aspect-ratio: 4 / 3; z-index: 0; }
  .hero__bild::after { background: linear-gradient(180deg, var(--blau) 0%, rgba(7, 51, 105, 0) 26%); }
  .hero__bild img { object-position: 50% 82%; }
  .kennzahlen-rahmen { margin-top: -2.5rem; }
  .kennzahlen { grid-template-columns: 1fr 1fr; }
  .kennzahlen li + li { border-left: 0; }
  .kennzahlen li:nth-child(even) { border-left: 1px solid var(--linie); }
  .kennzahlen li:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .spezial__kopf { grid-template-columns: 1fr; align-items: start; gap: 1.2rem; }
  .vorteile { grid-template-columns: 1fr; gap: 1.6rem; }
}
@media (max-width: 760px) {
  .hero--gross .btn { width: 100%; }
  .hero__marke { font-size: .82rem; margin-bottom: 1.3rem; }
  .kennzahlen li { padding: 1.1rem 1rem 1.2rem; }
  .kennzahlen strong { font-size: 1.2rem; }
  .kennzahlen span { font-size: .86rem; }
  .spezial__bild { margin-bottom: 3rem; }
  .spezial__bild .bild { aspect-ratio: 4 / 3; }
  .spezial__bild img { object-position: 34% 60%; }
  .plan { position: relative; right: auto; bottom: auto; width: auto; margin: -2.2rem .9rem 0; padding: 1.2rem 1.2rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bild img, .hero__punkt::after { animation: none; }
}
@media print {
  .hero--gross { background: #fff; color: #000; }
  .hero__bild, .kennzahlen-rahmen, .plan { display: none; }
  .hero--gross h1, .hero--gross .lead { color: #000; }
}

/* Leistungen: Schwerpunkt hervorheben */
.leistung__marke { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 .7rem; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--messing-text); }
.leistung__marke::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--messing); }
.leistung--schwerpunkt h2 { color: var(--blau); }
