/* ==========================================================================
   Gfellex — Design-System für den Seiten-Neubau (Übungsraum)
   Farben aus der bestehenden Live-Seite übernommen: #273b89 (Marke), #1863dc (Akzent)
   Struktur/Ruhe nach dem Vorbild storenonline.ch, Bildsprache und Marke von Gfellex.
   ========================================================================== */

:root {
  --gf-blau:        #273b89;   /* Markenblau, dominant auf gfellex.ch */
  --gf-blau-dunkel: #1c2b66;
  --gf-blau-hell:   #1863dc;   /* Akzent / Links */
  --gf-blau-schleier:#eef2fb;

  --gf-tinte:       #212121;
  --gf-text:        #2d2d2d;
  --gf-grau:        #6b7280;
  --gf-linie:       #e0dede;
  --gf-flaeche:     #f4f4f4;
  --gf-weiss:       #ffffff;

  --gf-gruen:       #1e7a4d;   /* verfügbar / Vorteil */
  --gf-gelb:        #ffc933;   /* Accardi-Gelb, direkt aus dem Logo GF_17Jahre.svg */
  --gf-gold:        #ffc933;   /* Sterne */

  /* Gleiche Schrift wie im Shop: Lato (siehe shop/style/orion-modern.css) */
  --gf-serif: 'Lato', Arial, Helvetica, sans-serif;
  --gf-display: 'Lato', Arial, Helvetica, sans-serif;

  --gf-max: 1180px;
  --gf-mass: 68ch;
  --gf-radius: 4px;
  --gf-schatten: 0 1px 3px rgba(33,33,33,.08), 0 8px 24px rgba(39,59,137,.06);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--gf-weiss);
  color: var(--gf-text);
  font-family: var(--gf-serif);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gf-blau-hell); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gf-blau-hell);
  outline-offset: 2px;
}

.gf-wrap { max-width: var(--gf-max); margin: 0 auto; padding: 0 20px; }
.gf-mass { max-width: var(--gf-mass); }

/* --- Typografie ------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--gf-display);
  color: var(--gf-tinte);
  line-height: 1.2;
  text-wrap: balance;
  margin: 0 0 14px;
  font-weight: 700;
}
h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3.2vw, 33px); }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { margin: 0 0 15px; }
p, li { max-width: var(--gf-mass); }

.gf-augenbraue {
  display: inline-block;
  font-family: var(--gf-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--gf-gelb);          /* Accardi-Gelb */
  color: var(--gf-tinte);              /* dunkler Text auf Gelb = hoher Kontrast */
  padding: 5px 13px 4px;
  border-radius: 2px;
  margin: 0 0 14px;
}
/* .gf-kopf p faerbt sonst ALLE Absaetze grau und schlaegt .gf-augenbraue (hoehere
   Spezifitaet). Deshalb hier ausdruecklich staerker adressieren. */
.gf-kopf .gf-augenbraue,
.gf-abschnitt--marke .gf-augenbraue,
.gf-hero .gf-augenbraue { color: var(--gf-tinte); }

.gf-lead { font-size: 19px; line-height: 1.6; color: var(--gf-grau); }

/* --- Abschnitte ------------------------------------------------------- */

