/* =========================================================================
   MY ROOF — site.css
   Neubau von my-roof.at, 1:1 nach dem WordPress/Elementor-Original.
   Kein Framework, kein Elementor. Farben und Schriften am gerenderten
   Original gemessen (03.09.2026).
   ========================================================================= */

/* ---- Schriften (lokal, Variable Fonts) --------------------------------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ---- Farb- und Maßvariablen -------------------------------------------- */
:root {
  --grund:        #f0edea;   /* warmes Off-White, Seitengrund          */
  --blau:         #1b4586;   /* CI-Blau: obere Kontaktleiste           */
  --blau-tief:    #163a70;   /* Blau, Verlaufsende                     */
  --dunkel:       #242424;   /* dunkle Abschnitte (Hero, Leistungen)   */
  --dunkel-tief:  #1a1a1a;   /* dunkel, Verlaufsende                   */
  --gold:         #f8b326;   /* Akzent: Buttons, Flächen, Gold auf dunkel */
  --gold-dunkel:  #e5a015;   /* Gold im Hover                          */
  --gold-text:    #7a5300;   /* dunkles Gold für TEXT auf hellem Grund
                                (WCAG AA auch auf #f0edea: Kontrast ~5,7) */
  --ink:          #242424;   /* Standard-Textfarbe auf hell            */
  --ink-weich:    #565654;   /* Fließtext gedämpft                     */
  --weiss:        #ffffff;
  --grau-linie:   #e2ddd7;   /* feine Trennlinien                      */

  --inhalt: 1200px;          /* Inhaltsbreite (Elementor-Deckel)       */
  --rand: 20px;              /* seitlicher Mindestrand                 */
  --radius: 6px;
}

/* ---- Grundlagen -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Outfit", "Montserrat", sans-serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

.inhalt {
  max-width: var(--inhalt);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.visuell-versteckt {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  padding: 15px 30px;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.btn--gold        { background: var(--gold); color: var(--dunkel); }
.btn--gold:hover  { background: var(--gold-dunkel); color: var(--dunkel); }

/* „weiterlesen" / „mehr erfahren"-Link in Gold */
.mehr {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .03em;
  color: var(--gold-text);
  text-transform: none;
}
.mehr::after { content: "→"; font-size: 1.05em; transition: transform .18s ease; }
.mehr:hover::after { transform: translateX(3px); }

/* =========================================================================
   Kopfleiste
   ========================================================================= */
/* Obere Kontaktleiste (CI-Blau) */
.topbar {
  background: var(--blau);
  color: var(--weiss);
  font-size: 14px;
}
.topbar .inhalt {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  padding-block: 10px;
  flex-wrap: wrap;
}
.topbar a { color: var(--weiss); }
.topbar span { display: inline-flex; align-items: center; gap: .5em; }
.topbar svg { width: 15px; height: 15px; fill: var(--gold); flex: none; }

/* Hauptkopf (weiß, klebt oben) */
.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--weiss);
  box-shadow: 0 1px 0 var(--grau-linie);
}
.kopf .inhalt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 12px;
}
.kopf__logo img { width: 96px; height: auto; }

.hauptnav { display: flex; align-items: center; gap: 0; }
.hauptnav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--dunkel);
  padding: 8px 52px;
  position: relative;
  transition: color .15s ease;
}
.hauptnav a:hover { color: var(--gold); }
.hauptnav a[aria-current="page"] { color: var(--gold-text); }   /* aktiver Link: dunkles Gold, WCAG-tauglich auf Weiß */
.hauptnav li + li > a::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 2px; height: 20px; background: #b9b0a6;
}
.hauptnav ul { list-style: none; display: flex; margin: 0; padding: 0; align-items: center; }
.hauptnav .hat-unter > a::after { content: "▾"; margin-left: .3em; font-size: 1.15em; vertical-align: -1px; color: var(--gold-text); }
.hauptnav .hat-unter > a:hover::after,
.hauptnav .hat-unter > a[aria-current="page"]::after { color: var(--gold); }

