/* ==========================================================================
   GOW Bau GmbH & Co. KG — Design-System
   Farbschema abgeleitet von polierten Sichtestrich-/Designestrich-Böden:
   Anthrazit (Beton/Schiefer) + Salbeigrün (polierte Terrazzo-Oberflächen)
   + warmes Sandbeige (Naturstein), Beton-heller Hintergrund.
   ========================================================================== */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/archivo-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}

:root {
  --salbei: #5B8E82;
  --salbei-dunkel: #3F6D62;
  --salbei-hell: #9DC4B8;
  --anthrazit: #242B2A;
  --anthrazit-hell: #3A4342;
  --sand: #C9BC9C;
  --sand-dunkel: #A99566;
  --beton-hell: #F2F0EA;
  --beton-dunkel: #E7E3D8;
  --weiss: #FFFFFF;
  --tinte: #232827;
  --tinte-hell: #6C726F;
  --rand: rgba(36, 43, 42, 0.14);

  --radius: 18px;
  --radius-klein: 10px;
  --radius-organisch: 30px 8px 30px 8px;
  --schatten: 0 10px 30px rgba(36, 43, 42, 0.14);
  --schatten-stark: 0 20px 45px rgba(36, 43, 42, 0.26);
  --nav-h: 84px;

  --schrift-h: 'Archivo', 'Segoe UI', sans-serif;
  --schrift-b: 'Inter', 'Segoe UI', sans-serif;

  --dauer: 0.5s;
  --kurve: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset & Grundlagen -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--schrift-b);
  color: var(--tinte);
  background: var(--beton-hell);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--salbei-dunkel); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--sand-dunkel); }

h1, h2, h3 { font-family: var(--schrift-h); font-weight: 700; line-height: 1.16; color: var(--anthrazit); margin: 0 0 0.6em; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--tinte-hell); max-width: 62ch; }
.kicker {
  font-family: var(--schrift-h); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.85rem; color: var(--salbei-dunkel); margin-bottom: 0.6em;
}
.mitte { text-align: center; }
.mitte.lead, .kicker--mitte { margin-left: auto; margin-right: auto; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- Barrierefreiheit (BFSG) --------------------------------------------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--anthrazit); color: var(--weiss); padding: 0.9em 1.4em;
  border-radius: 0 0 var(--radius-klein) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--salbei-dunkel);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Kopfbereich / Navigation --------------------------------------------- */
.kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  border-bottom: 1px solid var(--rand);
  transition: box-shadow var(--dauer) var(--kurve);
}
/* Glaseffekt liegt auf einem Pseudo-Element statt auf .kopf selbst:
   backdrop-filter auf .kopf würde für fixed-position Nachfahren (.nav auf Mobil)
   einen neuen containing block erzeugen und dessen Höhe auf die Kopfzeile begrenzen. */
.kopf::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(242, 240, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background var(--dauer) var(--kurve);
}
.kopf.kopf--gescrollt { box-shadow: var(--schatten); }
.kopf.kopf--gescrollt::before { background: rgba(242, 240, 234, 0.97); }

.kopf-h { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }

.marke { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--anthrazit); flex-shrink: 0; }
.marke__icon { color: var(--salbei-dunkel); display: inline-flex; transition: transform var(--dauer) var(--kurve); }
.marke:hover .marke__icon { transform: rotate(-8deg) scale(1.08); }
.marke__text { font-family: var(--schrift-h); font-size: 1.05rem; line-height: 1.25; color: var(--anthrazit); }
.marke__text strong { font-size: 1.38rem; color: var(--salbei-dunkel); }
.marke__text--fuss, .marke__text--fuss strong { color: var(--beton-hell); }

.nav__liste {
  list-style: none; display: flex; align-items: center; gap: 0.15rem;
  margin: 0; padding: 0.3rem;
  background: rgba(36, 43, 42, 0.05);
  border: 1px solid var(--rand);
  border-radius: 999px;
}
.nav__link {
  position: relative; display: inline-block; padding: 0.55em 1.05em;
  color: var(--anthrazit); text-decoration: none; font-weight: 500; font-size: 0.92rem; white-space: nowrap;
  border-radius: 999px;
  transition: color var(--dauer) var(--kurve), background var(--dauer) var(--kurve), box-shadow var(--dauer) var(--kurve);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--salbei-dunkel); background: var(--weiss); }
.nav__link[aria-current="page"] {
  color: var(--weiss); font-weight: 600;
  background: var(--salbei-dunkel);
  box-shadow: 0 4px 12px rgba(63, 109, 98, 0.3);
}