.gf-abschnitt { padding: 64px 0; }
.gf-abschnitt--flaeche { background: var(--gf-flaeche); }
.gf-abschnitt--marke { background: var(--gf-blau); color: #fff; }
.gf-abschnitt--marke h2, .gf-abschnitt--marke h3 { color: #fff; }
.gf-abschnitt--marke a { color: #fff; text-decoration: underline; }
.gf-abschnitt--marke a.gf-knopf { text-decoration: none; }  /* Knoepfe nicht unterstreichen */

.gf-kopf { margin-bottom: 34px; }
.gf-kopf p { color: var(--gf-grau); max-width: none; }  /* Einleitungen ueber die volle Breite (Salvatore) */

/* --- Kopfzeile / Navigation ------------------------------------------- */

.gf-topbar {
  background: var(--gf-blau);
  border-bottom: 2px solid var(--gf-gelb);
  color: #fff;
  font-size: 14px;
}
.gf-topbar .gf-wrap {
  display: flex; flex-wrap: wrap; gap: 6px 22px;
  align-items: center; justify-content: space-between;
  padding-top: 7px; padding-bottom: 7px;
}
.gf-topbar a { color: #fff; }
.gf-topbar-vorteile { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.gf-topbar-vorteile li { max-width: none; }

.gf-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--gf-linie);
}
.gf-header .gf-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding-top: 12px; padding-bottom: 12px;
}
.gf-logo img { width: 205px; }   /* Salvatore 11.08.2026: groesser (vorher 168) */

.gf-nav { display: flex; align-items: center; gap: 1px; flex-wrap: wrap; justify-content: flex-end; }
/* Kompakt gehalten, damit die Navigation neben dem groesseren Logo (Salvatore
   11.08.2026) einzeilig bleibt. Lato ist breiter als Oswald — hier ist wenig Luft. */
.gf-nav > a {
  font-family: var(--gf-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--gf-tinte);
  padding: 8px 7px;
  border-radius: var(--gf-radius);
  white-space: nowrap;
}
.gf-nav > a:hover { background: var(--gf-blau-schleier); text-decoration: none; }
.gf-nav > a[aria-current="page"] { color: var(--gf-blau); box-shadow: inset 0 -3px 0 var(--gf-blau); }

.gf-knopf {
  display: inline-block;
  font-family: var(--gf-display);
  font-weight: 700;
  font-size: 15px;
  background: var(--gf-blau);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: var(--gf-radius);
  border: 2px solid var(--gf-blau);
  text-align: center;
}
.gf-knopf:hover { background: var(--gf-blau-dunkel); border-color: var(--gf-blau-dunkel); text-decoration: none; }
.gf-knopf--linie { background: transparent; color: var(--gf-blau) !important; }
.gf-knopf--linie:hover { background: var(--gf-blau-schleier); color: var(--gf-blau) !important; }
.gf-knopf--hell { background: #fff; color: var(--gf-blau) !important; border-color: #fff; }

/* --- Brotkrumen ------------------------------------------------------- */

.gf-krumen { font-size: 14px; color: var(--gf-grau); padding: 14px 0; }
.gf-krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.gf-krumen li { max-width: none; }
.gf-krumen li + li::before { content: "›"; margin-right: 8px; color: var(--gf-linie); }

/* --- Hero ------------------------------------------------------------- */

.gf-hero { background: var(--gf-blau-schleier); padding: 52px 0 56px; }
.gf-hero-grid { display: grid; gap: 34px; align-items: stretch; }
@media (min-width: 900px) { .gf-hero-grid { grid-template-columns: 1.05fr .95fr; } }
.gf-hero-bild img { border-radius: var(--gf-radius); box-shadow: var(--gf-schatten); width: 100%; object-fit: cover; }

/* --- Die zwei Wege (Fullservice / Selbermachen) ------------------------ */

.gf-wege { display: grid; gap: 16px; margin-top: 26px; }
@media (min-width: 620px) { .gf-wege { grid-template-columns: 1fr 1fr; } }
.gf-weg {
  background: #fff;
  border: 1px solid var(--gf-linie);
  border-top: 4px solid var(--gf-blau);
  border-radius: var(--gf-radius);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.gf-weg h3 { margin: 0; }
.gf-weg p { margin: 0; font-size: 15.5px; color: var(--gf-grau); flex: 1; }
.gf-weg .gf-preis { font-family: var(--gf-display); font-size: 20px; color: var(--gf-tinte); }

/* --- Produktkarten ---------------------------------------------------- */

.gf-karten { display: grid; gap: 20px; }
@media (min-width: 560px) { .gf-karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gf-karten { grid-template-columns: repeat(4, 1fr); } }
.gf-karten--3 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .gf-karten--3 { grid-template-columns: repeat(3, 1fr); } }

.gf-karte {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius);
  overflow: hidden;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease;
}
a.gf-karte:hover { text-decoration: none; box-shadow: var(--gf-schatten); transform: translateY(-2px); }
.gf-karte-bild { aspect-ratio: 4 / 3; background: var(--gf-flaeche); overflow: hidden; }
.gf-karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.gf-karte-text { padding: 15px 17px 18px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.gf-karte-text h3 { margin: 0; font-size: 18px; }
.gf-karte-text p { margin: 0; font-size: 14.5px; color: var(--gf-grau); flex: 1; }
.gf-karte-preis { font-family: var(--gf-display); color: var(--gf-blau); font-size: 17px; }
.gf-karte-mehr { font-size: 14.5px; color: var(--gf-blau-hell); font-weight: 600; }

/* --- Merkmal-Reihe ---------------------------------------------------- */

.gf-merkmale { display: grid; gap: 30px 22px; }
@media (min-width: 700px) { .gf-merkmale { grid-template-columns: repeat(4, 1fr); } }
.gf-merkmal h3 { font-size: 17px; margin-bottom: 5px; }
.gf-merkmal p { font-size: 15px; color: var(--gf-grau); margin: 0; }
.gf-merkmal-zahl { font-family: var(--gf-display); font-size: 34px; color: var(--gf-blau); line-height: 1; display: block; margin-bottom: 6px; }

/* --- Bewertungen ------------------------------------------------------ */

.gf-sterne { color: var(--gf-gold); letter-spacing: 2px; font-size: 17px; }
.gf-bewertungen { display: grid; gap: 18px; }
@media (min-width: 760px) { .gf-bewertungen { grid-template-columns: repeat(2, 1fr); } }
.gf-bewertung {
  background: #fff; border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 9px;
}
.gf-bewertung blockquote { margin: 0; font-size: 15.5px; }
.gf-bewertung cite { font-style: normal; font-size: 14px; color: var(--gf-grau); }
.gf-bewertung-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.gf-platzhalter {
  border: 2px dashed #c2410c;
  background: #fff7ed;
  color: #7c2d12;
  border-radius: var(--gf-radius);
  padding: 16px 18px;
  font-size: 15px;
}
.gf-platzhalter strong { color: #7c2d12; }
.gf-platzhalter p { max-width: none; }
.gf-platzhalter > :last-child { margin-bottom: 0; }

/* --- Standort --------------------------------------------------------- */

.gf-standort-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 880px) { .gf-standort-grid { grid-template-columns: 1fr 1fr; } }
.gf-adresse { font-style: normal; font-size: 17px; line-height: 1.8; }

/* --- FAQ -------------------------------------------------------------- */

.gf-faq details {
  border-bottom: 1px solid var(--gf-linie);
  padding: 4px 0;
}
.gf-faq summary {
  font-family: var(--gf-display);
  font-size: 18px;
  color: var(--gf-tinte);
  cursor: pointer;
  padding: 15px 0;
  list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
}
.gf-faq summary::-webkit-details-marker { display: none; }
.gf-faq summary::after { content: "+"; color: var(--gf-blau); font-size: 24px; line-height: 1; }
.gf-faq details[open] summary::after { content: "–"; }
.gf-faq details p { padding-bottom: 14px; max-width: none; }

/* --- Ratgeber-Anreisser ----------------------------------------------- */

/* Der Pfeil und die Trennlinie sitzen am LISTENELEMENT, nicht am Link.
   Grund: seit 11.08.2026 stehen in diesen Listen auch Eintraege, bei denen nur ein Teil
   der Zeile ein Link ist („Gitterroste auf Mass — der Rost, der die Last traegt").
   Solange der Stil am <a> hing, machte display:flex den Link zum Block und der
   erklaerende Text rutschte in eine eigene Zeile. */
.gf-liste-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
/* KEIN display:flex am <li>! Sonst wird jeder Link und jedes Textstueck zu einem
   eigenen Flex-Element — bei Eintraegen mit mehreren Links (Garantieseite) zerfaellt
   die Zeile dann in Bloecke und wird dreimal so hoch wie noetig.
   Der Pfeil sitzt deshalb absolut, der Inhalt fliesst normal als Text. */
.gf-liste-links li {
  max-width: none;
  position: relative;
  padding: 13px 4px 13px 27px;
  border-bottom: 1px solid var(--gf-linie);
  color: var(--gf-text);
}
.gf-liste-links li::before {
  content: "→"; color: var(--gf-blau);
  position: absolute; left: 3px; top: 13px;
}
.gf-liste-links a { color: var(--gf-blau-hell); }
.gf-liste-links a:hover { text-decoration: underline; }

/* --- Fusszeile -------------------------------------------------------- */

.gf-footer { background: var(--gf-tinte); color: #cfd3da; padding: 52px 0 26px; font-size: 15px; }
.gf-footer h4 { color: #fff; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }
.gf-footer a { color: #cfd3da; }
.gf-footer a:hover { color: #fff; }
.gf-footer-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .gf-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.gf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.gf-footer li { max-width: none; }
.gf-footer-unten {
  margin-top: 34px; padding-top: 20px;
  border-top: 1px solid #3a3a3a;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: 14px;
}

/* --- Hinweisleiste Übungsraum ----------------------------------------- */

.gf-uebungsraum {
  background: #7c2d12; color: #fff; font-size: 14px;
  padding: 8px 0; text-align: center;
}
.gf-uebungsraum strong { color: #fff; }

/* ===== Produkt-Karussell: alle Produkte auf einen Blick ==================== */

.gf-kar { position: relative; }

.gf-kar-spur {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 2px;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--gf-blau) var(--gf-linie);
}
@media (min-width: 560px) { .gf-kar-spur { grid-auto-columns: 44%; } }
@media (min-width: 860px) { .gf-kar-spur { grid-auto-columns: 30%; } }
@media (min-width: 1120px){ .gf-kar-spur { grid-auto-columns: 23%; } }

.gf-kar-spur::-webkit-scrollbar { height: 8px; }
.gf-kar-spur::-webkit-scrollbar-track { background: var(--gf-linie); border-radius: 4px; }
.gf-kar-spur::-webkit-scrollbar-thumb { background: var(--gf-blau); border-radius: 4px; }

.gf-kar-karte {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: inherit;
}
.gf-kar-karte h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--gf-blau);
  text-align: center;
  margin: 0;
  min-height: 2.4em;
  display: flex; align-items: center; justify-content: center;
}
.gf-kar-karte:hover { text-decoration: none; }
.gf-kar-karte:hover h3 { text-decoration: underline; }

/* Kachel-Titel: Typenname gross, Suchbegriff klein darunter (Salvatore 29.09.2026).
   Die Unterzeile wird IMMER gerendert (auch leer), damit alle Karten gleich hoch bleiben. */
.gf-kar-karte .gf-kar-titel {
  min-height: 3.9em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.gf-kar-karte .gf-kar-titel h3 { min-height: 0; }
.gf-kar-karte .gf-kar-klein {
  font-size: 13px;
  font-weight: 400;
  color: var(--gf-grau);
  text-align: center;
  margin: 0;
  line-height: 1.25;
}

.gf-kar-bild {
  position: relative;
  aspect-ratio: 3 / 4;   /* wie die Mediathek-Bilder 800x1067 - kein Beschnitt der eingebauten Abzeichen */
  overflow: hidden;
  border-radius: var(--gf-radius);
  background: var(--gf-flaeche);
}
.gf-kar-bild img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gf-kar-karte:hover .gf-kar-bild img { transform: scale(1.04); }

/* Rundes Abzeichen wie auf der heutigen Startseite */
.gf-abzeichen {
  position: absolute;
  left: 12px; bottom: 12px;
  width: 92px; height: 92px;
  border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--gf-display);
  font-size: 12px;
  line-height: 1.15;
  letter-spacing: .02em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  pointer-events: none;
}
.gf-abzeichen--blau { background: var(--gf-blau); color: #ffd54a; }
.gf-abzeichen--rot  { background: #c8102e; color: #fff; font-size: 11px; }
.gf-abzeichen--rot b { font-size: 21px; display: block; line-height: 1; margin: 1px 0; }

/* Pfeile */
.gf-kar-pfeil {
  position: absolute; top: calc(50% + 12px);
  transform: translateY(-50%);
  z-index: 3;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gf-linie);
  background: #fff;
  color: var(--gf-blau);
  font-size: 26px; line-height: 1;
  cursor: pointer;
  box-shadow: var(--gf-schatten);
  display: none;
}
.gf-kar-pfeil:hover { background: var(--gf-blau); color: #fff; border-color: var(--gf-blau); }
.gf-kar-pfeil--vor      { left: -18px; }
.gf-kar-pfeil--zurueck  { right: -18px; }
@media (min-width: 900px) { .gf-kar-pfeil { display: block; } }

.gf-kar-hinweis {
  font-size: 14px; color: var(--gf-grau);
  margin-top: 4px;
}
@media (min-width: 900px) { .gf-kar-hinweis { display: none; } }

.gf-welten { display:flex; flex-wrap:wrap; gap:8px 18px; align-items:baseline;
  margin-top:22px; padding-top:18px; border-top:1px solid var(--gf-linie); font-size:16px; }
.gf-welten span { font-family:var(--gf-display); color:var(--gf-grau); }
.gf-welten a { font-family:var(--gf-display); color:var(--gf-blau); }

/* Navigation ab 1100px einzeilig halten */
@media (min-width: 1100px) and (max-width: 1279px) {
  .gf-nav > a { font-size: 14px; padding: 8px 7px; }
}

/* Symbolband ueber dem Heldenbild (Asset-5.svg aus der Mediathek).
   Band ueber die volle Breite und hoeher gesetzt, damit es die Palme am linken Bildrand
   verdeckt; das Bild ist zusaetzlich nach rechts verschoben (object-position). */
.gf-hero-bild { position: relative; height: 100%; min-height: 340px; }
.gf-hero-bild > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% center;   /* rechts ausgerichtet -> Palme links faellt aus dem Bild */
  border-radius: var(--gf-radius);
}
/* --- Symbole senkrecht am rechten Bildrand (Salvatore 11.08.2026) --------
   Vorher lag das Band mit VIER Symbolen waagrecht unter dem Bild. Jetzt stehen
   DREI davon senkrecht rechts im Bild; das vierte („maximale Breite 8 m / Hoehe 3 m")
   entfaellt.

   Technik: Alle Symbole stecken in EINER Datei (Asset-5.svg, 2018 x 454). Statt sie
   zu zerschneiden, wird die Datei als Hintergrund gelegt und jeweils der passende
   Ausschnitt gezeigt.
   Die Blockgrenzen sind GEMESSEN (band_messen.py, Rendern + Spaltenanalyse):
     Symbol 1  x    0–454   Anfertigung auf Mass
     Symbol 2  x  521–975   Ausmessen vor Ort
     Symbol 3  x 1042–1496  Montage vor Ort
     Symbol 4  x 1563–2017  maximale Breite/Hoehe   ← nicht mehr verwendet
   background-size: 2018/455 = 443.52 %. Verschiebeweg = 2018 − 455 = 1563, deshalb
   liegen die drei Positionen genau bei 0 %, 33.333 % und 66.667 %. */
.gf-hero-symbole {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  display: grid; gap: 13px;
  width: clamp(84px, 21%, 118px);   /* Salvatore 11.08.2026: groesser (vorher 15%/92px) */
}
.gf-symbol {
  display: block; width: 100%; aspect-ratio: 1 / 1;
  background-image: url("/neu/assets/img/Asset-5.svg");
  background-repeat: no-repeat;
  background-size: 443.52% auto;
  filter: drop-shadow(0 2px 6px rgba(33,33,33,.22));
}
.gf-symbol--mass     { background-position:  0%      center; }
.gf-symbol--ausmessen{ background-position: 33.333%  center; }
.gf-symbol--montage  { background-position: 66.667%  center; }

@media (max-width: 640px) {
  /* Auf dem Handy nebeneinander unter das Bild, sonst verdecken sie zu viel. */
  .gf-hero-symbole {
    position: static; transform: none; width: auto;
    grid-auto-flow: column; justify-content: start;
    gap: 8px; margin-top: 12px;
  }
  .gf-symbol { width: 84px; }
}

/* Verweise unter den Bewertungen */
.gf-bew-mehr { margin-top: 22px; font-size: 15.5px; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.gf-bew-mehr span { color: var(--gf-linie); }

/* Accardi-Gelb, fein dosiert: Fusszeilen-Titel bekommen einen kurzen Strich */
.gf-footer h4 { position: relative; padding-bottom: 9px; }
.gf-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 26px; height: 2px; background: var(--gf-gelb);
}

/* Kategorieseite: die Bauarten als gleichmaessiges Textraster */
.gf-bauarten { display: grid; gap: 30px 34px; }
@media (min-width: 800px) { .gf-bauarten { grid-template-columns: 1fr 1fr; } }
.gf-bauart h3 { font-size: 20px; margin-bottom: 8px; }
.gf-bauart p { max-width: none; }
.gf-passt { font-size: 15px; color: var(--gf-grau); margin-bottom: 0; }
.gf-passt strong { color: var(--gf-tinte); }

/* Bildausschnitt je Seite: Standard rechts (Startseite), links wo das Produkt links steht */
.gf-hero-bild--links > img:first-child { object-position: 15% center; }  /* etwas nach rechts: schneidet den roten Streifen am linken Bildrand weg */
.gf-hero-bild--mitte > img:first-child { object-position: 50% center; }

/* Argumente-Liste ("Was ein Fliegengitter koennen muss") */
.gf-merkmalsliste { display: grid; gap: 26px 40px; }
@media (min-width: 820px) { .gf-merkmalsliste { grid-template-columns: 1fr 1fr; } }
.gf-merkmalspunkt h3 { font-size: 19px; margin-bottom: 6px; }
.gf-merkmalspunkt p { max-width: none; margin: 0; color: var(--gf-grau); }
.gf-merkmalspunkt--stark {
  border-left: 3px solid var(--gf-gelb);
  padding-left: 16px;
}
@media (min-width: 820px) { .gf-merkmalspunkt--stark { grid-column: 1 / -1; } }
.gf-merkmalspunkt--stark p { color: var(--gf-text); }

/* Drei Detailaufnahmen */
.gf-detail { display: grid; gap: 16px; margin-top: 34px; }
@media (min-width: 700px) { .gf-detail { grid-template-columns: repeat(3, 1fr); } }
.gf-detail figure { margin: 0; }
.gf-detail img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--gf-radius); border: 1px solid var(--gf-linie);
}
.gf-detail-text { margin-top: 18px; max-width: none; font-size: 17px; }

.gf-detail figcaption {
  font-family: var(--gf-display); font-weight: 700; font-size: 15px;
  color: var(--gf-tinte); margin-top: 9px;
}

/* ==========================================================================
   RATGEBER-EBENE (11.08.2026)
   Bausteine für Anleitungen, Modellseiten und die Ratgeber-Übersicht.
   ========================================================================== */

/* --- Schritt-für-Schritt-Anleitung ------------------------------------- */
.gf-schritte { display: grid; gap: 20px; counter-reset: gfschritt; margin-top: 8px; }
@media (min-width: 760px)  { .gf-schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gf-schritte--drei { grid-template-columns: repeat(3, 1fr); } }

.gf-schritt {
  background: var(--gf-weiss);
  border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius);
  padding: 24px 22px 22px;
  position: relative;
}
.gf-schritt::before {
  counter-increment: gfschritt;
  content: counter(gfschritt);
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--gf-blau); color: #fff;
  font-family: var(--gf-display); font-weight: 700; font-size: 17px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.gf-schritt h3 { font-size: 19px; margin-bottom: 8px; }
.gf-schritt p  { max-width: none; margin: 0; color: var(--gf-grau); }
.gf-schritt p + p { margin-top: 10px; }
.gf-schritt img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--gf-radius); border: 1px solid var(--gf-linie);
  margin-bottom: 16px;
}
.gf-abschnitt--flaeche .gf-schritt { border-color: #d8d6d6; }

/* --- Hinweiskasten (Sicherheit, Achtung) ------------------------------- */
.gf-hinweis {
  border-left: 4px solid var(--gf-gelb);
  background: var(--gf-blau-schleier);
  border-radius: var(--gf-radius);
  padding: 18px 22px;
  margin: 26px 0;
}
.gf-hinweis > :last-child { margin-bottom: 0; }
.gf-hinweis strong { color: var(--gf-tinte); }
.gf-hinweis p { max-width: none; }

/* --- Vergleichstabelle ------------------------------------------------- */
.gf-vergleich-rahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
.gf-vergleich {
  width: 100%; min-width: 640px;
  border-collapse: collapse;
  background: var(--gf-weiss);
  font-size: 16px;
}
.gf-vergleich th, .gf-vergleich td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--gf-linie);
  text-align: left;
  vertical-align: top;
  max-width: none;
}
.gf-vergleich thead th {
  background: var(--gf-blau); color: #fff;
  font-family: var(--gf-display); font-weight: 700;
  border-bottom: none;
}
.gf-vergleich thead th:first-child { background: var(--gf-blau-dunkel); }
.gf-vergleich tbody th {
  font-weight: 700; color: var(--gf-tinte);
  background: var(--gf-flaeche);
  white-space: nowrap;
}
.gf-vergleich tbody tr:last-child td,
.gf-vergleich tbody tr:last-child th { border-bottom: none; }
.gf-ja   { color: var(--gf-gruen); font-weight: 700; }
.gf-nein { color: var(--gf-grau); }

