/* ============================================================
   Keller Tor-Systeme, Startseite V2
   Dunkel, fotografisch, Logo-Orange #F49712 als Signal.
   Schräge aus dem Logo (Parallelogramm) als Bild- und CTA-Kante.
   Schriften lokal: Archivo (Überschriften), Inter (Text).
   ============================================================ */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --nacht: #0e0f11;
  --kohle: #15161a;
  --stahl: #1e2024;
  --linie-d: rgba(255, 255, 255, .12);
  --linie-d2: rgba(255, 255, 255, .24);
  --text-d: rgba(255, 255, 255, .74);
  --text-d2: rgba(255, 255, 255, .52);
  --weiss: #ffffff;
  --orange: #F49712;
  --orange-tief: #B86E00;
  --orange-hell: #FFB24A;
  --papier: #F7F5F0;
  --kreide: #ECE8DF;
  --ink: #141518;
  --grau: #55585e;
  --linie-h: #D9D4CA;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --header-h: 78px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --schraeg: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); overflow-x: clip; background: var(--nacht); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.7; color: var(--text-d); background: var(--nacht); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { font-family: var(--display); color: var(--weiss); margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5.9rem); font-weight: 820; line-height: .98; letter-spacing: -.035em; }
h2 { font-size: clamp(2.05rem, 3.7vw, 3.8rem); font-weight: 790; line-height: 1.02; letter-spacing: -.028em; }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.45rem); font-weight: 720; line-height: 1.2; letter-spacing: -.012em; }
strong { font-weight: 650; color: inherit; }

.container { width: min(100% - 2.8rem, var(--container)); margin-inline: auto; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.28rem); line-height: 1.6; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: var(--orange); color: var(--ink); padding: .7rem 1.2rem; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Buttons und Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 56px; padding: 0 2.1rem 0 1.7rem;
  font-family: var(--text); font-size: 1rem; font-weight: 700; letter-spacing: .005em;
  color: var(--ink); background: var(--orange); text-decoration: none; white-space: nowrap;
  border: 0; cursor: pointer;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--weiss); }
.btn--dunkel { background: var(--ink); color: var(--weiss); }
.btn--dunkel:hover { background: var(--weiss); color: var(--ink); }
.btn:disabled { opacity: .6; cursor: wait; }
.tel { font-family: var(--display); font-weight: 760; font-size: 1.45rem; letter-spacing: -.01em; color: var(--weiss); text-decoration: none; white-space: nowrap; }
.tel:hover { color: var(--orange); }
.link {
  display: inline-block; font-weight: 650; text-decoration: none; color: inherit;
  background-image: linear-gradient(var(--orange), var(--orange)); background-size: 100% 2px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease), color .2s; cursor: pointer;
}
.link:hover { background-size: 100% 100%; color: var(--ink); }
.aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2.2rem; }