/* Untermenü */
.hauptnav .unter {
  position: absolute;
  top: 100%; left: 0;
  min-width: 240px;
  background: var(--weiss);
  box-shadow: 0 12px 30px rgba(22,22,63,.14);
  border-top: 3px solid var(--gold);
  padding: 6px 0;
  display: none;
  flex-direction: column;
}
.hauptnav .hat-unter { position: relative; }
.hauptnav .hat-unter:hover .unter,
.hauptnav .hat-unter:focus-within .unter { display: flex; }
.hauptnav .unter a { padding: 10px 20px; font-size: 15px; white-space: nowrap; }
.hauptnav .unter a::before { display: none; }
.hauptnav .unter a:hover { background: #f0ece8; color: var(--dunkel); }

/* zweite Ebene: Untermenü „Dachwartung" */
.unter-gruppe { position: relative; }
.unter-gruppe__titel {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 15px; color: var(--dunkel);
  padding: 10px 20px;
}
.unter-gruppe__titel span { color: var(--gold-text); font-size: 1.25em; font-weight: 700; }
.unter-gruppe__titel:hover,
.unter-gruppe:hover > .unter-gruppe__titel { background: #f0ece8; color: var(--dunkel); }
.unter-gruppe:hover .unter-2,
.unter-gruppe:focus-within .unter-2 { display: flex; }
.unter-2 {
  position: absolute; top: -9px; left: 100%;
  min-width: 210px; background: var(--weiss);
  box-shadow: 0 12px 30px rgba(22,22,63,.14);
  border-top: 3px solid var(--gold);
  padding: 6px 0; display: none; flex-direction: column;
}
.unter-2 a { padding: 10px 20px; font-size: 15px; white-space: nowrap; }
.unter-2 a:hover { background: #f0ece8; color: var(--dunkel); }

.kopf__cta { flex: none; }

/* Mobil-Umschalter (ab hier versteckt) */
.nav-schalter { display: none; }

/* =========================================================================
   Wellen-Trenner (SVG als Hintergrund)
   ========================================================================= */
.welle { display: block; width: 100%; height: auto; line-height: 0; }
.welle svg { display: block; width: 100%; height: 100%; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  background: var(--dunkel);
  color: var(--weiss);
  position: relative;
  overflow: hidden;
  padding-bottom: 8px;
}
/* elliptischer unterer Abschluss (SVG, in Grund-Farbe) */
.hero__abschluss {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: 150px;
  display: block;
  z-index: 1;            /* hinter die Bilder — sie liegen ÜBER der Ellipse */
  pointer-events: none;
}
.hero .inhalt {
  max-width: 1440px;
  display: grid;
  grid-template-columns: minmax(300px, 400px) repeat(3, 1fr);
  gap: 28px;
  align-items: center;
  padding-block: 46px 0;
  position: relative;
  z-index: 2;            /* Inhalt (inkl. Bilder) über der Ellipse */
}
.hero__text h1 {
  color: var(--weiss);
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: .45em;
}
.hero__text p {
  color: #d7d7d2;
  font-size: 19px;
  max-width: 32ch;
  margin-bottom: 1.6em;
}
/* Kacheln direkt ins Hero-Raster legen, damit die Bilder groß werden */
.hero__kacheln { display: contents; }
.kachel {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 360 / 610;      /* Original-Bildformat, Hochkant */
  min-height: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* Hover-Inhalt vertikal mittig */
  align-items: center;          /* … und horizontal mittig */
  text-align: center;
  padding: 26px 22px;
  color: var(--weiss);
  isolation: isolate;
}
.kachel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.kachel:hover img,
.kachel:focus-within img { transform: scale(1.06); }
/* Abdunklung: ruhig im Normalzustand, kräftiger beim Mouseover */
.kachel::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(36,36,36,0) 45%, rgba(36,36,36,.45) 100%);
  transition: background .35s ease;
}
.kachel:hover::after,
.kachel:focus-within::after {
  background: linear-gradient(180deg, rgba(36,36,36,.10) 0%, rgba(36,36,36,.85) 100%);
}
/* Titel + Button erscheinen erst beim Mouseover (wie im Original) */
.kachel__titel {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 14px;
  overflow-wrap: break-word;
  hyphens: auto;
}
.kachel__titel,
.kachel .btn {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .35s ease, transform .35s ease;
}
.kachel .btn { align-self: center; transition-delay: .05s; }
.kachel:hover .kachel__titel,
.kachel:hover .btn,
.kachel:focus-within .kachel__titel,
.kachel:focus-within .btn { opacity: 1; transform: none; }

/* Einlauf: Text von links; Bilder von rechts herein, transparent und
   entsättigt — je näher an der Endposition, desto kräftiger die Farbe. */
@keyframes text-rein   { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }
@keyframes kachel-rein { from { opacity: 0; transform: translateX(90px);  } to { opacity: 1; transform: none; } }
@keyframes bild-farbe  { from { filter: grayscale(.85) saturate(.35) brightness(1.06); }
                         to   { filter: none; } }
.hero__text { animation: text-rein .8s ease both; }
/* Dauer ~0,7s, Abstand ~0,7s → die Bilder kommen NACHEINANDER, nicht zugleich */
.kachel { animation: kachel-rein .7s cubic-bezier(.2,.7,.2,1) both; }
.kachel img { animation: bild-farbe .7s ease both; }
.hero .kachel:nth-of-type(1), .hero .kachel:nth-of-type(1) img { animation-delay: .15s; }
.hero .kachel:nth-of-type(2), .hero .kachel:nth-of-type(2) img { animation-delay: .90s; }
.hero .kachel:nth-of-type(3), .hero .kachel:nth-of-type(3) img { animation-delay: 1.65s; }
@media (prefers-reduced-motion: reduce) {
  .hero__text, .kachel, .kachel img { animation: none; }
  /* kein Hineingleiten, aber die Einblendung beim Mouseover bleibt */
  .kachel__titel, .kachel .btn { transform: none; }
}

/* =========================================================================
   Karten-Reihe (3 Leistungen mit weiterlesen)
   ========================================================================= */
.karten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  padding-block: 64px;
}
.karte {
  background: var(--weiss);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: 0 8px 24px rgba(22,22,63,.06);
  border: 1px solid var(--grau-linie);
  display: flex;
  flex-direction: column;
}
.karte h2 {
  font-size: 24px;
  margin-bottom: .5em;
}
.karte p { color: var(--ink-weich); font-size: 16px; margin-bottom: 1.4em; }
.karte .btn { margin-top: auto; align-self: flex-start; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .6s ease, transform .6s ease; }
.reveal.sichtbar { opacity: 1; transform: none; }
.karten .reveal:nth-child(2) { transition-delay: .12s; }
.karten .reveal:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Intro „Der Dachdecker in Salzburg"
   ========================================================================= */
