/* Schrift Outfit (SIL Open Font License), lokal eingebunden – keine Verbindung zu Google */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("schrift/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("schrift/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Autoglas Kühbach – Gestaltung nach dem CI-Basis-Manual von Fahrzeuggutachten Bayern
   Farben: Dunkelblau #2e3644, Gold #ffd618, Schwarz #1d1d1d, Weiß. Schrift: Outfit. */

:root {
  --blau: #2e3644;
  --blau-tief: #262d39;
  --blau-hell: #3b4454;
  --gold: #ffd618;
  --schwarz: #1d1d1d;
  --weiss: #ffffff;
  --grau: #ececec;
  --linie: rgba(46, 54, 68, 0.16);
  --linie-hell: rgba(255, 255, 255, 0.16);
  --text-leise: rgba(46, 54, 68, 0.74);
  --breite: 1180px;
  --radius: 14px;
  --rauten: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='76' viewBox='0 0 44 76'%3E%3Cpath d='M22 0 44 38 22 76 0 38z' fill='%23000'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--blau);
  background: var(--weiss);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }

h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 300; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 600; }
h1 b, h2 b { font-weight: 800; }

.ag-innen { width: min(100% - 40px, var(--breite)); margin-inline: auto; }
.ag-abschnitt { padding: clamp(56px, 8vw, 104px) 0; }
.ag-grau { background: var(--grau); }
.ag-dunkel { background: var(--blau); color: var(--weiss); }
.ag-dunkel .ag-leise { color: rgba(255, 255, 255, 0.78); }
.ag-leise, .ag-dunkel .ag-formular .ag-leise { color: var(--text-leise); }

.ag-dach {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.ag-dunkel .ag-dach { color: var(--gold); }
.ag-kopfzeile { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.ag-kopfzeile p { margin-top: 16px; font-size: 1.15rem; }

/* Marker-Text aus dem Manual: Gold hinterlegt, Zeile für Zeile */
.ag-marker {
  background: var(--gold);
  color: var(--blau);
  font-weight: 600;
  padding: 0.08em 0.36em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Knöpfe */
.ag-knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.ag-knopf:hover { transform: translateY(-2px); }
.ag-knopf:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.ag-knopf-gold { background: var(--gold); color: var(--blau); }
.ag-knopf-gold:hover { background: #ffe04d; }
.ag-knopf-linie { border-color: currentColor; background: transparent; }
.ag-knopf-blau { background: var(--blau); color: var(--weiss); }
.ag-knopf-blau:hover { background: var(--blau-hell); }
.ag-knopf svg { width: 20px; height: 20px; flex: none; }

/* Entwurfshinweis */
.ag-entwurf {
  background: var(--gold);
  color: var(--blau);
  font-size: 0.85rem;
  font-weight: 400;
  text-align: center;
  padding: 7px 16px;
}

/* Kopf */
.ag-kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--blau);
  color: var(--weiss);
  border-bottom: 1px solid var(--linie-hell);
}
.ag-kopf .ag-innen { display: flex; align-items: center; gap: 24px; min-height: 84px; }

.ag-logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: inherit; line-height: 1; }
.ag-logo-bild {
  width: 132px;
  aspect-ratio: 900 / 249;
  background: currentColor;
  -webkit-mask: url("bild/silhouette.png") center / contain no-repeat;
  mask: url("bild/silhouette.png") center / contain no-repeat;
}
.ag-logo-wort { margin-top: 5px; font-size: 1.32rem; font-weight: 300; letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap; }
.ag-logo-wort b { font-weight: 700; color: var(--gold); }
.ag-logo-ort {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  margin-top: 5px;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
}
.ag-logo-ort::before, .ag-logo-ort::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: 0.8; }
.ag-logo-hell { color: var(--blau); }
.ag-logo-gross .ag-logo-bild { width: 190px; }
.ag-logo-gross .ag-logo-wort { font-size: 1.9rem; }
.ag-logo-gross .ag-logo-ort { font-size: 0.82rem; }