.anruf-btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--salbei-dunkel); color: var(--weiss) !important;
  padding: 0.7em 1.2em; border-radius: 999px; font-weight: 600; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(63, 109, 98, 0.55);
  animation: anruf-puls 2.6s var(--kurve) infinite;
  flex-shrink: 0;
  transition: transform 0.2s var(--kurve), box-shadow 0.2s var(--kurve);
}
.anruf-btn:hover { transform: translateY(-2px); }
.anruf-btn svg { animation: klingeln 3.4s ease-in-out infinite; }
@keyframes anruf-puls {
  0% { box-shadow: 0 0 0 0 rgba(63, 109, 98, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(63, 109, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(63, 109, 98, 0); }
}
@keyframes klingeln {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-14deg); }
  92% { transform: rotate(12deg); }
  94% { transform: rotate(-10deg); }
  96% { transform: rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .anruf-btn { animation: none; }
  .anruf-btn svg { animation: none; }
}

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 44px; height: 44px; border: none; background: transparent; cursor: pointer;
  padding: 0;
}
.nav-toggle span:not(.sr-only) { display: block; height: 2px; width: 26px; background: var(--anthrazit); border-radius: 2px; transition: transform 0.3s var(--kurve), opacity 0.3s var(--kurve); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Buttons (3D-Pressed) -------------------------------------------------- */
.btn {
  display: inline-block; border: none; cursor: pointer; text-decoration: none;
  font-family: var(--schrift-b); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.7em; border-radius: 999px;
  transition: transform 0.15s var(--kurve), box-shadow 0.15s var(--kurve);
}
.btn--primary {
  background: var(--salbei-dunkel); color: var(--weiss);
  box-shadow: 0 5px 0 #2A4A42, 0 10px 18px rgba(36, 43, 42, 0.28);
}
.btn--primary:hover { transform: translateY(-2px); color: var(--weiss); box-shadow: 0 7px 0 #2A4A42, 0 14px 24px rgba(36, 43, 42, 0.3); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 #2A4A42, 0 4px 10px rgba(36, 43, 42, 0.22); }

.btn--sekundaer {
  background: rgba(255, 255, 255, 0.85); color: var(--anthrazit);
  box-shadow: 0 5px 0 var(--rand), 0 10px 18px rgba(36, 43, 42, 0.16);
  border: 1px solid var(--rand);
}
.btn--sekundaer:hover { transform: translateY(-2px); color: var(--anthrazit); }
.btn--sekundaer:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--rand); }

.btn--gross { padding: 1em 2.2em; font-size: 1.05rem; }

@media (prefers-reduced-motion: reduce) {
  .btn, .btn--primary, .btn--sekundaer { transition: none; }
  .btn:active { transform: none; }
}

/* --- Hero ------------------------------------------------------------------ */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; padding-top: var(--nav-h); }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--bild::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(36,43,42,0.5) 0%, rgba(35,40,39,0.72) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__panel {
  max-width: 720px; background: rgba(242, 240, 234, 0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius); padding: 1.7rem 2.6rem;
  box-shadow: var(--schatten-stark);
}
.hero__panel .kicker { margin-bottom: 0.4em; }
.hero__panel p:not(.kicker) { margin-bottom: 0.5em; }
.hero__aktionen { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1rem; }

.page-header { padding: calc(var(--nav-h) + 4.5rem) 0 3.5rem; background: var(--beton-dunkel); }

/* --- Layout-Utilities (Grid/Flexbox) ---------------------------------------- */
.section { padding: 5rem 0; }
.section--hell { background: var(--beton-dunkel); }
.section--dunkel { background: var(--anthrazit); color: rgba(255,255,255,0.9); }
.section--dunkel h2 { color: var(--weiss); }
.section--dunkel .lead { color: rgba(255,255,255,0.75); }
.cta-section { background: linear-gradient(135deg, var(--salbei) 0%, var(--salbei-dunkel) 100%); color: var(--weiss); }
.cta-section h2 { color: var(--weiss); }
.cta-section .lead { color: rgba(255,255,255,0.92); }
.cta-section .btn--primary { background: var(--anthrazit); box-shadow: 0 5px 0 #101413, 0 10px 18px rgba(16,20,19,0.35); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.profil-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: center; }
.profil-grid--umkehr { grid-template-columns: 1.15fr 0.85fr; }
.profil-grid--umkehr > *:first-child { order: 2; }
.profil-grid--umkehr > *:last-child { order: 1; }

.teaser-grid { display: flex; flex-direction: column; gap: 3rem; }
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.teaser--umkehr > img { order: 2; }
.teaser__inhalt { display: flex; flex-direction: column; }
.teaser img { border-radius: var(--radius-organisch); box-shadow: var(--schatten); }

.kontakt-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: start; }

/* --- Karten / 3D-Tilt --------------------------------------------------- */
.karte {
  background: var(--weiss); border-radius: var(--radius-organisch); padding: 2rem;
  box-shadow: var(--schatten); border: 1px solid var(--rand);
}
.karte__icon {
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--sand); color: var(--anthrazit);
  font-size: 1.3rem; margin-bottom: 1rem;
}