.intro { padding-block: 30px 70px; }
.intro .inhalt {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;   /* Bildseite größer */
  gap: 60px;
  align-items: center;
}
.intro__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: .8em;
  display: block;
}
.intro h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  margin-bottom: .6em;
}
.intro p { color: var(--ink-weich); font-size: 17px; }
.intro__bild { position: relative; }
.intro__bild img.foto { border-radius: var(--radius); width: 100%; }
.intro__badge {
  position: absolute;
  right: -18px; bottom: -26px;
  width: 160px; height: auto;
}

/* =========================================================================
   Leistungsraster (12 Karten)
   ========================================================================= */
.leistungen {
  /* hell und freundlich statt der großen dunklen Fläche */
  background: var(--grund);
  color: var(--ink);
  padding-block: 74px;
}
.leistungen__kopf { text-align: center; margin-bottom: 48px; }
.leistungen__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold-text);
  display: block; margin-bottom: .7em;
}
.leistungen__kopf h2 { color: var(--ink); font-size: clamp(32px, 3.4vw, 54px); }
/* Gold-Trennstrich unter der Überschrift */
.leistungen__kopf h2::after {
  content: ""; display: block;
  width: 66px; height: 4px; margin: 18px auto 0;
  background: var(--gold); border-radius: 2px;
}
.raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.leistung {
  position: relative;
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: 10px;
  padding: 32px 28px 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(22,22,63,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
/* Gold-Akzent oben links, wächst beim Mouseover über die ganze Karte */
.leistung::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; height: 4px; background: var(--gold);
  transition: width .3s ease;
}
.leistung:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(22,22,63,.13);
  border-color: var(--gold);
}
.leistung:hover::before { width: 100%; }
.leistung h3 {
  color: var(--ink);
  font-size: 22px;
  margin-bottom: .5em;
}
.leistung p { color: var(--ink-weich); font-size: 15px; margin-bottom: 1.3em; }
.leistung .mehr { margin-top: auto; }