/* --- Eckdaten eines Modells (Beschreibungsliste) ----------------------- */
.gf-eckdaten { display: grid; gap: 0; margin: 0 0 22px; border-top: 1px solid var(--gf-linie); }
.gf-eckdaten > div {
  display: grid; gap: 4px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gf-linie);
}
@media (min-width: 620px) { .gf-eckdaten > div { grid-template-columns: 210px 1fr; gap: 16px; } }
.gf-eckdaten dt { font-weight: 700; color: var(--gf-tinte); }
.gf-eckdaten dd { margin: 0; color: var(--gf-grau); max-width: none; }

/* --- Ratgeber-Übersicht ------------------------------------------------ */
.gf-rat-karten { display: grid; gap: 18px; }
@media (min-width: 700px)  { .gf-rat-karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gf-rat-karten { grid-template-columns: repeat(3, 1fr); } }

.gf-rat-karte {
  display: flex; flex-direction: column;
  background: var(--gf-weiss);
  border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius);
  padding: 24px 22px;
  color: inherit;
  transition: box-shadow .18s ease, transform .18s ease;
}
a.gf-rat-karte:hover {
  text-decoration: none;
  box-shadow: var(--gf-schatten);
  transform: translateY(-2px);
}
.gf-rat-karte h3 { font-size: 19px; margin-bottom: 8px; }
a.gf-rat-karte:hover h3 { color: var(--gf-blau-hell); }
.gf-rat-karte p { color: var(--gf-grau); max-width: none; margin: 0 0 14px; flex: 1; }
.gf-rat-thema {
  display: inline-block; align-self: flex-start;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--gf-grau);
  border-bottom: 2px solid var(--gf-gelb);
  margin-bottom: 12px; padding-bottom: 2px;
}
.gf-rat-mehr { font-weight: 700; color: var(--gf-blau-hell); font-size: 15px; }
.gf-rat-karte--bald { opacity: .62; }
.gf-rat-karte--bald .gf-rat-mehr { color: var(--gf-grau); }