/* ---------- Kopfzeile ---------- */
.kopf { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: rgba(14, 15, 17, .94); border-bottom: 1px solid var(--linie-d); transition: background .3s; }
@supports (backdrop-filter: blur(8px)) { .kopf { background: rgba(14, 15, 17, .82); backdrop-filter: saturate(140%) blur(12px); } }
.kopf-inner { display: flex; align-items: center; gap: 1.8rem; height: 100%; }
.logo { display: block; flex-shrink: 0; }
.logo img { width: 128px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .55rem .78rem; font-size: .92rem; font-weight: 560; color: rgba(255, 255, 255, .82); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--weiss); }
.nav .nav-karriere a { margin-left: .5rem; padding: .6rem 1.3rem .6rem 1rem; background: var(--orange); color: var(--ink); font-weight: 700; clip-path: polygon(0 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.nav .nav-karriere a:hover { background: var(--weiss); }
.kopf-tel { font-family: var(--display); font-weight: 760; font-size: 1.12rem; color: var(--weiss); text-decoration: none; white-space: nowrap; }
.kopf-tel:hover { color: var(--orange); }
.nav-knopf { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; margin-left: auto; }
.nav-knopf span, .nav-knopf span::before, .nav-knopf span::after { content: ""; position: absolute; left: 11px; width: 24px; height: 2px; background: var(--weiss); transition: transform .3s var(--ease), background .2s; }
.nav-knopf span { top: 22px; }
.nav-knopf span::before { left: 0; top: -7px; }
.nav-knopf span::after { left: 0; top: 7px; }
.nav-knopf[aria-expanded="true"] span { background: transparent; }
.nav-knopf[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-knopf[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero mit Sektionaltor ---------- */
.hero { background: var(--nacht); padding-top: var(--header-h); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 41fr) minmax(0, 59fr);
  grid-template-areas: "text bild";
  min-height: clamp(560px, calc(100svh - var(--header-h) - 122px), 840px);
}
.hero-text {
  grid-area: text; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.4rem, 3.6vw, 4rem) clamp(2.6rem, 4.4vw, 4.4rem) max(1.4rem, calc((100vw - var(--container)) / 2));
}
.hero h1 { max-width: 12.5ch; font-size: clamp(2.6rem, 4.7vw, 5.2rem); }
.hero-sub { max-width: 44ch; margin-top: 1.5rem; font-size: clamp(1.03rem, 1.2vw, 1.16rem); color: rgba(255, 255, 255, .8); }
.hero-bild { grid-area: bild; position: relative; overflow: hidden; background: #2b2d30; min-height: 320px; }
.hero-bild picture, .hero-bild img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bild img { object-fit: cover; object-position: 50% 40%; }
.hero-bild::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; z-index: 3; background: linear-gradient(#3a3d41, #26282b); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
.motion-an .hero-text > * { animation: rein .95s var(--ease) both; }
.motion-an .hero-text > *:nth-child(2) { animation-delay: .12s; }
.motion-an .hero-text > *:nth-child(3) { animation-delay: .24s; }
.motion-an .hero-bild img { animation: bild-ein 2.6s var(--ease) .5s both; }
@keyframes rein { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes bild-ein { from { transform: scale(1.07); } to { transform: scale(1); } }

/* Das Tor: fährt beim ersten Besuch hoch und gibt das Team frei */
.tor { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.tor-blatt { position: absolute; inset: 0; display: flex; flex-direction: column; animation: tor-auf 1.6s cubic-bezier(.68, 0, .22, 1) .55s forwards; will-change: transform; box-shadow: 0 18px 30px rgba(0, 0, 0, .45); }
.tor-blatt > span { flex: 1; position: relative; background: linear-gradient(180deg, #dcdfda 0%, #d1d4cf 58%, #c2c5c0 100%); border-bottom: 2px solid #9a9e99; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75); }
.tor-blatt > span::after { content: ""; position: absolute; left: 0; right: 0; top: 24%; bottom: 24%; background: repeating-linear-gradient(180deg, transparent 0 7px, rgba(0, 0, 0, .04) 7px 8px); }
.tor-fenster { display: flex; align-items: center; justify-content: center; gap: 3.2%; padding: 0 6%; }
.tor-fenster i { flex: 1; height: 44%; position: relative; z-index: 1; background: linear-gradient(160deg, #46505a 0%, #2a3036 55%, #3a434c 100%); border: 3px solid #b9bdb8; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
.tor-griff::before { content: ""; position: absolute; z-index: 1; left: 50%; bottom: 30%; width: 70px; height: 7px; margin-left: -35px; border-radius: 4px; background: linear-gradient(#5c6066, #3a3d42); }
@keyframes tor-auf { to { transform: translateY(-104%); } }
.tor-offen .tor, .kein-anim .tor { display: none; }
@media (prefers-reduced-motion: reduce) { .tor { display: none; } .motion-an .hero-text > *, .motion-an .hero-bild img { animation: none; } }

/* Wegweiser unter dem Hero */
.wegweiser-band { background: var(--kohle); border-top: 1px solid var(--linie-d); border-bottom: 1px solid var(--linie-d); }
.wegweiser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wegweiser a { display: block; padding: 1.55rem 2rem 1.75rem; border-left: 1px solid var(--linie-d); color: var(--text-d); text-decoration: none; transition: background .3s, color .3s; cursor: pointer; }
.wegweiser a:first-child { border-left: 0; padding-left: 0; }
.wegweiser strong { display: block; margin-bottom: .3rem; font-family: var(--display); font-size: clamp(1.2rem, 1.55vw, 1.5rem); font-weight: 760; letter-spacing: -.015em; color: var(--weiss); transition: color .3s; }
.wegweiser span { display: block; font-size: .93rem; line-height: 1.55; }
.wegweiser a:hover { background: var(--orange); color: rgba(20, 21, 24, .85); }
.wegweiser a:first-child:hover { padding-left: 1.2rem; }
.wegweiser a:hover strong { color: var(--ink); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(5rem, 9.5vw, 9rem) 0; position: relative; }
.dunkel { background: var(--kohle); }
.nacht { background: var(--nacht); }
.hell { background: var(--papier); color: var(--grau); }
.hell h2, .hell h3 { color: var(--ink); }
.hell .lead { color: #2c2e33; }
.kreide { background: var(--kreide); color: var(--grau); }
.kreide h2, .kreide h3 { color: var(--ink); }
.kreide .lead { color: #2c2e33; }
.hell .link, .kreide .link { color: var(--ink); }
.hell .tel, .kreide .tel { color: var(--ink); }
.hell .tel:hover, .kreide .tel:hover { color: var(--orange-tief); }
.kopfblock { max-width: 760px; margin-bottom: clamp(2.6rem, 5vw, 4.4rem); }

/* Fakten als Definitionsliste */
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.2rem; margin: 2.4rem 0 0; }
.fakten div { padding: 1.05rem 0 1.15rem; border-top: 1px solid var(--linie-d); }
.fakten dt { font-family: var(--display); font-size: 1.55rem; font-weight: 780; letter-spacing: -.02em; line-height: 1.15; color: var(--weiss); }
.fakten dd { margin: .25rem 0 0; font-size: .93rem; line-height: 1.55; }

/* Montag, 6:00 Uhr */
.montag { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6.5vw, 7.5rem); align-items: center; }
.montag-medien { position: relative; padding-bottom: 16%; }
.montag-video { width: 80%; aspect-ratio: 1 / 1; object-fit: cover; background: #222; }
.montag-foto { position: absolute; right: 0; bottom: 0; width: 46%; }
.montag-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; outline: 10px solid var(--kohle); }
.bildzeile { margin-top: .8rem; font-size: .82rem; color: var(--text-d2); }

/* Sortiment mit Bildvorschau */
.sortiment-gruppe { display: grid; grid-template-columns: minmax(0, 3.3fr) minmax(0, 8.7fr); gap: 1.6rem 4rem; padding-top: 2.6rem; border-top: 1px solid var(--linie-h); }
.sortiment-gruppe + .sortiment-gruppe { margin-top: clamp(3rem, 6vw, 5rem); }
.sortiment-gruppe > h3 { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; font-size: clamp(1.45rem, 2vw, 1.9rem); font-weight: 790; letter-spacing: -.022em; }
.sortiment-gruppe > h3 small { display: block; margin-top: .6rem; font-family: var(--text); font-size: .95rem; font-weight: 450; letter-spacing: 0; line-height: 1.55; color: var(--grau); }
.liste { list-style: none; margin: 0; padding: 0; }
.liste a { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr); gap: .6rem 2.4rem; align-items: baseline; padding: 1.3rem 0; border-bottom: 1px solid var(--linie-h); color: var(--grau); text-decoration: none; cursor: pointer; transition: padding .35s var(--ease); }
.liste li:first-child a { padding-top: 0; }
.liste .titel { font-family: var(--display); font-size: clamp(1.4rem, 2.05vw, 2rem); font-weight: 780; letter-spacing: -.024em; line-height: 1.08; color: var(--ink); transition: color .25s; }
.liste .text { font-size: .96rem; line-height: 1.6; }
.liste img { display: none; }
.liste a:hover { padding-left: .9rem; }
.liste a:hover .titel { color: var(--orange-tief); }
.weitere { max-width: 760px; margin: clamp(2.6rem, 5vw, 4rem) 0 0 auto; font-size: 1.02rem; }
.weitere a { color: var(--ink); font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.weitere a:hover { color: var(--orange-tief); }
.vorschau { position: fixed; left: 0; top: 0; z-index: 60; width: 340px; aspect-ratio: 4 / 3; margin: 0; pointer-events: none; opacity: 0; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .28); transition: opacity .25s; clip-path: var(--schraeg); }
.vorschau img { width: 100%; height: 100%; object-fit: cover; }
.vorschau.an { opacity: 1; }

/* Beratung vor Ort */
.beratung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6.5vw, 7.5rem); align-items: start; }
.bildpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bildpaar figure { margin: 0; }
.bildpaar figure:nth-child(2) { margin-top: 5rem; }
.bildpaar img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.bildpaar figcaption { margin-top: .7rem; font-size: .84rem; color: var(--grau); }
.ablauf { list-style: none; margin: 2.4rem 0 0; padding: 0; border-top: 1px solid var(--linie-h); }
.ablauf li { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); gap: .3rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--linie-h); }
.ablauf h3 { margin: 0; font-size: 1.12rem; line-height: 1.45; }
.ablauf p { margin: 0; font-size: .97rem; line-height: 1.6; }

/* Service */
.service { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(3rem, 6.5vw, 7.5rem); align-items: center; }
.service-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: var(--schraeg); }
.service .lead { color: rgba(255, 255, 255, .86); }
.zeilen { list-style: none; margin: clamp(3.2rem, 6vw, 5rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linie-d); }
.zeilen a { display: block; height: 100%; padding: 1.5rem 1.6rem 1.7rem 1.6rem; border-left: 1px solid var(--linie-d); color: var(--text-d); text-decoration: none; cursor: pointer; transition: background .3s; }
.zeilen li:first-child a { border-left: 0; padding-left: 0; }
.zeilen h3 { margin-bottom: .45rem; font-size: 1.18rem; transition: color .25s; }
.zeilen p { margin: 0; font-size: .92rem; line-height: 1.55; }
.zeilen a:hover h3 { color: var(--orange); }

/* Schlosserei-Band */
.band { position: relative; min-height: clamp(460px, 44vw, 660px); display: flex; align-items: flex-end; overflow: hidden; background: #0a0a0b; }
.band-bild { position: absolute; inset: 0; }
.band-bild img { width: 100%; height: 112%; object-fit: cover; object-position: 62% 50%; will-change: transform; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 9, 10, .92) 0%, rgba(9, 9, 10, .66) 34%, rgba(9, 9, 10, .06) 66%); }
.band-text { position: relative; z-index: 1; padding-bottom: clamp(3.4rem, 6vw, 6rem); }
.band-text > div { max-width: 600px; }
.band .link { color: var(--weiss); }

/* Karriere auf Orange */
.orange { background: var(--orange); color: rgba(20, 21, 24, .82); }
.orange h2, .orange h3 { color: var(--ink); }
.orange .lead { color: var(--ink); }
.karriere h2 { font-size: clamp(2.6rem, 6.4vw, 6.6rem); font-weight: 830; letter-spacing: -.04em; line-height: .95; max-width: 12ch; }
.karriere-kopf { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.4rem 4rem; align-items: end; }
.karriere-kopf .lead { margin: 0 0 .4rem; }
.karriere-bilder { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr); gap: 1rem; margin-top: clamp(2.6rem, 5vw, 4rem); align-items: end; }
.karriere-bilder figure { margin: 0; }
.karriere-bilder .team img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%); }
.karriere-bilder .portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.karriere-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(3rem, 6vw, 6rem); margin-top: clamp(2.6rem, 5vw, 4rem); }
.orange .fakten { margin-top: 0; }
.orange .fakten div { border-top-color: rgba(20, 21, 24, .22); }
.orange .fakten dt { color: var(--ink); }
.orange .aktion a:not(.btn) { color: var(--ink); font-weight: 650; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6.5vw, 7.5rem); align-items: start; }
.kontakt-daten { margin: 2rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: .55rem 1.6rem; }
.kontakt-daten dt { font-size: .8rem; font-weight: 650; color: var(--grau); padding-top: .2em; }
.kontakt-daten dd { margin: 0; color: var(--ink); }
.kontakt-daten a { color: var(--ink); text-decoration: none; }
.kontakt-daten a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.kontakt-links { display: flex; flex-wrap: wrap; gap: .9rem 1.8rem; margin-top: 2rem; }
.kontakt-bild { margin: 2.6rem 0 0; }
.kontakt-bild img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.kontakt-bild figcaption { margin-top: .7rem; font-size: .84rem; color: var(--grau); }
.formular { background: var(--weiss); border: 1px solid var(--linie-h); padding: clamp(1.6rem, 3vw, 2.8rem); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.formular h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.formular .hinweis { font-size: .95rem; margin-bottom: 1.6rem; }
.feld { display: grid; gap: .35rem; margin-bottom: 1.1rem; }
.feld label { font-size: .82rem; font-weight: 650; color: var(--ink); }
.feld input, .feld select, .feld textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--papier); border: 1px solid var(--linie-h); border-radius: 0; padding: .78rem .9rem; -webkit-appearance: none; appearance: none; transition: border-color .2s, background .2s; }
.feld select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 54%, calc(100% - 14px) 54%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.6rem; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--orange); background: var(--weiss); }
.feld textarea { min-height: 112px; resize: vertical; }
.felder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; margin: .4rem 0 1.4rem; font-size: .86rem; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--orange); }
.check a { color: var(--ink); }
.topf { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { display: none; margin-top: 1rem; padding: .9rem 1rem; font-size: .93rem; }
.status.ok { display: block; background: #e8f4ea; color: #1d5a29; }
.status.fehler { display: block; background: #fff1dc; color: #6f4400; }
.form-fuss { margin-top: 1rem; font-size: .86rem; }
.form-fuss a { color: var(--ink); }

/* Fuß */
.fuss { background: var(--nacht); color: var(--text-d2); padding: clamp(3.4rem, 6vw, 5rem) 0 calc(1.6rem + env(safe-area-inset-bottom)); }
.fuss-oben { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--linie-d); }
.fuss-oben img { width: 150px; }
.fuss address { font-style: normal; line-height: 1.8; color: var(--text-d); text-align: right; }
.fuss address a { color: var(--weiss); text-decoration: none; }
.fuss address a:hover { color: var(--orange); }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 2rem; padding-top: 1.4rem; font-size: .82rem; }
.fuss-unten ul { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.fuss-unten a { color: var(--text-d); text-decoration: none; }
.fuss-unten a:hover { color: var(--orange); }

/* Mobile Leiste */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; background: var(--ink); border-top: 1px solid var(--linie-d); padding-bottom: env(safe-area-inset-bottom); }
.leiste a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 54px; font-size: .95rem; font-weight: 700; color: var(--weiss); text-decoration: none; }
.leiste a + a { background: var(--orange); color: var(--ink); }