.ag-nav { display: flex; gap: 4px; margin-left: auto; }
.ag-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 400; text-decoration: none; }
.ag-nav a:hover { background: rgba(255, 255, 255, 0.1); }
.ag-kopf-tel { white-space: nowrap; }

/* Hero */
.ag-hero { position: relative; overflow: hidden; background: var(--blau); color: var(--weiss); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.ag-rauten {
  position: absolute;
  width: 520px;
  height: 520px;
  pointer-events: none;
  -webkit-mask: var(--rauten) 0 0 / 44px 76px;
  mask: var(--rauten) 0 0 / 44px 76px;
}
.ag-rauten-oben { top: -330px; right: -250px; background: var(--weiss); transform: rotate(-27deg); }
.ag-rauten-unten { bottom: -455px; left: -350px; background: var(--gold); transform: rotate(-27deg); }
.ag-hero .ag-innen { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ag-hero h1 span { display: block; }
.ag-hero h1 .ag-gold { color: var(--gold); font-weight: 800; }
.ag-hero-text { font-size: 1.2rem; max-width: 34em; margin: 22px 0 30px; color: rgba(255, 255, 255, 0.86); }
.ag-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.ag-hero-bild { position: relative; }
.ag-hero-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.ag-hero-kreis {
  position: absolute;
  left: -34px;
  bottom: -34px;
  display: grid;
  place-content: center;
  width: 148px;
  height: 148px;
  border: 4px solid var(--gold);
  border-radius: 50%;
  background: var(--blau);
  text-align: center;
  font-weight: 600;
  line-height: 1.25;
}
.ag-hero-kreis small { display: block; font-size: 0.78rem; font-weight: 300; }

.ag-werte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie-hell); }
.ag-werte li { padding: 18px 18px 0 0; }
.ag-werte b { display: block; font-size: 1.25rem; font-weight: 700; color: var(--gold); }
.ag-werte span { font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }

/* Karten */
.ag-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ag-karte {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
a.ag-karte:hover { transform: translateY(-4px); border-color: var(--blau); }
.ag-karte-nr { display: grid; place-content: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 50%; background: var(--gold); color: var(--blau); font-size: 1.15rem; font-weight: 700; line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.ag-karte h3 { margin-bottom: 10px; }
.ag-karte p { margin-bottom: 20px; }
.ag-karte-mehr { margin-top: auto; font-weight: 600; }
.ag-karte-mehr::after { content: " →"; }

/* Zweispalter */
.ag-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ag-liste { margin: 0 0 26px; padding: 0; list-style: none; }
.ag-liste li { position: relative; padding: 9px 0 9px 34px; border-bottom: 1px solid var(--linie); }
.ag-dunkel .ag-liste li { border-color: var(--linie-hell); }
.ag-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.92em;
  width: 14px;
  height: 14px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.ag-kasten { padding: 30px 28px; border-radius: var(--radius); background: var(--blau-hell); }
.ag-kasten-gold { background: var(--gold); color: var(--blau); }
.ag-kasten-gold h3 { font-size: 1.5rem; font-weight: 800; }
.ag-kasten p:last-child { margin-bottom: 0; }

/* Schritte */
.ag-schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 0 0 clamp(32px, 5vw, 56px); padding: 0; list-style: none; counter-reset: schritt; }
.ag-schritte li { counter-increment: schritt; padding-top: 18px; border-top: 3px solid var(--gold); }
.ag-schritte li::before { content: counter(schritt); display: block; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.ag-schritte h3 { margin-bottom: 8px; }
.ag-schritte p { margin: 0; }

/* Formular */
.ag-formular { padding: clamp(24px, 4vw, 40px); background: var(--weiss); color: var(--blau); border-radius: var(--radius); }
.ag-formular h3 { font-size: 1.5rem; margin-bottom: 6px; }
.ag-felder { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 22px 0; }
.ag-feld { display: flex; flex-direction: column; gap: 6px; }
.ag-feld-breit { grid-column: 1 / -1; }
.ag-feld label { font-size: 0.9rem; font-weight: 600; }
.ag-feld input, .ag-feld textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid rgba(46, 54, 68, 0.4);
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  color: inherit;
  background: var(--weiss);
}
.ag-feld textarea { min-height: 110px; resize: vertical; }
.ag-zustimmung { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; font-size: 0.92rem; }
.ag-zustimmung input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blau); flex: none; }
.ag-hinweis { margin: 14px 0 0; font-size: 0.9rem; }