/* --- Zwei-Spalten-Text mit Bild (Anleitungen) -------------------------- */
.gf-text-bild { display: grid; gap: 34px; align-items: start; }
@media (min-width: 900px) { .gf-text-bild { grid-template-columns: 1fr 1fr; } }
.gf-text-bild img { border-radius: var(--gf-radius); border: 1px solid var(--gf-linie); }

/* --- Garantie: Bauteil-Blöcke ----------------------------------------- */
.gf-garantie-block {
  border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius);
  background: var(--gf-weiss);
  padding: 26px 24px;
  margin-bottom: 18px;
}
.gf-garantie-block h3 { margin-bottom: 4px; }
.gf-garantie-dauer {
  display: inline-block;
  background: var(--gf-blau); color: #fff;
  font-family: var(--gf-display); font-weight: 700; font-size: 14px;
  padding: 3px 12px; border-radius: 999px;
  margin-bottom: 14px;
}
.gf-garantie-dauer--kurz { background: var(--gf-grau); }
.gf-garantie-block dl { margin: 0; }
.gf-garantie-block dt { font-weight: 700; color: var(--gf-tinte); margin-top: 14px; }
.gf-garantie-block dd { margin: 4px 0 0; color: var(--gf-grau); max-width: none; }

/* Vier Karten nebeneinander (z.B. die vier Gitterrost-Maschen) — mit .gf-karten--3
   ergaebe das ein unausgewogenes 3+1. */
.gf-karten--4 { grid-template-columns: 1fr; }
@media (min-width: 620px)  { .gf-karten--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gf-karten--4 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   FORMULAR (Service-Anfrage, 11.08.2026)
   ========================================================================== */
.gf-formular { display: grid; gap: 18px; max-width: 720px; }
@media (min-width: 680px) { .gf-formular-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } }

.gf-feld { display: grid; gap: 6px; }
.gf-feld label { font-family: var(--gf-display); font-weight: 700; font-size: 15px; color: var(--gf-tinte); }
.gf-feld .gf-pflicht { color: var(--gf-blau); }
.gf-feld input[type="text"],
.gf-feld input[type="email"],
.gf-feld input[type="tel"],
.gf-feld input[type="date"],
.gf-feld select,
.gf-feld textarea {
  font-family: inherit; font-size: 16px; color: var(--gf-text);
  padding: 11px 13px;
  border: 1px solid #c9c7c7; border-radius: var(--gf-radius);
  background: #fff; width: 100%;
}
.gf-feld textarea { min-height: 130px; resize: vertical; }
.gf-feld input:focus, .gf-feld select:focus, .gf-feld textarea:focus {
  outline: none; border-color: var(--gf-blau); box-shadow: 0 0 0 3px rgba(39,59,137,.12);
}
.gf-feld--fehler input, .gf-feld--fehler select, .gf-feld--fehler textarea { border-color: #b3261e; }
.gf-feld-fehler { font-size: 14px; color: #b3261e; }
.gf-feld-hilfe  { font-size: 14px; color: var(--gf-grau); }

/* Honigtopf gegen Spam-Roboter: fuer Menschen unsichtbar, fuer Bots verlockend.
   Bewusst nicht display:none — manche Bots erkennen das und lassen es dann leer. */
.gf-honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.gf-melde {
  border-radius: var(--gf-radius); padding: 18px 22px; margin-bottom: 26px;
  border-left: 4px solid var(--gf-gruen); background: #edf7f1;
}
.gf-melde--fehler { border-left-color: #b3261e; background: #fdeeed; }
.gf-melde > :last-child { margin-bottom: 0; }
.gf-melde strong { color: var(--gf-tinte); }

/* Zwei Wege: was man selbst montiert, was Beratung braucht */
.gf-wahl { display: grid; gap: 20px; }
@media (min-width: 820px) { .gf-wahl { grid-template-columns: 1fr 1fr; } }
.gf-wahl-block {
  background: #fff; border: 1px solid var(--gf-linie); border-radius: var(--gf-radius);
  padding: 26px 24px; border-top: 4px solid var(--gf-blau);
}
.gf-wahl-block--service { border-top-color: var(--gf-gelb); }
.gf-wahl-block h3 { margin-bottom: 6px; }
.gf-wahl-block ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.gf-wahl-block li { max-width: none; padding-left: 24px; position: relative; }
.gf-wahl-block li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--gf-gruen); font-weight: 700;
}
.gf-wahl-block--service li::before { content: "→"; color: var(--gf-blau); }

/* Bild in einem Bauart-/Erklaerblock (Maschen, Sicherungen, Sonderformen) */
.gf-bauart img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--gf-radius); border: 1px solid var(--gf-linie);
  margin-bottom: 14px;
}
.gf-abschnitt--flaeche .gf-bauart img { border-color: #d8d6d6; }

/* Erklaerbilder, die als Zeichnung gedacht sind (Tragstabrichtung, Gleitschutz):
   nicht beschneiden, sonst fehlt die Haelfte der Aussage. */
.gf-zeichnung { display: grid; gap: 20px; margin-top: 8px; }
@media (min-width: 760px)  { .gf-zeichnung { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gf-zeichnung--drei { grid-template-columns: repeat(3, 1fr); } }
.gf-zeichnung figure {
  margin: 0; background: #fff; border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius); padding: 16px 16px 14px;
}
.gf-abschnitt--flaeche .gf-zeichnung figure { border-color: #d8d6d6; }
.gf-zeichnung img {
  width: 100%; height: auto; object-fit: contain;
  border-radius: 2px; margin-bottom: 12px;
}
.gf-zeichnung figcaption { font-size: 15px; color: var(--gf-grau); max-width: none; }
.gf-zeichnung figcaption strong {
  display: block; font-family: var(--gf-display); font-size: 17px;
  color: var(--gf-tinte); margin-bottom: 4px;
}

/* Motiv im Hero-Bild nach rechts ruecken (Salvatore 11.08.2026, Gitterrost-Seite).
   ACHTUNG, das ist verdreht: object-position sagt, WELCHER TEIL des Bildes sichtbar
   bleibt. Zeigt man den LINKEN Teil, wandert das Motiv nach RECHTS. */
.gf-hero-bild--rechts > img:first-child { object-position: left center; }

/* Drei Erklaerbloecke nebeneinander (z.B. die drei Gitterrost-Sicherungen) */
@media (min-width: 1040px) { .gf-bauarten--drei { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   MASCHENVERGLEICH (gezeichnet, 11.08.2026)
   Ersetzt das Rasterbild „Welche Maschenweite wünschen Sie?".
   ========================================================================== */
.gf-maschen {
  background: #fff; border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius); padding: 26px 24px 22px; margin-top: 26px;
}
.gf-abschnitt--flaeche .gf-maschen { border-color: #d8d6d6; }

.gf-maschen-kopf {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  align-items: baseline; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 2px solid var(--gf-gelb);
}
.gf-maschen-kopf h3 { margin: 0; }
.gf-maschen-legende { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.gf-maschen-legende li { max-width: none; font-size: 15px; color: var(--gf-grau); display: flex; align-items: center; gap: 8px; }
.gf-maschen-legende strong { color: var(--gf-tinte); }
.gf-stab { display: inline-block; width: 20px; height: 7px; border-radius: 1px; flex: none; }
.gf-stab--trag  { background: #cf5b57; }
.gf-stab--fuell { background: #5aa469; }

.gf-maschen-reihe { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px)  { .gf-maschen-reihe { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gf-maschen-reihe { grid-template-columns: repeat(5, 1fr); } }

.gf-masche {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: inherit; text-align: center;
  padding: 10px 8px 12px; border-radius: var(--gf-radius);
  transition: background .15s ease;
}
a.gf-masche:hover { text-decoration: none; background: var(--gf-blau-schleier); }
.gf-masche-bild { width: 100%; border-radius: 2px; overflow: hidden; }
.gf-masche-bild svg { display: block; width: 100%; height: auto; }
.gf-masche-titel {
  font-family: var(--gf-display); font-weight: 700; font-size: 17px;
  color: var(--gf-tinte); margin-top: 12px;
}
a.gf-masche:hover .gf-masche-titel { color: var(--gf-blau-hell); }
.gf-masche-art { font-size: 14px; color: var(--gf-grau); }

.gf-maschen-fuss { font-size: 15px; color: var(--gf-grau); max-width: none; margin: 20px 0 0; }

/* --- Ausmessen: Schritte links, Bild rechts daneben (11.08.2026) ---------
   Vorher stand das Bild UNTER den Schritten und liess rechts eine grosse
   leere Flaeche stehen. */
/* stretch statt start: so enden beide Spalten buendig und rechts unten
   bleibt keine Luecke stehen. */
.gf-mess-grid { display: grid; gap: 24px; align-items: stretch; }
@media (min-width: 900px) { .gf-mess-grid { grid-template-columns: 1fr 1fr; } }
/* Die drei Schritte laufen in dieser Spalte untereinander, nicht nebeneinander. */
.gf-mess-grid .gf-schritte { grid-template-columns: 1fr; gap: 16px; }

.gf-mess-bild {
  margin: 0; background: #fff; border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius); padding: 16px 16px 14px;
  display: flex; flex-direction: column; height: 100%;
}
.gf-mess-bild .gf-hinweis { flex: 1; display: flex; align-items: center; }
.gf-mess-bild img {
  width: 100%; height: auto; border-radius: 2px; margin-bottom: 12px;
}
.gf-mess-bild figcaption { font-size: 15px; color: var(--gf-grau); max-width: none; }
.gf-mess-bild figcaption strong {
  display: block; font-family: var(--gf-display); font-size: 17px;
  color: var(--gf-tinte); margin-bottom: 4px;
}
.gf-mess-knoepfe {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 18px 0 0; max-width: none;
}

/* --- Verweis auf das Google-Unternehmensprofil (11.08.2026) ---------------
   Steht unter den Bewertungen auf jeder Seite, die welche zeigt. */
.gf-google-profil {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px;
  margin-top: 26px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius);
  border-left: 4px solid var(--gf-gelb);
}
.gf-abschnitt--flaeche .gf-google-profil { border-color: #d8d6d6; border-left-color: var(--gf-gelb); }
.gf-google-profil > img { flex: none; }
.gf-google-text { display: grid; gap: 12px; }
.gf-google-wert { margin: 0; max-width: none; font-size: 16px; color: var(--gf-grau); }
.gf-google-wert strong { color: var(--gf-tinte); }
.gf-google-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; max-width: none; }

/* ==========================================================================
   PFLICHTSEITEN 11.08.2026 — Impressum, Datenschutz, AGB, Kontakt, Über uns
   ========================================================================== */

/* --- Rechtstext: langer Fliesstext, der gelesen werden können muss --------
   Bewusst schmaler als der Rest der Seite (66 Zeichen), grössere Abstände
   zwischen den Abschnitten, damit man die Gliederung beim Überfliegen sieht. */
.gf-rechtstext { max-width: 74ch; }
.gf-rechtstext h2 {
  font-size: 23px;
  margin: 40px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--gf-linie);
}
.gf-rechtstext > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.gf-rechtstext h3 { font-size: 18px; margin: 26px 0 8px; }
.gf-rechtstext p  { max-width: none; margin: 0 0 14px; }
.gf-rechtstext ul { margin: 0 0 16px; padding-left: 22px; }
.gf-rechtstext li { max-width: none; margin-bottom: 10px; }

/* --- Karte für Adress- und Datenblöcke ----------------------------------- */
.gf-rechts-karte {
  background: var(--gf-weiss);
  border: 1px solid var(--gf-linie);
  border-radius: var(--gf-radius);
  border-left: 4px solid var(--gf-gelb);
  padding: 24px 26px;
}
.gf-rechts-karte h2 { font-size: 20px; margin: 0 0 14px; }
.gf-rechts-karte p  { max-width: none; }
.gf-rechts-karte > :last-child { margin-bottom: 0; }
.gf-abschnitt--flaeche .gf-rechts-karte { border-color: #d8d6d6; border-left-color: var(--gf-gelb); }

.gf-rechts-grid { display: grid; gap: 20px; align-items: start; }
@media (min-width: 860px) { .gf-rechts-grid { grid-template-columns: repeat(3, 1fr); } }

/* Tabellenüberschrift (Versandkosten in den AGB) */
.gf-tabelle-titel {
  caption-side: top; text-align: left;
  font-weight: 700; color: var(--gf-tinte);
  padding-bottom: 10px;
}

/* --- Kontaktseite -------------------------------------------------------- */
.gf-kontakt-grid { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .gf-kontakt-grid { grid-template-columns: 1fr 1.15fr; } }

.gf-kontakt-bild { margin: 0; }
.gf-kontakt-bild img {
  width: 100%; height: auto; display: block;
  border-radius: var(--gf-radius); border: 1px solid var(--gf-linie);
}
.gf-kontakt-bild figcaption {
  margin-top: 8px; font-size: 15px; color: var(--gf-grau);
}

/* --- Zeitstrahl der Firmengeschichte (Über uns) --------------------------
   Die senkrechte Linie ist ein Rand am <li>, nicht ein eigenes Element —
   so bleibt sie auch dann durchgehend, wenn ein Eintrag mehrzeilig wird. */
.gf-zeitstrahl { list-style: none; margin: 0; padding: 0; }
.gf-zeitstrahl li {
  max-width: none;
  position: relative;
  padding: 0 0 26px 0;
  display: grid; gap: 4px;
}
@media (min-width: 760px) {
  .gf-zeitstrahl li {
    grid-template-columns: 128px 1fr;
    gap: 0 28px;
    padding-bottom: 30px;
  }
  .gf-zeit-inhalt {
    border-left: 2px solid var(--gf-linie);
    padding-left: 28px;
    padding-bottom: 4px;
  }
  /* Punkt auf der Linie */
  .gf-zeit-inhalt::before {
    content: ""; position: absolute;
    left: 152px; top: 9px;
    width: 11px; height: 11px;
    margin-left: -6px;
    border-radius: 50%;
    background: var(--gf-blau);
    box-shadow: 0 0 0 4px var(--gf-flaeche);
  }
  .gf-abschnitt:not(.gf-abschnitt--flaeche) .gf-zeit-inhalt::before {
    box-shadow: 0 0 0 4px var(--gf-weiss);
  }
  .gf-zeitstrahl li:last-child .gf-zeit-inhalt { border-left-color: transparent; }
}
.gf-zeit-jahr {
  font-weight: 700; color: var(--gf-blau);
  font-size: 19px; letter-spacing: .01em;
  padding-top: 1px;
}
.gf-zeit-inhalt h3 { font-size: 19px; margin: 0 0 5px; }
.gf-zeit-inhalt p  { max-width: 64ch; margin: 0; color: var(--gf-grau); }

/* --- Gründerabschnitt ---------------------------------------------------- */
.gf-gruender { display: grid; gap: 28px; align-items: start; }
@media (min-width: 860px) { .gf-gruender { grid-template-columns: 300px 1fr; gap: 44px; } }
.gf-gruender-bild { margin: 0; }
.gf-gruender-bild img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--gf-radius); border: 1px solid var(--gf-linie);
}
.gf-gruender-text h2 { margin-top: 0; }
.gf-gruender-text p  { max-width: 66ch; }

/* Eckdaten in einer schmalen Karte: Begriff und Wert untereinander statt
   nebeneinander — die 210px-Spalte der normalen .gf-eckdaten laesst in einer
   340px breiten Karte nur noch Platz fuer zwei Woerter pro Zeile. */
.gf-eckdaten--eng > div { grid-template-columns: 1fr !important; gap: 2px !important; }
.gf-eckdaten--eng dd { color: var(--gf-text); }

/* ==========================================================================
   VIDEOS 11.08.2026 — /video-lichtschachtabdeckung/
   Vorschaubild mit Abspielknopf; das eigentliche YouTube-Fenster wird erst
   auf Klick eingesetzt (siehe Skript am Ende der Seite). Vorher geht keine
   einzige Anfrage an Google.
   ========================================================================== */

.gf-videos { display: grid; gap: 22px; }
@media (min-width: 760px) { .gf-videos { grid-template-columns: repeat(2, 1fr); } }
.gf-videos:has(> :only-child) { grid-template-columns: 1fr; max-width: 820px; }

.gf-video { margin: 0; }

/* Die anklickbare Fläche ist ein echter <button> — damit funktioniert sie
   auch mit der Tastatur und wird von Screenreadern angesagt. */
.gf-video-flaeche {
  display: block; position: relative;
  width: 100%; padding: 0; border: 0;
  background: var(--gf-tinte);
  border-radius: var(--gf-radius);
  overflow: hidden; cursor: pointer;
  aspect-ratio: 16 / 9;
}
.gf-video-flaeche img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease, opacity .2s ease;
  opacity: .88;
}
.gf-video-flaeche:hover img,
.gf-video-flaeche:focus-visible img { transform: scale(1.03); opacity: 1; }
.gf-video-flaeche:focus-visible { outline: 3px solid var(--gf-blau-hell); outline-offset: 3px; }

.gf-video-knopf {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.gf-video-knopf svg {
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.45));
  transition: transform .2s ease;
}
.gf-video-flaeche:hover .gf-video-knopf svg { transform: scale(1.08); }

/* Nach dem Klick steht hier das YouTube-Fenster an derselben Stelle. */
.gf-video iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto;
  border: 0; border-radius: var(--gf-radius); display: block;
}

.gf-video figcaption {
  margin-top: 9px; font-size: 15px; color: var(--gf-grau);
}

/* Zwei Produktkarten nebeneinander (z.B. Finestra weiss und dunkelgrau).
   Ohne diese Regel griffe .gf-karten und machte ab 900px vier Spalten —
   zwei Karten stünden dann schmal am linken Rand. */
.gf-karten--2 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .gf-karten--2 { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   MOBILE KOPFZEILE 11.08.2026 (Salvatore: „Mobile ist sehr wichtig für die Seite")
   Vorher brach die Navigation auf dem Handy in vier Zeilen um, das Logo klebte
   winzig daneben und der Shop-Knopf stand allein — der Kopfbereich frass den
   halben Bildschirm. Jetzt: Logo links, Menü-Knopf rechts, eine Zeile.
   ========================================================================== */

/* --- Menü-Knopf: auf dem Desktop unsichtbar ------------------------------ */
.gf-menue-knopf { display: none; }

.gf-burger {
  display: block; position: relative;
  width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}
.gf-burger::before, .gf-burger::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform .2s ease, top .2s ease;
}
.gf-burger::before { top: -7px; }
.gf-burger::after  { top:  7px; }

/* Offen: die drei Striche werden zum Kreuz */
.gf-menue-knopf[aria-expanded="true"] .gf-burger { background: transparent; }
.gf-menue-knopf[aria-expanded="true"] .gf-burger::before { top: 0; transform: rotate(45deg); }
.gf-menue-knopf[aria-expanded="true"] .gf-burger::after  { top: 0; transform: rotate(-45deg); }

/* --- Schmale Bildschirme ------------------------------------------------- */
@media (max-width: 1099px) {

  .gf-menue-knopf {
    display: flex; align-items: center; gap: 10px;
    background: none; border: 1px solid var(--gf-linie);
    border-radius: var(--gf-radius);
    color: var(--gf-tinte);
    font-family: var(--gf-display); font-weight: 700; font-size: 15px;
    padding: 10px 14px;
    cursor: pointer;
    /* 44px hoch — die Fläche, die ein Daumen zuverlässig trifft */
    min-height: 44px;
  }
  .gf-menue-knopf:focus-visible { outline: 3px solid var(--gf-blau-hell); outline-offset: 2px; }

  .gf-header .gf-wrap {
    flex-wrap: wrap;
    padding-top: 10px; padding-bottom: 10px;
    gap: 10px;
  }
  .gf-logo img { width: 168px; }

  /* Nur verstecken, wenn JavaScript da ist — sonst bliebe die Seite ohne Navigation. */
  .gf-hat-js .gf-nav { display: none; }

  .gf-hat-js .gf-nav--offen {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    order: 3;                      /* unter Logo und Knopf */
    gap: 0;
    margin: 4px 0 6px;
    padding-top: 8px;
    border-top: 1px solid var(--gf-linie);
    max-height: 70vh; overflow-y: auto;   /* damit auch lange Menüs erreichbar bleiben */
  }
  .gf-nav--offen > a {
    font-size: 17px;
    padding: 14px 6px;             /* grosse Trefferfläche */
    border-bottom: 1px solid var(--gf-linie);
    border-radius: 0;
    white-space: normal;
  }
  .gf-nav--offen > a[aria-current="page"] {
    box-shadow: none;
    border-left: 3px solid var(--gf-blau);
    padding-left: 12px;
  }
  .gf-nav--offen > a.gf-knopf {
    margin-top: 12px;
    border-bottom: 0;
    padding: 14px 20px;
    font-size: 16px;
  }

  /* --- Topbar entschlacken ---------------------------------------------
     „Bis 10 Jahre Garantie" bleibt (Verkaufsargument und Link), die beiden
     anderen Punkte stehen ohnehin gross auf der Startseite. Die Telefonnummer
     bleibt immer sichtbar — sie ist der wichtigste Knopf auf einem Handy. */
  .gf-topbar { font-size: 13.5px; }
  .gf-topbar .gf-wrap {
    gap: 2px 14px;
    justify-content: flex-start;
    padding-top: 6px; padding-bottom: 6px;
  }
  .gf-topbar-vorteile li:first-child,
  .gf-topbar-vorteile li:last-child { display: none; }
}

/* Sehr schmale Geräte: Wort „Menü" weg, das Zeichen genügt */
@media (max-width: 359px) {
  .gf-menue-wort { display: none; }
  .gf-logo img { width: 150px; }
}

/* --- Lange Woerter duerfen die Seite nicht sprengen ----------------------
   Auf 360 px breiten Geraeten passte „Lichtschachtabdeckungen" in der H1 nicht
   mehr in die Zeile und schob die Seite 2 px nach rechts — spuerbar als leichtes
   seitliches Wackeln beim Scrollen.

   Zwei Ursachen, beide behoben:
   1. Raster-Kinder haben von Haus aus `min-width: auto`, schrumpfen also nie
      unter die Breite ihres laengsten Wortes. `min-width: 0` erlaubt es ihnen.
   2. Deutsche Komposita sind lang. `overflow-wrap: break-word` greift NUR dann,
      wenn ein Wort sonst ueberlaufen wuerde — normale Umbrueche bleiben unberuehrt. */

.gf-hero-grid > *,
.gf-mess-grid > *,
.gf-kontakt-grid > *,
.gf-rechts-grid > *,
.gf-gruender > *,
.gf-footer-grid > *,
.gf-karten > *,
.gf-merkmalsliste > * { min-width: 0; }

h1, h2, h3, h4 { overflow-wrap: break-word; }

/* Sehr lange Adressen und Produktnamen in Listen und Karten ebenfalls */
.gf-liste-links li,
.gf-karte-mehr,
.gf-krumen li { overflow-wrap: break-word; }

/* ===========================================================================
   SPRACHWAHL (11.08.2026)
   Schmaler Balken unter der Kopfzeile. Erscheint nur auf Seiten, die es in
   mehreren Sprachen gibt (siehe neu/inc/sprachen.php) — sonst gar nicht.
   Bewusst NICHT in der Topbar: die ist auf dem Handy auf eine Zeile gekuerzt,
   ein weiterer Eintrag haette sie wieder auf drei Zeilen gesprengt.
   =========================================================================== */
.gf-sprachwahl {
  background: var(--gf-flaeche);
  border-bottom: 1px solid var(--gf-linie);
  font-size: 14px;
}
.gf-sprachwahl .gf-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  min-width: 0;
  padding-top: 7px;
  padding-bottom: 7px;
}
.gf-sprachwahl-titel { color: var(--gf-grau); }
.gf-sprachwahl ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.gf-sprachwahl li { max-width: none; margin: 0; }
.gf-sprachwahl li + li::before {
  content: "·";
  color: var(--gf-linie);
  margin-right: 6px;
}
.gf-sprachwahl a { color: var(--gf-blau-hell); }
.gf-sprachwahl a:hover { text-decoration: underline; }
/* Die aktuelle Sprache ist kein Link — sie wird hervorgehoben, nicht anklickbar. */
.gf-sprachwahl [aria-current="true"] { color: var(--gf-tinte); font-weight: 700; }


/* ---------------------------------------------------------------------------
   Haendler-Login (Zugang zu Haendlerkonditionen, Ziel /shop/frontend/).
   Stand frueher im WordPress-Hauptmenue direkt nach "Onlineshop".

   WARUM ZWEI PLAETZE: als dritter Knopf in der Hauptnavigation brach die
   Kopfzeile auf zwei Zeilen um (gemessen 72 -> 114 px, auch bei 1920 px, weil
   .gf-wrap die Breite begrenzt). Deshalb:
     ab 1100 px  -> in der Topbar (dort ist Platz)
     bis 1099 px -> im aufklappbaren Menue, wo die Punkte untereinander stehen
   Beide Stellen zeigen auf die Konstante GF_HAENDLER. Wird die Navigation
   geaendert, die Kopfhoehe neu ausmessen (messen_kopf.py).
   --------------------------------------------------------------------------- */
.gf-topbar-haendler {
  display: inline-block;
  margin-left: 14px;
  padding: 2px 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 4px;
  white-space: nowrap;
  text-decoration: none;
}
.gf-topbar-haendler:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  text-decoration: none;
}
@media (min-width: 1100px) {
  .gf-nav .gf-haendler { display: none; }   /* auf Desktop steht er in der Topbar */
}
@media (max-width: 1099px) {
  .gf-topbar-haendler { display: none; }    /* auf dem Handy steht er im Menue */
}

/* Die Frage im Aufklapper ist jetzt eine echte Ueberschrift (h3) - sie soll
   aber weiter aussehen wie vorher, nicht wie ein Kapitel. (31.08.2026) */
.gf-faq summary h3 {
  display: inline; margin: 0; padding: 0;
  font-size: inherit; font-weight: inherit; line-height: inherit; color: inherit;
}

/* ===================================================================
   Fliegengitter-Ortsseiten  /fliegengitter/{ort}/   (01.10.2026)
   Gestaltung fuer die Klassen aus neu/inc/fg_ortsseite.php.
   Aufbau wie im Rest der Datei: erst Handy (eine Spalte), dann breiter.

   🔴 WARUM FLEX UND NICHT GRID:
   gf_webp_seite() baut jedes <img> automatisch zu
   <picture style="display:contents"><source><img></picture> um. Durch display:contents
   verschwindet das <picture> aus dem Layout und das <img> wird selbst zum Kind des
   Behaelters. Ein Raster mit festen Spalten bricht daran (01.10.2026 gesehen: Bild in
   der falschen Spalte, Text darunter, Umbruch mitten im Preis). Flex traegt beide Faelle.
   Das style-Attribut steht INLINE — mit CSS nur per !important zu ueberschreiben, darum
   wird es gar nicht erst bekaempft.

   Farben: Markenblau --gf-blau fuer Titel und Preis, Accardi-Gelb --gf-gelb sparsam
   als Akzent — Salvatore 01.10.2026: „ein Blau und ein wenig gelb".
   =================================================================== */

/* ---- Vertrauensband: vier harte Zahlen, bevor gescrollt wird ---- */
.gf-fg-band {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
}
.gf-fg-band > li {
  background: var(--gf-weiss);
  border: 1px solid var(--gf-linie);
  border-top: 3px solid var(--gf-gelb);
  border-radius: var(--gf-radius);
  padding: 16px 18px;
  text-align: center;
}
.gf-fg-band > li > strong {
  display: block;
  color: var(--gf-blau);
  font-size: 19px; line-height: 1.25; letter-spacing: -.01em;
}
.gf-fg-band > li > span {
  display: block; margin-top: 6px;
  font-size: 13px; line-height: 1.45; color: var(--gf-grau);
}
@media (min-width: 560px) { .gf-fg-band { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gf-fg-band { grid-template-columns: repeat(4, 1fr); } }

/* ---- Fenster links, Balkon-/Schiebetueren rechts — Handy untereinander ---- */
.gf-fg-spalten { display: grid; gap: 30px; }
@media (min-width: 760px) { .gf-fg-spalten { grid-template-columns: repeat(2, 1fr); gap: 34px; } }
.gf-fg-spalten > div > h3 {
  margin: 0 0 16px; padding-bottom: 9px;
  color: var(--gf-blau);
  border-bottom: 3px solid var(--gf-gelb);
}

/* ---- Produktkarten: Bild links, Text rechts, ganze Karte fuehrt in den Shop ----
   Salvatore 01.10.2026: die Bilder brauchen einen Link zum Produkt im Shop.
   Der Behaelter ist das <a> (bzw. .gf-fg-huelle, wenn kein Shop-Link vorhanden ist),
   damit Bild UND Text anklickbar sind — nicht nur das Wort. */
.gf-fg-karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.gf-fg-karten > li {
  background: var(--gf-weiss);
  border: 1px solid var(--gf-linie);
  border-left: 3px solid var(--gf-blau);
  border-radius: var(--gf-radius);
  overflow: hidden;
  transition: border-left-color .18s ease, box-shadow .18s ease;
}
.gf-fg-karten > li:hover { border-left-color: var(--gf-gelb); box-shadow: var(--gf-schatten); }
.gf-fg-karten > li > a,
.gf-fg-karten > li > .gf-fg-huelle {
  display: flex; align-items: stretch;
  color: inherit; text-decoration: none;
}
.gf-fg-karten > li > a:hover { text-decoration: none; }
.gf-fg-karten > li > a:hover .gf-fg-name { text-decoration: underline; }
/* Das <img> ist durch display:contents am <picture> selbst das Flex-Kind. */
.gf-fg-karten img {
  display: block;
  flex: 0 0 118px;
  width: 118px; height: auto; min-height: 104px;
  object-fit: cover; align-self: stretch;
}
.gf-fg-karten > li > a > div,
.gf-fg-karten > li > .gf-fg-huelle > div {
  flex: 1 1 auto; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 14px 16px;
}
.gf-fg-name {
  display: block;
  font-weight: 600; font-size: 16px; line-height: 1.3;
  color: var(--gf-blau);
  margin-bottom: 7px;
}
.gf-fg-preis { display: block; font-size: 15px; line-height: 1.35; color: var(--gf-text); }
.gf-fg-preis b { color: var(--gf-blau); font-size: 17px; }
.gf-fg-montage {
  display: block; margin-top: 5px;
  padding-top: 5px; border-top: 1px solid var(--gf-linie);
  font-size: 13px; line-height: 1.35; color: var(--gf-grau);
}
/* Sagt, wohin die Karte fuehrt — jeder Knopf braucht eine sichtbare Erklaerung. */
.gf-fg-shop {
  display: block; margin-top: 7px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
  color: var(--gf-blau-hell);
}
@media (min-width: 420px) {
  .gf-fg-karten img { flex-basis: 140px; width: 140px; min-height: 126px; }
  .gf-fg-karten > li > a > div,
  .gf-fg-karten > li > .gf-fg-huelle > div { padding: 16px 20px; }
}

/* ---- Kleingedrucktes ---- */
.gf-fg-klein { font-size: 13px; line-height: 1.5; color: var(--gf-grau); margin-top: 14px; }

/* ---- Kundengeschichte (02.10.2026) — echte Bewertung, als Geschichte erzaehlt ---- */
.gf-fg-geschichte {
  background: var(--gf-weiss);
  border: 1px solid var(--gf-linie);
  border-left: 4px solid var(--gf-gelb);
  border-radius: var(--gf-radius);
  padding: 20px 22px;
}
.gf-fg-geschichte blockquote {
  margin: 0; padding: 0; border: 0;
  font-size: 17px; line-height: 1.6; color: var(--gf-tinte);
}
.gf-fg-geschichte blockquote::before { content: "\201E"; }
.gf-fg-geschichte blockquote::after  { content: "\201C"; }
.gf-fg-geschichte cite {
  display: block; margin-top: 12px;
  font-style: normal; font-size: 14px; color: var(--gf-grau);
}
.gf-fg-geschichte .gf-sterne { color: var(--gf-gelb); margin-left: 6px; }
@media (min-width: 760px) { .gf-fg-geschichte { padding: 24px 28px; } }

/* ---- Fachtext zu einem Produkt (02.10.2026) ---- */
.gf-fg-fachtext > p { line-height: 1.65; }
.gf-fg-vorteil {
  margin-top: 16px; padding: 14px 18px;
  background: var(--gf-blau-schleier);
  border-left: 3px solid var(--gf-blau);
  border-radius: var(--gf-radius);
}
.gf-fg-vorteil strong { color: var(--gf-blau); }

/* ===================================================================
   KORREKTUR 02.10.2026 — Produktkarten: das Bild war nicht zu erkennen.
   Salvatore mit Bildschirmfoto vom Handy: „Man sieht nur die Wand beim Spannrahmen."

   URSACHE: die Fotos sind Querformat (800x600 bzw. 900x600). Die Karte zeigte sie in
   einem schmalen Hochkant-Feld von 140 x ~160 px mit object-fit: cover — damit wird links
   und rechts weggeschnitten und uebrig bleibt der Bildrand. Das Produkt liegt in der Mitte.

   LOESUNG: auf dem Handy liegt das Bild OBEN ueber die ganze Breite im Seitenverhaeltnis
   des Originals; ab 560 px steht es wieder links, aber in Querformat (200 x 140) statt
   hochkant. object-position: center haelt das Motiv in der Mitte.
   =================================================================== */

/* ---- Handy: Bild oben, volle Breite ---- */
.gf-fg-karten > li > a,
.gf-fg-karten > li > .gf-fg-huelle {
  display: block;
}
.gf-fg-karten img {
  flex: none;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gf-fg-karten > li > a > div,
.gf-fg-karten > li > .gf-fg-huelle > div {
  display: block;
  padding: 14px 16px;
}

/* ---- Ab 560 px: wieder nebeneinander, aber im Querformat ---- */
@media (min-width: 560px) {
  .gf-fg-karten > li > a,
  .gf-fg-karten > li > .gf-fg-huelle {
    display: flex; align-items: stretch;
  }
  .gf-fg-karten img {
    flex: 0 0 200px;
    width: 200px;
    aspect-ratio: auto;
    height: 100%;
    min-height: 140px;
    align-self: stretch;
  }
  .gf-fg-karten > li > a > div,
  .gf-fg-karten > li > .gf-fg-huelle > div {
    display: flex; flex-direction: column; justify-content: center;
    padding: 16px 20px; min-width: 0; flex: 1 1 auto;
  }
}
@media (min-width: 1000px) {
  .gf-fg-karten img { flex-basis: 170px; width: 170px; min-height: 130px; }
}

/* ---------------------------------------------------------------------------
   Vorspann — der erste Absatz unter einer Ueberschrift.
   🔴 Die Klasse wurde seit dem 01.10.2026 auf allen 141 Ortsseiten und den
   3 Standortseiten ausgegeben, war aber in keiner CSS-Datei definiert: der
   Absatz sah aus wie Fliesstext. Gefunden in der Schlussabnahme 02.10.2026.
   --------------------------------------------------------------------------- */
.gf-vorspann {
  font-size: 1.12rem;
  line-height: 1.62;
  color: #2b3038;
  max-width: 62ch;
  margin: 0 0 18px;
}
.gf-vorspann strong { color: #15181d; }
@media (prefers-color-scheme: dark) {
  .gf-vorspann { color: #d6d9de; }
  .gf-vorspann strong { color: #f2f4f7; }
}

/* ---------------------------------------------------------------------------
   Bilder auf den Standortseiten (02.10.2026).
   🔴 KEIN object-fit: cover und KEIN festes Seitenverhaeltnis. Am 02.10.2026 hat
   Salvatore mit einem Bildschirmfoto gezeigt, dass von einem Querformat-Foto in
   einem schmalen Hochkant-Feld nur die Wand uebrig blieb. Hier stehen Panoramen
   (2000x631) neben 3:2-Bildern — jedes behaelt sein eigenes Verhaeltnis.
   Panoramen und das erste Bild bekommen die ganze Breite.
   --------------------------------------------------------------------------- */
.gf-st-fotos {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.gf-st-fotos > li { min-width: 0; }
.gf-st-fotos figure { margin: 0; }
.gf-st-fotos img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.gf-st-fotos figcaption {
  margin-top: 7px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: #5a6069;
}
@media (min-width: 700px) {
  .gf-st-fotos { grid-template-columns: 1fr 1fr; gap: 20px; }
  .gf-st-fotos--breit { grid-column: 1 / -1; }
}
@media (prefers-color-scheme: dark) {
  .gf-st-fotos figcaption { color: #a9afb8; }
}

/* 🔴 Nachtrag 02.10.2026: Zeile 80 der Stilvorlage setzt  p, li { max-width: 68ch }
   — eine Lesebreite fuer Fliesstext. Sie trifft auch die <li> der Bildergalerie:
   die ganzbreiten Bilder wurden dadurch 670 statt 1140 Pixel breit, obwohl
   grid-column: 1 / -1 richtig gesetzt war. Beim Nachmessen im Browser gefunden.
   Dieselbe Loesung wie bei .gf-google-links weiter oben. Die Bildunterschrift
   behaelt die Lesebreite — Text soll schmal bleiben, Bilder nicht. */
.gf-st-fotos > li { max-width: none; }
.gf-st-fotos figcaption { max-width: 68ch; }

/* ---------------------------------------------------------------------------
   Untermenue in der Kopfzeile (ORION 29.10.2026, SEO-Audit Punkt 3).
   „Fliegengitter" ist Haupteintrag (Uebersichtsseite), darunter Fenster, Tueren und
   Insektenschutzgitter. Markup: .gf-nav-gruppe > a.gf-nav-haupt + .gf-nav-unter > a
   (seite.php, Daten gf_nav_unter() in data.php).
   Computer: aufklappen beim Darueberfahren und per Tastatur (:focus-within).
   Handy-Menue: Unterpunkte immer sichtbar, eingerueckt.
   --------------------------------------------------------------------------- */
.gf-nav-gruppe { position: relative; display: flex; }
.gf-nav-gruppe > a {
  font-family: var(--gf-display);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--gf-tinte);
  padding: 8px 7px;
  border-radius: var(--gf-radius);
  white-space: nowrap;
}
.gf-nav-gruppe > a:hover { background: var(--gf-blau-schleier); text-decoration: none; }
.gf-nav-gruppe > a[aria-current="page"],
.gf-nav-haupt--zweig { color: var(--gf-blau); box-shadow: inset 0 -3px 0 var(--gf-blau); }
.gf-nav-haupt::after {
  content: ""; display: inline-block; margin-left: 6px; vertical-align: 3px;
  border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.gf-nav-unter { display: none; }
@media (min-width: 1100px) {
  .gf-nav-unter {
    position: absolute; top: 100%; left: 0; z-index: 50;
    min-width: 230px; padding: 6px 0;
    background: #fff; border: 1px solid var(--gf-linie);
    border-top: 3px solid var(--gf-gelb);
    border-radius: 0 0 var(--gf-radius) var(--gf-radius);
    box-shadow: var(--gf-schatten);
  }
  .gf-nav-gruppe:hover > .gf-nav-unter,
  .gf-nav-gruppe:focus-within > .gf-nav-unter { display: block; }
  .gf-nav-unter > a {
    display: block; padding: 9px 16px; white-space: nowrap;
    font-family: var(--gf-display); font-weight: 700; font-size: 14.5px; color: var(--gf-tinte);
  }
  .gf-nav-unter > a:hover { background: var(--gf-blau-schleier); text-decoration: none; }
  .gf-nav-unter > a[aria-current="page"] { color: var(--gf-blau); }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .gf-nav-gruppe > a { font-size: 14px; padding: 8px 7px; }
}
@media (max-width: 1099px) {
  /* Ohne JavaScript (Navigation umbricht sichtbar): Unterpunkte als normale Links zeigen. */
  .gf-nav-gruppe { flex-wrap: wrap; }
  .gf-nav-unter { display: contents; }
  .gf-nav-unter > a {
    font-family: var(--gf-display); font-weight: 700; font-size: 14.5px;
    color: var(--gf-tinte); padding: 8px 7px; white-space: nowrap;
  }
  .gf-nav-haupt::after { display: none; }
  /* Geoeffnetes Handy-Menue: Gruppe als Block, Unterpunkte eingerueckt darunter. */
  .gf-nav--offen > .gf-nav-gruppe { display: block; }
  .gf-nav--offen > .gf-nav-gruppe > a {
    display: block; font-size: 17px; padding: 14px 6px;
    border-bottom: 1px solid var(--gf-linie); border-radius: 0; white-space: normal;
  }
  .gf-nav--offen > .gf-nav-gruppe > a[aria-current="page"],
  .gf-nav--offen .gf-nav-haupt--zweig { box-shadow: none; }
  .gf-nav--offen > .gf-nav-gruppe > a[aria-current="page"] {
    border-left: 3px solid var(--gf-blau); padding-left: 12px;
  }
  .gf-nav--offen .gf-nav-unter { display: block; }
  .gf-nav--offen .gf-nav-unter > a {
    display: block; font-size: 16px; padding: 12px 6px 12px 24px;
    border-bottom: 1px solid var(--gf-linie); white-space: normal;
  }
  .gf-nav--offen .gf-nav-unter > a[aria-current="page"] {
    color: var(--gf-blau); border-left: 3px solid var(--gf-blau);
  }
}