/* Ganze Kachel verlinkt: beim Mouseover dunkler Überzug mit „weiterlesen" mittig */
.leistung__link {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  background: rgba(26,26,26,0);
  transition: background .25s ease;
}
.leistung__mehr {
  color: #fff; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 20px; letter-spacing: .04em;
  padding-bottom: 4px; border-bottom: 2px solid var(--gold);
  opacity: 0; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.leistung:hover .leistung__link,
.leistung:focus-within .leistung__link { background: rgba(26,26,26,.82); }
.leistung:hover .leistung__mehr,
.leistung:focus-within .leistung__mehr { opacity: 1; transform: none; }

/* Impressum: Firmenangaben in zwei Spalten */
.impressum-spalten {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
  align-items: start;
}
@media (max-width: 700px) {
  .impressum-spalten { grid-template-columns: 1fr; }
}

/* Bewertungen (Startseite) */
.bewertungen { padding-block: 10px 64px; text-align: center; }
.bewertungen__kicker {
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-text); display: block; margin-bottom: .7em;
}
.bewertungen h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 1.1em; }
.bewertungen__karten { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.bewertung {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: var(--weiss); border: 1px solid var(--grau-linie); border-radius: 10px;
  padding: 26px 44px; min-width: 250px;
  box-shadow: 0 6px 18px rgba(22,22,63,.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bewertung:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(22,22,63,.12); border-color: var(--gold); }
.bewertung__note { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 44px; line-height: 1; color: var(--ink); }
.bewertung__sterne { color: var(--gold); font-size: 22px; letter-spacing: 2px; }
.bewertung__quelle { color: var(--ink-weich); font-size: 15px; }

/* =========================================================================
   CTA „Wir sind für Sie da!"
   ========================================================================= */
.cta { padding-block: 72px; background: var(--gold); color: var(--dunkel); }
.cta .inhalt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta__bild img { border-radius: var(--radius); width: 100%; }
.cta__kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 700; font-size: 15px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--dunkel);
  display: block; margin-bottom: .8em;
}
.cta h2 { font-size: clamp(28px, 3.2vw, 44px); margin-bottom: .5em; color: var(--dunkel); }
.cta p { color: #3a3a38; font-size: 17px; }
.cta__tel {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--dunkel);
  margin: .6em 0 1em;
  display: inline-block;
}
/* dunkler Button für den Gold-Abschnitt */
.btn--dunkel        { background: var(--dunkel); color: var(--weiss); }
.btn--dunkel:hover  { background: #000; color: var(--weiss); }

/* =========================================================================
   Lieferanten
   ========================================================================= */
.lieferanten { padding-block: 60px 74px; text-align: center; background: var(--weiss); }
.lieferanten h2 {
  font-size: clamp(28px, 3vw, 44px);
  margin-bottom: 40px;
}
/* Laufband (Marquee) im weißen Band */
.marquee {
  position: relative;
  overflow: hidden;
  background: var(--weiss);
  border-block: 1px solid var(--grau-linie);
  padding-block: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__spur {
  display: flex;
  align-items: center;
  gap: 70px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__spur { animation-play-state: paused; }
.marquee__spur img {
  height: 50px;
  width: auto;
  flex: none;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .2s ease, opacity .2s ease;
}
.marquee__spur img:hover { filter: grayscale(0); opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__spur { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* =========================================================================
   Fußzeile
   ========================================================================= */
.fuss {
  position: relative;
  background: var(--dunkel) url("../img/footer-roof.webp") center / cover no-repeat;
  color: #d7d7d2;
  padding-block: 56px 0;
  font-size: 15px;
  isolation: isolate;
}
.fuss::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,69,134,.90) 0%, rgba(20,26,40,.94) 100%);
  z-index: -1;
}
.fuss .inhalt {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  gap: 40px;
}
.fuss h2 {
  color: var(--weiss);
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
}
.fuss__logo img { width: 110px; margin-bottom: 18px; background: var(--weiss); border-radius: 50%; }
.fuss__kontakt h2 { margin-bottom: 0; line-height: 1.7; }   /* gleicher Abstand wie eine normale Textzeile */
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .6em; }
.fuss a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.fuss address { font-style: normal; line-height: 1.7; }
.fuss__copy {
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 48px;
  padding-block: 20px;
  text-align: center;
  font-size: 13px;
  color: #8a89a0;
}

/* =========================================================================
   Formular (Kontaktseite / Anfrage)
   ========================================================================= */
.formular { display: grid; gap: 16px; max-width: 620px; }
.formular label { font-size: 14px; font-weight: 600; color: var(--dunkel); display: block; margin-bottom: .3em; }
.formular input, .formular textarea {
  width: 100%;
  font-family: inherit; font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  background: var(--weiss);
}
.formular textarea { min-height: 150px; resize: vertical; }
.formular .fehler { color: #b3261e; font-size: 14px; }
.formular__hinweis { font-size: 13px; color: var(--ink-weich); }
.formular__reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.formular button { justify-self: start; }
.hinweis-ok, .hinweis-fehler {
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; font-size: 15px;
}
.hinweis-ok    { background: #e6f4ea; color: #1e7a34; border: 1px solid #b6e0c2; }
.hinweis-fehler{ background: #fdecea; color: #b3261e; border: 1px solid #f5c6c0; }

/* =========================================================================
   Seiten-Hero (Unterseiten) — Banner mit Hintergrundbild
   ========================================================================= */
.seitenhero {
  position: relative;
  background-color: var(--dunkel);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--weiss);
  padding-block: 92px 78px;
  isolation: isolate;
}
.seitenhero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(20,20,20,.85) 0%, rgba(20,20,20,.6) 55%, rgba(20,20,20,.32) 100%);
}
.seitenhero__kicker {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: .7em;
}
.seitenhero h1 {
  color: var(--weiss);
  font-size: clamp(32px, 4vw, 58px);
  margin: 0 0 .5em;
}
/* Brotkrumen-Leiste unterhalb des Heros (heller Grund) */
.brotkrumen-leiste {
  background: var(--grund);
  border-bottom: 1px solid var(--grau-linie);
  font-size: 17px;
  color: var(--ink-weich);
  padding-block: 16px;
}
.brotkrumen-leiste a { color: var(--blau); font-weight: 600; }
.brotkrumen-leiste a:hover { text-decoration: underline; text-underline-offset: 3px; }
.brotkrumen-leiste span { margin-inline: 8px; color: var(--gold); }

/* =========================================================================
   Seiteninhalt (Unterseiten)
   ========================================================================= */
.seiteninhalt { padding-block: 60px 72px; }
.seiteninhalt .inhalt { max-width: 900px; }
.seiteninhalt.breit .inhalt { max-width: var(--inhalt); }
.seitenblock { margin-bottom: 20px; }
.seiteninhalt h2 {
  font-size: clamp(24px, 2.4vw, 34px);
  margin: 1.4em 0 .5em;
  position: relative;
  padding-bottom: .35em;
}
.seiteninhalt h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 54px; height: 3px; background: var(--gold); border-radius: 2px;
}
.seiteninhalt h2:first-child { margin-top: 0; }
.seiteninhalt h3 { font-size: 22px; margin: 1.2em 0 .4em; }
.seiteninhalt p { color: var(--ink-weich); font-size: 17px; line-height: 1.7; margin-bottom: 1.1em; }
.seiteninhalt p.text-hervor { color: var(--ink); font-weight: 700; font-size: 20px; }
.seiteninhalt a:not(.btn) { color: var(--blau); text-decoration: underline; text-underline-offset: 2px; }