/* Bild-Präsentation ohne weißen Rahmen: Foto trägt Rundung/Schatten direkt,
   kein umschließender weißer Karten-Hintergrund wie bei .karte. */
.bild-karte img {
  display: block; width: 100%;
  border-radius: var(--radius-organisch);
  box-shadow: var(--schatten);
  transition: box-shadow 0.35s var(--kurve);
}
.bild-karte p { margin: 0.8rem 0 0; }
.bild-karte.tilt:hover { box-shadow: none; }
.bild-karte.tilt:hover img { box-shadow: var(--schatten-stark); }

.tilt { transition: transform 0.35s var(--kurve), box-shadow 0.35s var(--kurve); transform-style: preserve-3d; will-change: transform; }
.tilt:hover { box-shadow: var(--schatten-stark); }
@media (prefers-reduced-motion: reduce) {
  .tilt { transition: none !important; transform: none !important; }
}
@media (pointer: coarse) {
  .tilt { transition: transform 0.2s ease, box-shadow 0.2s ease; }
}

.info-karte {
  background: var(--weiss); border-radius: var(--radius); padding: 1.6rem 1.8rem;
  box-shadow: var(--schatten); border: 1px solid var(--rand); margin-bottom: 1.4rem;
}

.check-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.7rem; }
.check-liste li { position: relative; padding-left: 1.8rem; }
.check-liste li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--weiss); background: var(--salbei-dunkel); border-radius: 50%;
  width: 1.3em; height: 1.3em; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.check-liste--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 2rem; }

.bild-hinweis { font-size: 0.8rem; color: var(--tinte-hell); text-align: center; margin: 0.6rem 0 0; }

.link-pfeil { display: inline-block; margin-top: 0.6rem; font-weight: 600; }

.zertifikat-liste { list-style: none; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 1rem 1.4rem; padding: 0; margin: 2rem 0 0; }
.zertifikat-liste li {
  display: flex; align-items: center; gap: 0.6em;
  padding: 0.8em 1.4em; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 999px;
  font-weight: 600; font-size: 0.92rem; color: var(--weiss);
}

/* --- Downloads / Fachwissen-Karten ------------------------------------------ */
.fachwissen-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.fachwissen-karte {
  background: var(--weiss); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--schatten); border: 1px solid var(--rand);
  display: flex; gap: 1rem; align-items: flex-start;
}
.fachwissen-karte__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--beton-dunkel); color: var(--salbei-dunkel);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}