/* Autoglas */
.ag-glas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.ag-glas article { padding: 24px 22px; background: var(--weiss); border-radius: var(--radius); border: 1px solid var(--linie); }
.ag-glas h3 { font-size: 1.15rem; margin-bottom: 8px; }
.ag-glas p { margin: 0; font-size: 0.98rem; }

/* Personen */
.ag-personen { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ag-person { padding: 28px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); }
.ag-person .ag-dach { margin-bottom: 8px; font-size: 0.72rem; }
.ag-person h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; }
.ag-person p { margin: 0; }

/* Zitat / Bewertungen */
.ag-zitat { position: relative; overflow: hidden; }
.ag-zitat .ag-innen { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; }
.ag-zahl { font-size: clamp(4rem, 9vw, 7rem); font-weight: 800; line-height: 0.9; color: var(--gold); }
.ag-sterne { color: var(--gold); letter-spacing: 0.18em; font-size: 1.3rem; }

/* FAQ */
.ag-faq { max-width: 860px; }
.ag-faq details { border-bottom: 1px solid var(--linie); }
.ag-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary::after { content: "+"; font-size: 1.6rem; font-weight: 300; line-height: 1; flex: none; transition: transform 0.2s ease; }
.ag-faq details[open] summary::after { transform: rotate(45deg); }
.ag-faq details p { max-width: 62ch; padding-bottom: 20px; margin: 0; }

/* Kontakt */
.ag-kontaktwege { display: grid; gap: 14px; }
.ag-weg {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--linie-hell);
  border-radius: var(--radius);
  text-decoration: none;
}
a.ag-weg:hover { border-color: var(--gold); }
.ag-weg-zeichen { display: grid; place-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--blau); }
.ag-weg-zeichen svg { width: 24px; height: 24px; }
.ag-weg small { display: block; font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.ag-weg b { font-size: 1.2rem; font-weight: 600; overflow-wrap: anywhere; }

/* Schwesterfirma */
.ag-schwester { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--blau); color: var(--weiss); }
.ag-schwester h3 { font-size: 1.5rem; margin-bottom: 8px; }
.ag-schwester p { margin: 0; color: rgba(255, 255, 255, 0.82); }

