/* Cobb Germany – statische Seite. Eine Akzentfarbe (Cobb-Rot), warme Neutraltoene, Manrope. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/schrift/manrope-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/schrift/manrope-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; }

:root {
  --papier: #f7f4ef; --papier-2: #efe9e0; --flaeche: #fffdf9; --linie: #e2dbd0;
  --tinte: #221e1a; --tinte-2: #5a534b; --tinte-3: #6b6258;
  --rot: #c4303b; --rot-dunkel: #9f2530; --rot-hauch: #f7e3e2;
  --eu: #8b9cb0; --partner: #d5a05f; --land: #e5dfd5;
  /* Kartenfarben exakt wie die alte Fla-shop-Karte (Fuellung / ueberfahren) */
  --k-de: #db434e; --k-de-an: #ff3942; --k-eu: #7798bb; --k-eu-an: #366ca3; --k-partner: #dc441d; --k-partner-an: #dc5d1d;
  --r-s: 6px; --r-m: 12px; --r-l: 22px;
  --schatten: 0 1px 2px rgb(70 45 20 / .06), 0 12px 32px -18px rgb(70 45 20 / .28);
  --breite: 1240px; --rand: clamp(1rem, 4vw, 2.5rem);
  --takt: 200ms cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--papier); color: var(--tinte); font: 400 1.0625rem/1.65 "Manrope", system-ui, sans-serif; font-feature-settings: "ss01"; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rot-dunkel); text-underline-offset: .2em; text-decoration-thickness: 1px; transition: color var(--takt); }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.12; letter-spacing: -.022em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.9rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); }
h3 { font-size: 1.25rem; letter-spacing: -.012em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.zeile { font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--rot-dunkel); margin-bottom: .9rem; display: block; }
.leise { color: var(--tinte-2); }
.sprung { position: absolute; left: -999px; top: .5rem; z-index: 30; background: var(--tinte); color: #fff; padding: .6rem 1rem; border-radius: var(--r-s); }
.sprung:focus { left: .5rem; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgb(247 244 239 / .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgb(226 219 208 / .7); }
.kopf .huelle { display: flex; align-items: center; gap: 1.5rem; min-height: 4.75rem; }
.marke { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--tinte); font-weight: 750; letter-spacing: -.01em; margin-right: auto; }
.marke img { width: 48px; height: 48px; }
.marke span { line-height: 1.15; } .marke small { display: block; font-weight: 500; color: var(--tinte-3); font-size: .78rem; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; color: var(--tinte-2); font-weight: 600; font-size: .95rem; padding: .5rem .8rem; border-radius: var(--r-s); transition: background var(--takt), color var(--takt); }
.nav a:hover { background: var(--papier-2); color: var(--tinte); }
.nav a[aria-current="page"] { color: var(--tinte); background: var(--papier-2); }
.sprache { margin-left: .5rem; font-weight: 700 !important; font-size: .82rem !important; letter-spacing: .06em; border: 1px solid var(--linie); }
.menue-knopf { display: none; }
@media (max-width: 960px) {
  .menue-knopf { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 650; background: var(--flaeche); color: var(--tinte); border: 1px solid var(--linie); border-radius: var(--r-s); padding: .5rem .85rem; cursor: pointer; }
  .js .nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--rand) 1.25rem; background: var(--papier); border-bottom: 1px solid var(--linie); box-shadow: var(--schatten); }
  .js .nav.offen { display: flex; }
  .nav { flex-wrap: wrap; }
  .nav a { padding: .8rem .5rem; font-size: 1.05rem; }
  .sprache { margin: .5rem 0 0; align-self: flex-start; }
}