/* --- Formular ------------------------------------------------------------ */
.formular { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1rem; }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.formular__feld { display: flex; flex-direction: column; gap: 0.4rem; }
.formular__feld label { font-weight: 600; font-size: 0.92rem; }
.formular__feld input[type="text"], .formular__feld input[type="email"], .formular__feld textarea {
  font: inherit; padding: 0.75em 0.9em; border: 1px solid var(--rand); border-radius: var(--radius-klein);
  background: var(--beton-hell); color: var(--tinte); resize: vertical;
}
.formular__feld input:focus, .formular__feld textarea:focus { outline: 2px solid var(--salbei-dunkel); outline-offset: 1px; }
.formular__feld--checkbox { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.formular__feld--checkbox input { margin-top: 0.3rem; }
.formular__status { font-weight: 600; min-height: 1.4em; }
.formular__status[data-status="ok"] { color: #3E7A3F; }
.formular__status[data-status="fehler"] { color: #B3542A; }
.hp-feld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --- Datenschutz-Banner ----------------------------------------------------- */
.privacy-banner {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: flex-end;
  pointer-events: none; visibility: hidden;
}
.privacy-banner.zeigen { visibility: visible; pointer-events: auto; }
.privacy-banner__box {
  position: relative; width: 100%;
  background: var(--anthrazit); color: rgba(255, 255, 255, 0.9);
  padding: 1.75rem 1.5rem 2rem;
  transform: translateY(100%);
  transition: transform 0.5s var(--kurve);
  box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.4);
  border-top: 3px solid var(--salbei);
}
.privacy-banner.zeigen .privacy-banner__box { transform: translateY(0); }
.privacy-banner__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; gap: 2rem; align-items: center; flex-wrap: wrap;
}
.privacy-banner__text { flex: 1; min-width: 280px; }
.privacy-banner__text h3 {
  font-family: var(--schrift-h); font-size: 1.05rem; font-weight: 700;
  color: #fff; margin: 0 0 0.6rem;
}
.privacy-banner__liste {
  list-style: none; display: flex; flex-direction: column; gap: 0.35rem;
  margin: 0 0 0.7rem; padding: 0; font-size: 0.85rem; line-height: 1.55;
}
.privacy-banner__liste strong { color: var(--salbei-hell); }
.privacy-banner__text > a { color: rgba(255, 255, 255, 0.75); font-size: 0.82rem; text-decoration: underline; }
.privacy-banner__text > a:hover { color: #fff; }
.privacy-banner__aktionen { display: flex; gap: 0.6rem; flex-wrap: wrap; flex-shrink: 0; max-width: 100%; }
.privacy-banner__aktionen .btn { flex: 0 0 auto; white-space: nowrap; }
.privacy-banner__mehr {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; white-space: nowrap;
  padding: 0.85em 1.7em; border-radius: 999px;
  font-family: var(--schrift-b); font-weight: 600; font-size: 1rem;
  text-decoration: none; color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: all var(--dauer) var(--kurve);
}
.privacy-banner__mehr:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.6); color: #fff; }
@media (max-width: 640px) {
  .privacy-banner__aktionen { flex-direction: column; align-items: stretch; }
}

.privacy-tabelle { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5rem 0 2rem; }
.privacy-tabelle__spalte { border-radius: var(--radius); padding: 1.5rem 1.7rem; }
.privacy-tabelle__spalte--nein { background: rgba(179, 84, 42, 0.1); border: 1px solid rgba(179, 84, 42, 0.28); }
.privacy-tabelle__spalte--ja { background: rgba(91, 142, 130, 0.12); border: 1px solid rgba(91, 142, 130, 0.32); }
.privacy-tabelle__spalte h3 { font-size: 1.05rem; }
.privacy-tabelle__spalte ul { margin: 0; padding-left: 1.2rem; }
.privacy-tabelle__spalte li { margin-bottom: 0.4rem; }

.rechtstext h2 { margin-top: 2rem; font-size: 1.3rem; }
.rechtstext { max-width: 78ch; margin: 0 auto; }

/* --- Scroll-Reveal --------------------------------------------------------- */
.reveal { opacity: 0; transition: opacity 0.8s var(--kurve), transform 0.8s var(--kurve); }
.reveal--unten { transform: translateY(36px); }
.reveal--links { transform: translateX(-40px); }
.reveal--rechts { transform: translateX(40px); }
.reveal--skalieren { transform: scale(0.94); }
.reveal.reveal--sichtbar { opacity: 1; transform: none; }
.reveal--delay-1 { transition-delay: 0.12s; }
.reveal--delay-2 { transition-delay: 0.24s; }
.reveal--delay-3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --- Footer ---------------------------------------------------------------- */
.fuss { background: var(--anthrazit); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.fuss h3 { color: var(--weiss); font-size: 1rem; margin-bottom: 0.8rem; }
.fuss a { color: rgba(255,255,255,0.75); }
.fuss a:hover { color: var(--salbei-hell); }
.fuss p { color: rgba(255,255,255,0.75); }
.fuss-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.fuss-unten { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; }

.mail-obfus::before { content: attr(data-u) "\0040" attr(data-d); unicode-bidi: bidi-override; direction: ltr; }

/* --- Scroll-Top-Button ------------------------------------------------------ */
.scroll-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 400;
  width: 46px; height: 46px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--anthrazit); color: var(--weiss); font-size: 1.2rem;
  box-shadow: var(--schatten); opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.3s var(--kurve), transform 0.3s var(--kurve);
}
.scroll-top.scroll-top--sichtbar { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top[hidden] { display: none; }

/* ==========================================================================
   Breakpoint: 1024px
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; order: 3; }
  .anruf-btn { order: 2; }
  .nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 490;
    background: var(--beton-hell); padding: 2rem;
    transform: translateX(100%); transition: transform 0.35s var(--kurve);
    overflow-y: auto;
  }
  .nav.nav--offen { transform: translateX(0); }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0.2rem; padding: 0; background: transparent; border: none; border-radius: 0; }
  .nav__link { display: block; padding: 1em 0.4em; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--rand); }
  .nav__link:hover, .nav__link:focus-visible { background: transparent; }
  .nav__link[aria-current="page"] { background: transparent; color: var(--salbei-dunkel); box-shadow: none; }
  .anruf-btn span { display: none; }
  .anruf-btn { padding: 0.7em; }

  .grid-2, .grid-3, .grid-4, .profil-grid, .profil-grid--umkehr, .teaser, .kontakt-grid, .privacy-tabelle, .fachwissen-grid {
    grid-template-columns: 1fr;
  }
  .profil-grid--umkehr > *:first-child, .profil-grid--umkehr > *:last-child { order: initial; }
  .teaser--umkehr > img { order: initial; }
  .fuss-grid { grid-template-columns: 1fr 1fr 1fr; }
  .check-liste--grid { grid-template-columns: 1fr; }

  .tilt:hover { transform: none !important; }
}

@media (max-width: 640px) {
  .fuss-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
  .hero__panel { padding: 1.3rem 1.8rem; }
  .section { padding: 3.5rem 0; }
}