/* Fuß */
.ag-fuss { background: var(--blau-tief); color: rgba(255, 255, 255, 0.82); padding: 56px 0 110px; font-size: 0.98rem; }
.ag-fuss .ag-innen { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.ag-fuss .ag-logo { color: var(--weiss); align-items: center; margin-bottom: 18px; }
.ag-fuss-titel { margin: 0 0 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.ag-fuss ul { margin: 0; padding: 0; list-style: none; }
.ag-fuss li { margin-bottom: 6px; }
.ag-fuss a { text-decoration: none; }
.ag-fuss a:hover { color: var(--gold); }
.ag-fuss-unten { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--linie-hell); font-size: 0.88rem; }

/* Leiste am Handy */
.ag-leiste { display: none; }

@media (max-width: 980px) {
  .ag-nav { display: none; }
  .ag-kopf-tel { margin-left: auto; }
  .ag-hero .ag-innen, .ag-zwei, .ag-personen { grid-template-columns: 1fr; }
  .ag-karten, .ag-schritte { grid-template-columns: 1fr; }
  .ag-glas { grid-template-columns: 1fr 1fr; }
  .ag-hero-kreis { left: auto; right: 14px; bottom: -40px; width: 124px; height: 124px; font-size: 0.92rem; }
  .ag-zitat .ag-innen, .ag-schwester { grid-template-columns: 1fr; }
  .ag-fuss .ag-innen { grid-template-columns: 1fr; gap: 28px; }
  .ag-fuss .ag-logo { align-items: center; display: inline-flex; }
  .ag-leiste {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--blau);
    border-top: 1px solid var(--linie-hell);
  }
  .ag-leiste .ag-knopf { min-height: 48px; padding: 8px 12px; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .ag-innen { width: min(100% - 32px, var(--breite)); }
  .ag-kopf .ag-innen { min-height: 76px; }
  .ag-kopf-tel { display: none; }
  .ag-kopf .ag-innen { justify-content: center; }
  .ag-logo-bild { width: 108px; }
  .ag-logo-wort { font-size: 1.12rem; }
  .ag-felder, .ag-glas { grid-template-columns: 1fr; }
  .ag-werte { grid-template-columns: 1fr; }
  .ag-werte li { padding: 12px 0; border-bottom: 1px solid var(--linie-hell); }
  .ag-knoepfe .ag-knopf { width: 100%; }
  .ag-rauten { width: 380px; height: 380px; }
  .ag-rauten-oben { top: -325px; right: -265px; }
  .ag-rauten-unten { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Ergänzungen für die Unterseiten ---------- */

.ag-sprung { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--gold); color: var(--blau); font-weight: 600; }
.ag-sprung:focus { left: 12px; top: 12px; }

.ag-nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.ag-leiste .ag-knopf-linie { color: var(--weiss); }

/* Menü am Handy */
.ag-menue { display: none; }
.ag-menue summary { display: grid; place-content: center; width: 48px; height: 48px; border: 1.5px solid var(--linie-hell); border-radius: 12px; cursor: pointer; list-style: none; }
.ag-menue summary::-webkit-details-marker { display: none; }
.ag-menue summary span, .ag-menue summary span::before, .ag-menue summary span::after { display: block; width: 22px; height: 2px; background: var(--weiss); content: ""; }
.ag-menue summary span { position: relative; }
.ag-menue summary span::before { position: absolute; top: -7px; }
.ag-menue summary span::after { position: absolute; top: 7px; }
.ag-menue nav { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 10px 20px 20px; background: var(--blau); border-bottom: 3px solid var(--gold); }
.ag-menue nav a { padding: 14px 4px; border-bottom: 1px solid var(--linie-hell); font-size: 1.15rem; font-weight: 400; text-decoration: none; }
.ag-menue nav a[aria-current="page"] { color: var(--gold); font-weight: 600; }

/* Kopf der Unterseiten */
.ag-seitenkopf { position: relative; overflow: hidden; background: var(--blau); color: var(--weiss); padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 76px); }
.ag-seitenkopf .ag-innen { position: relative; }
.ag-seitenkopf h1 { max-width: 18em; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.ag-seitenkopf h1 b { color: var(--gold); }
.ag-seitenkopf .ag-hero-text { margin-bottom: 26px; }
.ag-seitenkopf .ag-dach { color: var(--gold); }
.ag-brotkrumen { margin: 0 0 22px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.72); }
.ag-brotkrumen li + li::before { content: "/"; margin-right: 8px; }
.ag-brotkrumen a { text-decoration: none; }
.ag-brotkrumen a:hover { color: var(--gold); }

/* Fließtext, z. B. Impressum und Datenschutz */
.ag-text { max-width: 760px; }
.ag-text h2 { font-size: 1.5rem; font-weight: 700; margin: 2em 0 0.5em; }
.ag-text h3 { font-size: 1.15rem; margin: 1.5em 0 0.4em; }
.ag-text h2:first-child { margin-top: 0; }
.ag-text a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ag-text ul { padding-left: 1.2em; }
.ag-text li { margin-bottom: 0.3em; }

.ag-vermerk { padding: 16px 20px; border-left: 5px solid var(--gold); background: var(--grau); font-weight: 400; margin-bottom: 2em; }

.ag-zwei-mitte { align-items: center; }
.ag-abstand { margin-top: clamp(28px, 4vw, 48px); }
.ag-karten-zwei { grid-template-columns: repeat(2, 1fr); }
.ag-karte-ruhig { background: var(--grau); border-color: transparent; }
.ag-bild { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.ag-karte-dunkel { background: var(--blau-hell); border-color: transparent; color: var(--weiss); }

.ag-fuss .ag-innen { grid-template-columns: 1.4fr 1fr 1fr 1fr; }

@media (max-width: 980px) {
  .ag-menue { display: block; }
  .ag-kopf .ag-innen { position: static; }
  .ag-kopf { position: sticky; }
  .ag-kopf-tel { margin-left: auto; }
  .ag-karten-zwei { grid-template-columns: 1fr; }
  .ag-fuss .ag-innen { grid-template-columns: 1fr 1fr; }
  .ag-fuss .ag-innen > div:first-child, .ag-fuss-unten { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .ag-kopf .ag-innen { justify-content: space-between; }
  .ag-fuss .ag-innen { grid-template-columns: 1fr; }
}

.ag-kasten-gold .ag-liste li { border-color: rgba(46, 54, 68, 0.25); }
.ag-kasten-gold .ag-liste li:last-child { border-bottom: 0; }
.ag-kasten-gold .ag-liste li::before { background: var(--blau); }

/* Personen mit Foto */
.ag-person { padding: 0; overflow: hidden; }
.ag-person-text { padding: 26px 28px; align-self: center; }
@media (max-width: 560px) {
}

/* Formular: Falle für Spam-Roboter, für Menschen unsichtbar */
.ag-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ag-meldung { padding: 16px 20px; border-left: 5px solid var(--gold); background: var(--grau); font-weight: 400; margin-bottom: 20px; }

.ag-kasten-titel { font-size: 1.3rem; font-weight: 600; }

/* Google-Bewertungen */
.ag-bew-zahl { display: block; font-size: clamp(3rem, 6vw, 4.2rem); font-weight: 800; line-height: 1; color: var(--gold); letter-spacing: 0; }
.ag-bew-sterne { color: var(--gold); letter-spacing: 0.12em; }
.ag-bew-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ag-bew-karte { margin: 0; padding: 26px 24px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); display: flex; flex-direction: column; gap: 12px; }
.ag-bew-karte blockquote { margin: 0; font-weight: 400; white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.ag-bew-mehr { font-size: 0.9rem; font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ag-bew-karte figcaption { margin-top: auto; font-size: 0.92rem; font-weight: 600; }
.ag-bew-karte figcaption a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ag-bew-quelle { margin: 18px 0 0; font-size: 0.88rem; }
@media (max-width: 980px) { .ag-bew-liste { grid-template-columns: 1fr; } }

/* Einzugsgebiet und Nachweise */
.ag-orte { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ag-orte li { padding: 10px 18px; border-radius: 999px; background: var(--grau); font-weight: 600; }
.ag-nachweis { display: flex; gap: 18px; align-items: center; margin-top: 22px; padding: 20px 24px; border-radius: var(--radius); border: 2px solid var(--gold); background: var(--weiss); }
.ag-nachweis .ag-karte-nr { flex: none; margin: 0; }
.ag-nachweis p { margin: 0; }
/* ---------- Autoglas-Seite ---------- */

.ag-feld select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid rgba(46, 54, 68, 0.4);
  border-radius: 10px;
  font: inherit;
  font-weight: 400;
  color: inherit;
  background: var(--weiss);
}
.ag-feld select:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.ag-hero-kasten { position: relative; }
.ag-hero-kasten .ag-dach { margin-bottom: 8px; }
.ag-kasten a, .ag-zwei p a, .ag-kopfzeile a, .ag-karte p a { text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.ag-kasten a.ag-knopf { text-decoration: none; }
@media (max-width: 980px) {
  .ag-hero .ag-rauten-oben, .ag-seitenkopf .ag-rauten-oben { top: -400px; right: -340px; }
}
/* Sechs Menüpunkte plus Telefonknopf passen erst ab 1140 px nebeneinander */
@media (max-width: 1140px) {
  .ag-nav { display: none; }
  .ag-menue { display: block; }
  .ag-kopf .ag-innen { position: static; }
  .ag-kopf-tel { margin-left: auto; }
}
.ag-orte a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