/* Knoepfe */
.knopf { display: inline-flex; align-items: center; gap: .55rem; background: var(--rot); color: #fff; font-weight: 700; text-decoration: none; padding: .9rem 1.35rem; border-radius: 10px; border: 0; cursor: pointer; transition: background var(--takt), transform var(--takt), box-shadow var(--takt); box-shadow: 0 8px 20px -10px rgb(159 37 48 / .55); }
.knopf:hover { background: var(--rot-dunkel); color: #fff; transform: translateY(-1px); }
.knopf:active { transform: translateY(0) scale(.985); }
.textlink { font-weight: 700; color: var(--tinte); text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.textlink::after { content: "→"; transition: transform var(--takt); }
.textlink:hover { color: var(--rot-dunkel); } .textlink:hover::after { transform: translateX(3px); }
.knopfreihe { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* Abschnitte */
.abschnitt { padding-block: clamp(4rem, 8vw, 7rem) clamp(4.5rem, 9vw, 8rem); }
.abschnitt.ton { background: var(--papier-2); }
.abschnitt-kopf { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.abschnitt-kopf p { color: var(--tinte-2); font-size: 1.125rem; }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(88dvh, 760px); display: grid; align-items: center; }
.hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(247 244 239 / .97) 0%, rgb(247 244 239 / .9) 40%, rgb(247 244 239 / .35) 66%, rgb(247 244 239 / 0) 82%); }
.hero-text { max-width: 44rem; padding-block: 5rem 7rem; }
.hero-text h1 { font-size: clamp(2.1rem, 1.2rem + 3vw, 3.6rem); }
.hero-text p { font-size: 1.2rem; color: var(--tinte-2); max-width: 34rem; }
@media (max-width: 760px) {
  .hero { min-height: 0; display: block; }
  .hero > picture img { position: static; height: 46vh; }
  .hero::before { display: none; }
  .hero-text { padding-block: 2.25rem 3rem; }
}

/* Kennzahlen */
.zahlen { position: relative; z-index: 2; margin-top: -3.5rem; background: var(--flaeche); border-radius: var(--r-l); box-shadow: var(--schatten); display: grid; grid-template-columns: repeat(4, 1fr); }
.zahl { padding: 1.6rem 1.75rem 1.75rem; }
.zahl + .zahl { border-left: 1px solid var(--linie); }
.zahl strong { display: block; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; color: var(--rot); font-variant-numeric: tabular-nums; line-height: 1.1; }
.zahl span { color: var(--tinte-2); font-size: .95rem; }
.zahlen.frei { margin-top: clamp(2.5rem, 5vw, 4rem); }  /* ohne Ueberlappung, wenn Text statt Hero darueber steht */
@media (max-width: 860px) { .zahlen { grid-template-columns: 1fr 1fr; margin-top: 0; } .zahl:nth-child(3) { border-left: 0; } .zahl:nth-child(n+3) { border-top: 1px solid var(--linie); } }
@media (max-width: 760px) { .zahlen { border-radius: var(--r-m); } }

/* Karte */
.karte { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.karte-flaeche { position: relative; background: var(--flaeche); border-radius: var(--r-l); padding: clamp(.5rem, 2vw, 1.25rem); box-shadow: var(--schatten); min-height: 320px; }
.karte-flaeche:empty::after { content: ""; display: block; aspect-ratio: 1000 / 898; background: var(--papier-2); border-radius: var(--r-m); }
.karte-svg { width: 100%; height: auto; user-select: none; }
.land-hinter { fill: var(--land); stroke: #fff; stroke-width: .6; }
.land { stroke: #fff; stroke-width: .7; cursor: pointer; transition: fill var(--takt), opacity var(--takt); }
.g-de { fill: var(--k-de); } .g-eu { fill: var(--k-eu); } .g-partner { fill: var(--k-partner); }
.punkt-de { background: var(--k-de); } .punkt-eu { background: var(--k-eu); } .punkt-partner { background: var(--k-partner); }
.g-de:hover, .g-de.ist-aktiv { fill: var(--k-de-an); } .g-eu:hover, .g-eu.ist-aktiv { fill: var(--k-eu-an); } .g-partner:hover, .g-partner.ist-aktiv { fill: var(--k-partner-an); }
.land.ohne { cursor: default; }
.land.ist-aktiv { stroke: var(--tinte); stroke-width: 1.6; }
.punkt { stroke-width: 1.6; }
.karte-tipp { position: absolute; z-index: 3; pointer-events: none; background: var(--tinte); color: #fff; font-size: .85rem; font-weight: 650; padding: .3rem .6rem; border-radius: var(--r-s); white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); opacity: 0; transition: opacity 120ms; }
.karte-tipp.sichtbar { opacity: 1; }
.karte-seite { position: sticky; top: 6.5rem; display: grid; gap: 1rem; }
.wahl label { display: block; font-weight: 700; margin-bottom: .45rem; }
.wahl select { width: 100%; font: inherit; font-weight: 600; color: var(--tinte); padding: .85rem 2.75rem .85rem 1rem; border: 1px solid var(--linie); border-radius: var(--r-m); background: var(--flaeche) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23221e1a' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 1rem center; appearance: none; cursor: pointer; }
.legende { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .9rem; color: var(--tinte-2); margin: 0; padding: 0; list-style: none; }
.legende li { display: inline-flex; align-items: center; gap: .45rem; }
.legende i { width: .8rem; height: .8rem; border-radius: 3px; display: inline-block; }
.kontakt-karte { background: var(--flaeche); border-radius: var(--r-l); box-shadow: var(--schatten); padding: 1.5rem 1.6rem 1.6rem; }
.kontakt-karte h3 { margin-bottom: .2rem; }
.kontakt-karte .org { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; color: var(--tinte-2); font-size: .95rem; margin-bottom: 1.1rem; }
.kontakt-karte .org i { width: .65rem; height: .65rem; border-radius: 50%; }
.person { padding-block: .9rem; border-top: 1px solid var(--linie); }
.person strong { display: block; font-size: 1.05rem; }
.person a { display: inline-flex; text-decoration: none; font-weight: 600; color: var(--tinte); padding: .1rem 0; word-break: break-word; }
.person a:hover { color: var(--rot-dunkel); text-decoration: underline; }
.person .art { color: var(--tinte-3); font-size: .85rem; margin-right: .35rem; }
.hinweis { font-size: .9rem; color: var(--tinte-3); margin: .75rem 0 0; }
.leer { color: var(--tinte-2); }
.verzeichnis { margin-top: 2.5rem; }
.verzeichnis summary { cursor: pointer; font-weight: 700; padding: .9rem 0; }
.verzeichnis ul { columns: 2 22rem; column-gap: 2.5rem; padding: 0; list-style: none; }
.verzeichnis li { break-inside: avoid; padding: .7rem 0; border-top: 1px solid var(--linie); }
.verzeichnis li span { display: block; color: var(--tinte-2); font-size: .92rem; }
@media (max-width: 900px) { .karte { grid-template-columns: 1fr; } .karte-seite { position: static; } }

/* Cobb500 */
.produkt { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.produkt-bild { position: relative; display: grid; place-items: center; padding: 2rem; }
.produkt-bild::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, var(--rot-hauch), rgb(247 227 226 / 0)); z-index: 0; }
.produkt-bild img { position: relative; max-height: 520px; width: auto; }
.wortmarke { width: 190px; margin-bottom: 1.25rem; }
.vorteile { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 2rem; }
.vorteile li { position: relative; padding-left: 1.75rem; font-weight: 600; }
.vorteile li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 2.5px solid var(--rot); border-bottom: 2.5px solid var(--rot); transform: rotate(-45deg); }
@media (max-width: 860px) { .produkt { grid-template-columns: 1fr; } .produkt-bild img { max-height: 340px; } .vorteile { grid-template-columns: 1fr; } }

/* News */
.news-gitter { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem; }
.news-gitter.alle { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.meldung { position: relative; background: var(--flaeche); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--schatten); display: flex; flex-direction: column; transition: transform var(--takt), box-shadow var(--takt); }
.meldung:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgb(70 45 20 / .06), 0 20px 40px -20px rgb(70 45 20 / .35); }
.meldung img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--papier-2); }
.meldung .inhalt { padding: 1.25rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.meldung time { font-size: .85rem; color: var(--tinte-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.meldung h3 { margin: 0; font-size: 1.15rem; }
.meldung h3 a { color: var(--tinte); text-decoration: none; }
.meldung h3 a::after { content: ""; position: absolute; inset: 0; }
.meldung p { color: var(--tinte-2); font-size: .97rem; margin: 0; }
.news-gitter:not(.alle) .meldung:first-child { grid-row: span 2; }
.news-gitter:not(.alle) .meldung:first-child img { aspect-ratio: 4 / 3; }
.news-gitter:not(.alle) .meldung:first-child h3 { font-size: 1.45rem; }
.news-gitter:not(.alle) .meldung:not(:first-child) { flex-direction: row; }
.news-gitter:not(.alle) .meldung:not(:first-child) img { width: 38%; aspect-ratio: auto; height: auto; min-height: 100%; }
@media (max-width: 860px) { .news-gitter { grid-template-columns: 1fr; } .news-gitter:not(.alle) .meldung:not(:first-child) { flex-direction: column; } .news-gitter:not(.alle) .meldung:not(:first-child) img { width: 100%; aspect-ratio: 16 / 10; } }

/* Zeitleiste */
.zeitleiste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.25rem 2rem; counter-reset: z; }
.zeitleiste li { border-top: 2px solid var(--linie); padding-top: 1rem; position: relative; }
.zeitleiste li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 4px var(--papier-2); }
.zeitleiste b { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; color: var(--rot); font-variant-numeric: tabular-nums; }
.zeitleiste span { color: var(--tinte-2); }
@media (max-width: 860px) { .zeitleiste { grid-template-columns: 1fr 1fr; } }

/* Teaser mit Illustration */
.teaser { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; background: var(--flaeche); border-radius: var(--r-l); padding: clamp(1.75rem, 4vw, 3.5rem); box-shadow: var(--schatten); }
.teaser img { border-radius: var(--r-m); }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } }

/* Seitenkopf + Fliesstext */
.seitenkopf { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.seitenkopf p { font-size: 1.2rem; color: var(--tinte-2); max-width: 44rem; }
.seitenkopf .zurueck { margin-bottom: 1.25rem; display: block; width: fit-content; font-weight: 650; text-decoration: none; color: var(--tinte-2); }
.seitenkopf time { display: block; margin-bottom: .6rem; font-weight: 600; }
.seitenkopf .zurueck::before { content: "← "; }
.text { max-width: 70ch; overflow-wrap: break-word; }
.text h2 { font-size: 1.6rem; margin-top: 2.25rem; } .text h3 { margin-top: 1.75rem; } .text h4 { font-size: 1.05rem; margin-top: 1.5rem; }
.text figure { margin: 2rem 0; } .text figure img { border-radius: var(--r-m); }
.text figcaption { font-size: .9rem; color: var(--tinte-3); margin-top: .6rem; }
.text ul, .text ol { padding-left: 1.25rem; } .text li { margin-bottom: .35rem; }
.text table { border-collapse: collapse; width: 100%; font-size: .95rem; } .text td, .text th { border-bottom: 1px solid var(--linie); padding: .5rem .4rem; text-align: left; vertical-align: top; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin: 2rem 0; }
.galerie figure { margin: 0; } .galerie img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.text.recht { font-size: .97rem; } .text.recht h2, .text.recht h3 { font-size: 1.2rem; }
.blaettern { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linie); }
.blaettern a { text-decoration: none; font-weight: 650; max-width: 48%; }
.blaettern small { display: block; color: var(--tinte-3); font-weight: 600; }

/* Downloads */
.downloads { display: grid; gap: 1.25rem; }
.download { background: var(--flaeche); border-radius: var(--r-l); padding: 1.5rem 1.6rem; box-shadow: var(--schatten); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 1rem 2.5rem; align-items: start; }
.download h3 { margin-bottom: .35rem; } .download p { color: var(--tinte-2); margin: 0; font-size: .97rem; }
.dateien { display: flex; flex-wrap: wrap; gap: .5rem; }
.datei { display: inline-flex; flex-direction: column; min-width: 7.5rem; padding: .65rem .85rem; border: 1px solid var(--linie); border-radius: var(--r-m); text-decoration: none; color: var(--tinte); transition: border-color var(--takt), background var(--takt), transform var(--takt); }
.datei:hover { border-color: var(--rot); background: var(--rot-hauch); color: var(--tinte); transform: translateY(-1px); }
.datei b { font-size: .95rem; } .datei small { color: var(--tinte-3); font-size: .8rem; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .download { grid-template-columns: 1fr; } }

/* Kontakt */
.kontakt-gitter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.kachel { background: var(--flaeche); border-radius: var(--r-l); padding: 1.5rem 1.6rem; box-shadow: var(--schatten); }
.kachel h3 { font-size: 1.05rem; } .kachel address { font-style: normal; color: var(--tinte-2); }
.kachel a { font-weight: 650; text-decoration: none; color: var(--tinte); } .kachel a:hover { color: var(--rot-dunkel); }
.kachel.betont { background: var(--rot-hauch); box-shadow: none; }
@media (max-width: 900px) { .kontakt-gitter { grid-template-columns: 1fr; } }

/* Fuss */
.fuss { background: var(--papier-2); padding-block: 3.5rem 2.5rem; margin-top: 2rem; font-size: .95rem; color: var(--tinte-2); }
.fuss-gitter { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.fuss h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tinte-3); margin-bottom: .9rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.fuss a { color: var(--tinte); text-decoration: none; font-weight: 600; } .fuss a:hover { color: var(--rot-dunkel); }
.fuss address { font-style: normal; }
.fuss-unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--linie); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; color: var(--tinte-3); }
@media (max-width: 760px) { .fuss-gitter { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
@media print { .kopf, .fuss, .karte, .menue-knopf { display: none; } body { background: #fff; } }

/* Hilfsklassen (statt Inline-Styles, wegen CSP) */
.oben { align-items: start; } .luft { height: 4rem; } .abstand-o { margin-top: 1.25rem; } .rechts { text-align: right; }
html:not(.js) .karte { display: none; }
.fuss a[aria-current="page"] { color: var(--rot-dunkel); text-decoration: underline; }