/* Aufzählung mit Gold-Haken */
.liste-gold { list-style: none; margin: 0 0 1.4em; padding: 0; }
.liste-gold li {
  position: relative;
  padding-left: 34px;
  margin-bottom: .7em;
  color: var(--ink-weich);
  font-size: 17px; line-height: 1.6;
}
.liste-gold li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 22px; height: 22px;
  /* gefüllter Gold-Kreis mit dunklem Häkchen — klar sichtbar auf hell */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23f8b326'/%3E%3Cpath d='M10.2 16.4 6 12.2l-1.4 1.4 5.6 5.6L20 9.4 18.6 8z' fill='%23242424'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Kontaktseite */
.kontakt-raster { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
.kontakt-info {
  position: relative;
  background: var(--weiss);
  color: var(--ink-weich);
  border: 1px solid var(--grau-linie);
  border-radius: 18px;
  padding: 40px 34px;
  box-shadow: 0 12px 30px rgba(22,22,63,.06);
}
.kontakt-info h2 { color: var(--ink); margin-top: 0; }
.kontakt-info__intro { color: var(--ink-weich); font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.kontakt-liste { list-style: none; margin: 0; padding: 0; }
.kontakt-liste li {
  display: flex; gap: 18px; align-items: center;
  padding: 14px; border-radius: 14px;
  transition: background-color .2s ease, transform .2s ease;
}
.kontakt-liste li:hover { background: rgba(248,179,38,.08); transform: translateX(4px); }
.kontakt-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(140deg, var(--gold), #e39a12);
  display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(248,179,38,.28);
}
.kontakt-icon svg { width: 24px; height: 24px; fill: #201d16; }
.kontakt-daten { display: flex; flex-direction: column; gap: 3px; }
.kontakt-label {
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text);
}
.kontakt-wert { color: var(--ink); font-size: 18px; font-weight: 600; line-height: 1.35; }
.kontakt-info a.kontakt-wert { color: var(--ink); text-decoration: none; }
.kontakt-info a.kontakt-wert:hover { color: var(--blau); }
.kontakt-wert--adresse { font-size: 16px; font-weight: 400; color: var(--ink-weich); }
.kontakt-info__cta { margin-top: 28px; width: 100%; justify-content: center; }
.kontakt-formular h2 { margin-top: 0; }
.kontakt-formular > p { color: var(--ink-weich); font-size: 17px; line-height: 1.7; margin-bottom: 1.4em; }
.formular { max-width: none; }

/* Über uns — Spezial-Layout */
.ueber-raster { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.ueber-kicker {
  display: block; font-family: "Montserrat", sans-serif; font-weight: 600;
  font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  color: #9a968f; margin-bottom: .7em;
}
.ueber-text h2 {
  font-size: clamp(30px, 3.6vw, 50px); text-transform: uppercase;
  margin: 0 0 .8em; padding-bottom: 0;
}
.ueber-text h2::after { display: none; }
.ueber-lead { font-size: 19px !important; color: var(--ink) !important; font-weight: 500; }
.ueber-text p { color: var(--ink-weich); font-size: 17px; line-height: 1.7; }
.ueber-text strong { color: var(--ink); }

/* eingekringelter Text */
.kringel { position: relative; display: inline-block; white-space: nowrap; font-weight: 700; color: var(--ink); }
/* handgezeichnete doppelte Unterstreichung unter dem Text */
.kringel__svg {
  position: absolute; left: -4px; bottom: -0.32em;
  width: calc(100% + 8px); height: 0.6em;
  overflow: visible; pointer-events: none;
}
.kringel__svg path {
  fill: none; stroke: #6cc24a; stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
}
/* Endlos-Schleife: zeichnen → halten → ausblenden → neu zeichnen */
.kringel.gezeichnet .strich1 { animation: kringel-schleife 4s ease-in-out infinite; }
.kringel.gezeichnet .strich2 { animation: kringel-schleife 4s ease-in-out .35s infinite; }
@keyframes kringel-schleife {
  0%   { stroke-dashoffset: 100; opacity: 0; }
  8%   { opacity: 1; }
  32%  { stroke-dashoffset: 0;   opacity: 1; }
  80%  { stroke-dashoffset: 0;   opacity: 1; }
  92%  { stroke-dashoffset: 0;   opacity: 0; }
  100% { stroke-dashoffset: 100; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .kringel.gezeichnet .strich1,
  .kringel.gezeichnet .strich2 { animation: none; }
  .kringel__svg path { stroke-dashoffset: 0; }
}

/* große „20" mit Haus davor (wie im Original) */
.ueber-visual { position: relative; min-height: 540px; }
.ueber-zahl {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font-family: "Outfit", sans-serif; font-weight: 800;
  font-size: clamp(260px, 32vw, 460px); line-height: .78;
  color: var(--gold); z-index: 0; white-space: nowrap; user-select: none;
}
.ueber-haus {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  z-index: 1; width: 100%; max-width: 580px;
  filter: drop-shadow(0 20px 30px rgba(22,22,63,.18));
}

/* Bilder im Seiteninhalt */
.seitenbild { margin: 24px 0; }
.seitenbild img { width: 100%; border-radius: 10px; }
.seitenbilder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.seitenbilder img { width: 100%; border-radius: 10px; }

/* Abwechselndes Zweispalten-Layout: Text/Bild, dann Bild/Text … */
.wechsel-reihe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;      /* Bild oben auf Texthöhe ausrichten */
  margin-block: 56px;
}
.wechsel-reihe:first-child { margin-top: 0; }
.wechsel-reihe.bild-links > figure { order: -1; }   /* Bild nach links */
.wechsel-text > :first-child,
.wechsel-text h2:first-child { margin-top: 0; }
.wechsel-bild { margin: 0; }
.wechsel-bild img {
  width: 100%;
  aspect-ratio: 3 / 2;        /* alle Bilder gleich groß im Wechsel-Layout */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(22,22,63,.10);
}
/* mehr Abstand nach oben für einzelne Reihen */
.wechsel-reihe--luft { margin-top: 96px; }

/* Überschrift über die ganze Seitenbreite (zentriert) */
.voll-titel {
  text-align: center;
  font-size: clamp(26px, 3vw, 40px);
  max-width: 940px;
  margin: 58px auto 34px;
  padding-bottom: .45em;
  position: relative;
}
.voll-titel::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 0; width: 66px; height: 4px; background: var(--gold); border-radius: 2px;
}
/* gleiche Größe, aber linksbündig */
.voll-titel--links { text-align: left; max-width: none; margin-inline: 0; }
.voll-titel--links::after { left: 0; transform: none; }
.seitenblock--abstand { margin-top: 52px; }
.seitenblock--luft { margin-block: 84px; }
/* Reihe mit vertikal mittig stehendem Text */
.wechsel-reihe--mitte { align-items: center; }
/* Überschrift ohne den goldenen Unterstrich */
.seiteninhalt h2.ohne-strich { padding-bottom: 0; }
.seiteninhalt h2.ohne-strich::after { display: none; }
@media (max-width: 820px) {
  .wechsel-reihe { grid-template-columns: 1fr; gap: 24px; margin-block: 38px; }
  .wechsel-reihe.bild-links > figure { order: 0; }   /* auf Mobil Text zuerst */
}

/* =========================================================================
   FAQ (Accordion)
   ========================================================================= */
.faq-seite .inhalt { max-width: 860px; }
.faq-intro { color: var(--ink-weich); font-size: 18px; line-height: 1.7; margin: 0 0 36px; }
.faq-intro a { color: var(--blau); text-decoration: underline; }
.faq-liste { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item[open] { border-color: var(--gold); box-shadow: 0 10px 26px rgba(22,22,63,.07); }
.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 20px 60px 20px 24px;
  position: relative;
  font-family: "Outfit", sans-serif; font-weight: 600; font-size: 18px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gold); color: var(--dunkel);
  display: grid; place-items: center; font-size: 22px; line-height: 1;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:hover { color: var(--blau); }
.faq-antwort { padding: 0 24px 22px; }
.faq-antwort p { color: var(--ink-weich); font-size: 16px; line-height: 1.75; margin: 0; }
.faq-antwort a { color: var(--blau); text-decoration: underline; }

/* Auswahlfeld im Formular */
.formular select {
  width: 100%;
  font-family: inherit; font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--grau-linie);
  border-radius: var(--radius);
  background: var(--weiss);
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c8901a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 22px;
  padding-right: 40px;
}

/* =========================================================================
   Responsiv
   ========================================================================= */
@media (max-width: 980px) {
  .intro .inhalt,
  .cta .inhalt { grid-template-columns: 1fr; gap: 34px; }
  /* Hero: Text oben, darunter die 3 Bilder als eigenes Raster */
  .hero .inhalt { grid-template-columns: 1fr; gap: 28px; }
  .hero__kacheln {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .kachel { min-height: 420px; }
  .karten, .raster { grid-template-columns: repeat(2, 1fr); }
  .intro__badge { width: 100px; right: 6px; bottom: -16px; }
  .kontakt-raster { grid-template-columns: 1fr; gap: 30px; }
  .ueber-raster { grid-template-columns: 1fr; gap: 36px; }
  .ueber-visual { min-height: 320px; }
}

@media (max-width: 760px) {
  .topbar .inhalt { gap: 1rem; font-size: 13px; }
  .hauptnav { display: none; }
  .hauptnav.offen {
    display: block;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--weiss);
    box-shadow: 0 12px 30px rgba(22,22,63,.14);
    padding: 10px 0;
  }
  .hauptnav.offen ul { flex-direction: column; align-items: stretch; }
  .hauptnav.offen li + li > a::before { display: none; }
  .hauptnav.offen .unter { position: static; display: block; box-shadow: none; border-top: 0; padding-left: 16px; }
  .hauptnav.offen .unter-2 { position: static; display: flex; box-shadow: none; border-top: 0; padding-left: 16px; }
  .hauptnav.offen .unter-gruppe__titel { color: var(--gold); pointer-events: none; }
  .nav-schalter {
    display: inline-flex; flex-direction: column; gap: 5px;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav-schalter span { width: 26px; height: 2px; background: var(--dunkel); display: block; }
  .hero__kacheln { grid-template-columns: 1fr; }
  /* Touch: kein Hover — Titel/Button auf den Kacheln dauerhaft zeigen */
  .kachel__titel, .kachel .btn { opacity: 1; transform: none; }
  .kachel::after { background: linear-gradient(180deg, rgba(36,36,36,.1) 0%, rgba(36,36,36,.8) 100%); }
  .karten, .raster { grid-template-columns: 1fr; }
  .fuss .inhalt { grid-template-columns: 1fr; }
  .formular__reihe { grid-template-columns: 1fr; }
}