/* Rechtstexte */
.recht { padding: calc(var(--header-h) + clamp(3rem, 6vw, 5rem)) 0 clamp(4rem, 8vw, 7rem); background: var(--papier); color: #33363b; }
.recht .container { max-width: 820px; }
.recht h1 { color: var(--ink); font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: .6em; }
.recht h2 { color: var(--ink); font-size: 1.55rem; margin: 2.2rem 0 .6rem; }
.recht h3, .recht h4 { color: var(--ink); font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.recht a { color: var(--ink); overflow-wrap: anywhere; }
.recht p, .recht li { font-size: 1rem; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .95s var(--ease), transform .95s var(--ease); }
.reveal.sichtbar { opacity: 1; transform: none; }
.kein-js .reveal, .reveal-notfall .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .band-bild img { height: 100%; } }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .nav a { padding: .5rem .55rem; font-size: .88rem; }
  .kopf-inner { gap: 1.2rem; }
}
@media (max-width: 1080px) {
  .nav-knopf { display: block; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; margin: 0; padding: 1.4rem 1.4rem 3rem; background: var(--nacht); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s linear .3s; }
  .nav.offen { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-bottom: 1px solid var(--linie-d); }
  .nav a { padding: 1.05rem .2rem; font-size: 1.15rem; }
  .nav .nav-karriere { border: 0; margin-top: 1.2rem; }
  .nav .nav-karriere a { display: inline-block; margin: 0; padding: .9rem 1.8rem .9rem 1.3rem; }
  .kopf-tel { margin-left: auto; }
  .nav-knopf { margin-left: .4rem; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "bild" "text"; min-height: 0; }
  .hero-bild { aspect-ratio: 4 / 3; min-height: 0; }
  .hero-text { padding: 2.6rem 1.4rem 3rem; }
  .hero h1 { max-width: 13ch; }
  .wegweiser { grid-template-columns: 1fr; }
  .wegweiser a, .wegweiser a:first-child { border-left: 0; border-top: 1px solid var(--linie-d); padding: 1.2rem 0; }
  .wegweiser a:first-child { border-top: 0; }
  .wegweiser a:hover, .wegweiser a:first-child:hover { padding-left: 1rem; }
  .montag, .beratung, .service, .kontakt, .karriere-kopf, .karriere-inhalt { grid-template-columns: 1fr; }
  .montag-medien { max-width: 560px; }
  .sortiment-gruppe { grid-template-columns: 1fr; }
  .sortiment-gruppe > h3 { position: static; }
  .zeilen { grid-template-columns: 1fr 1fr; }
  .zeilen li:nth-child(odd) a { border-left: 0; padding-left: 0; }
  .zeilen li:nth-child(n+3) a { border-top: 1px solid var(--linie-d); }
  .service-bild { max-width: 460px; }
  .formular { position: static; }
  .band::after { background: linear-gradient(0deg, rgba(9, 9, 10, .94) 0%, rgba(9, 9, 10, .7) 42%, rgba(9, 9, 10, .1) 80%); }
  .fuss address { text-align: left; }
}
@media (max-width: 760px) {
  body { padding-bottom: 54px; }
  .leiste { display: flex; }
  .kopf-tel { display: none; }
  .logo img { width: 112px; }
  .liste a { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: .2rem 1rem; align-items: start; }
  .liste li:first-child a { padding-top: 1.1rem; }
  .liste img { display: block; grid-row: 1 / span 2; width: 96px; aspect-ratio: 4 / 3; object-fit: cover; }
  .liste .titel { font-size: 1.3rem; }
  .liste .text { font-size: .9rem; }
  .liste a:hover { padding-left: 0; }
  .ablauf li { grid-template-columns: 1fr; }
  .fakten { grid-template-columns: 1fr; }
  .bildpaar figure:nth-child(2) { margin-top: 2.6rem; }
  .karriere-bilder { grid-template-columns: 1fr; }
  .karriere-bilder .portrait { max-width: 70%; margin-left: auto; margin-top: -3rem; position: relative; }
  .zeilen { grid-template-columns: 1fr; }
  .zeilen a, .zeilen li:nth-child(odd) a { border-left: 0; padding: 1.2rem 0; }
  .zeilen li + li a { border-top: 1px solid var(--linie-d); }
  .felder-2 { grid-template-columns: 1fr; }
  .kontakt-daten { grid-template-columns: 1fr; gap: .1rem; }
  .kontakt-daten dt { padding-top: .7rem; }
  .vorschau { display: none; }
}
@media (hover: none) { .vorschau { display: none; } }
