@layer reset, base, layout, components, pages, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  img, picture, svg { display: block; max-width: 100%; height: auto; }
  button, input { font: inherit; color: inherit; }
}

@layer base {
  :root {
    --gruen-dunkel: #2e5d3a;
    --gruen: #3f6f33;
    --gruen-text: #3d6b2c;      
    --gruen-blatt: #7cb342;     
    --salbei: #e7eedd;
    --salbei-tief: #cfdcbd;
    --ziegel: #9a4a2c;
    --ziegel-hell: #f3e6dc;
    --schild: #1c4f8f;
    --schild-tief: #163f73;
    --grund: #faf8f2;
    --grund-warm: #f2eee3;
    --tinte: #1f2a1c;
    --tinte-weich: #3a4634;
    --gedaempft: #565e51;       
    --linie: rgb(46 93 58 / .18);
    --linie-weich: rgb(46 93 58 / .10);

    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --fs-0: 1.125rem;   
    --fs--1: 1rem;
    --fs--2: .9375rem;
    --fs-1: 1.3125rem;
    --fs-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
    --fs-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.85rem);
    --fs-4: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);

    --r: 14px;
    --r-klein: 8px;
    --breite: 1180px;
    --text: 68ch;
    --rand: clamp(1.25rem, 4vw, 3rem);
    --abschnitt: clamp(4rem, 3rem + 4vw, 7rem);
    --schatten: 0 1px 2px rgb(31 42 28 / .06), 0 8px 24px -12px rgb(31 42 28 / .22);
    --ease: cubic-bezier(.16, 1, .3, 1);

    color-scheme: light;
    accent-color: var(--gruen-dunkel);
  }

  html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    font-family: var(--sans);
    font-size: var(--fs-0);
    line-height: 1.65;
    color: var(--tinte);
    background: var(--grund);
    font-feature-settings: "ss01", "cv11";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.015em;
    text-wrap: balance;
    hyphens: auto;
    overflow-wrap: break-word;
    font-variation-settings: "opsz" 96;
  }
  h1 { font-size: var(--fs-4); letter-spacing: -.02em; font-variation-settings: "opsz" 72; }
  h2 { font-size: var(--fs-3); letter-spacing: -.022em; }
  h3 { font-size: var(--fs-1); font-variation-settings: "opsz" 36; line-height: 1.25; }
  p, li { text-wrap: pretty; }
  em { font-style: italic; }
  h1 em, h2 em { color: var(--gruen-text); }

  a { color: var(--gruen-dunkel); text-decoration-thickness: .08em; text-underline-offset: .2em; text-decoration-color: rgb(46 93 58 / .45); }
  a:hover { text-decoration-color: currentColor; }
  :focus-visible { outline: 3px solid var(--schild); outline-offset: 3px; border-radius: 4px; }
  ::selection { background: var(--gruen-blatt); color: var(--tinte); }

  strong { font-weight: 650; }
  small { font-size: var(--fs--2); }
  abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; }

  html { scrollbar-color: var(--salbei-tief) var(--grund); }
}

@layer layout {
  .huelle { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
  
  .huelle-schmal { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
  .abschnitt { padding-block: var(--abschnitt); }
  .abschnitt.eng { padding-top: 0; }
  .salbei + .abschnitt:not(.salbei, .warm, .dunkel), .warm + .abschnitt:not(.salbei, .warm, .dunkel) { padding-top: calc(var(--abschnitt) * .6); }
  .abschnitt.eng:has(.zahlen) { padding-bottom: calc(var(--abschnitt) * .6); }
  
  .abschnitt:not(.salbei, .warm, .dunkel) + .abschnitt:not(.salbei, .warm, .dunkel) { padding-top: 0; }
  .salbei { background: var(--salbei); }
  .warm { background: var(--grund-warm); }
  .dunkel { background: var(--gruen-dunkel); color: #eef3e8; }
  .dunkel a { color: #fff; }
  .fluss > * + * { margin-top: 1.1em; }
  .fluss > h2, .fluss > h3 { margin-top: 2.2em; }
  .fluss > h2 + *, .fluss > h3 + * { margin-top: .7em; }
  .lesebreite { max-width: none; }
  .raster-2 { display: grid; gap: clamp(2rem, 4vw, 4rem); }
  @media (min-width: 56rem) {
    .raster-2 { grid-template-columns: 1fr 1fr; align-items: start; }
    .raster-2.breit-links { grid-template-columns: 1.35fr 1fr; }
    .raster-2.breit-rechts { grid-template-columns: 1fr 1.35fr; }
  }
}

@layer components {
  
  .sprung { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--tinte); color: #fff; padding: .6rem 1rem; border-radius: var(--r-klein); }
  .sprung:focus { top: 1rem; }

  
  .kopf { position: sticky; top: 0; z-index: 30; background: rgb(250 248 242 / .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie-weich); }
  .kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
  .wortmarke { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--tinte); }
  .wortmarke svg { width: 2.1rem; height: 2.1rem; flex: none; }
  .wortmarke-text { display: grid; line-height: 1.05; }
  .wortmarke-name { font-family: var(--serif); white-space: nowrap; font-size: clamp(1.1rem, .9rem + 1vw, 1.35rem); font-variation-settings: "opsz" 48; letter-spacing: -.01em; }
  .wortmarke-name b { font-weight: 600; color: var(--gruen-dunkel); }
  .wortmarke-claim { white-space: nowrap; font-size: .78rem; color: var(--gedaempft); letter-spacing: .01em; margin-top: .15rem; }

  .nav { display: none; }
  .nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
  .nav a { display: block; padding: .55rem .85rem; border-radius: 999px; font-size: var(--fs--2); font-weight: 550; color: var(--tinte-weich); text-decoration: none; transition: background .2s, color .2s; }
  .nav a:hover { background: var(--salbei); color: var(--tinte); }
  .nav a[aria-current="page"], .nav a.aktiv { background: var(--gruen-dunkel); color: #fff; }

  .menue-knopf { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--linie); background: #fff; font-weight: 600; font-size: var(--fs--1); cursor: pointer; }
  .menue-knopf svg { width: 1.2rem; height: 1.2rem; }
  @media (min-width: 70rem) { .nav { display: block; } .menue-knopf { display: none; } }
  .menue { display: none; border-top: 1px solid var(--linie-weich); padding: .5rem 0 1.25rem; }
  .menue.offen { display: block; }
  .menue ul { list-style: none; padding: 0; margin: 0; display: grid; }
  .menue a { display: block; padding: .85rem .25rem; font-size: 1.15rem; font-weight: 550; color: var(--tinte); text-decoration: none; border-bottom: 1px solid var(--linie-weich); }
  .menue a[aria-current="page"] { color: var(--gruen-dunkel); font-weight: 700; }
  @media (min-width: 70rem) { .menue, .menue.offen { display: none; } }

  
  .krumen { font-size: var(--fs--2); color: var(--gedaempft); padding-top: 1.5rem; }
  .krumen ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0; }
  .krumen li + li::before { content: "/"; margin-right: .35rem; color: var(--salbei-tief); }
  .krumen a { color: var(--gedaempft); }

  
  .knopf { display: inline-flex; align-items: center; gap: .6rem; min-height: 3.1rem; padding: .75rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: var(--fs--1); text-decoration: none; border: 1.5px solid transparent; transition: transform .25s var(--ease), background .2s, box-shadow .25s; }
  .knopf svg { width: 1rem; height: 1rem; transition: transform .25s var(--ease); }
  .knopf:hover svg { transform: translateX(3px); }
  .knopf-voll { background: var(--gruen-dunkel); color: #fff; box-shadow: 0 6px 16px -8px rgb(46 93 58 / .7); }
  .knopf-voll:hover { background: #244b2e; }
  .knopf-rand { border-color: var(--linie); color: var(--tinte); background: rgb(255 255 255 / .6); }
  .knopf-rand:hover { border-color: var(--gruen-dunkel); }
  .dunkel .knopf-rand { color: #fff; border-color: rgb(255 255 255 / .45); background: transparent; }
  .dunkel .knopf-voll { background: var(--gruen-blatt); color: var(--tinte); }

  
  a.strasse, span.strasse {
    display: inline-block;
    padding: .05em .45em .08em;
    margin: 0 .05em;
    border-radius: 4px;
    background: var(--schild);
    box-shadow: inset 0 0 0 1.5px var(--schild), inset 0 0 0 2.5px #fff;
    color: #fff;
    font-family: var(--sans);
    font-weight: 600;
    font-size: .86em;
    letter-spacing: .01em;
    line-height: 1.45;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: .05em;
    transition: background .2s, transform .2s var(--ease);
  }
  a.strasse:hover { background: var(--schild-tief); box-shadow: inset 0 0 0 1.5px var(--schild-tief), inset 0 0 0 2.5px #fff; }
  a.strasse:focus-visible { outline-color: var(--gruen-blatt); }
  a.strasse-text { color: var(--schild); text-decoration-color: rgb(28 79 143 / .45); font-weight: 550; }
  a.strasse-text:hover { text-decoration-color: currentColor; }

  
  .schilder { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .9rem; list-style: none; padding: 0; margin: 0; }
  .schilder li { display: grid; gap: .35rem; }
  .schilder a.strasse { font-size: 1.05rem; padding: .5rem .8rem .55rem; border-radius: 6px; text-align: center; box-shadow: inset 0 0 0 2px var(--schild), inset 0 0 0 4px #fff, 0 2px 5px -1px rgb(31 42 28 / .22); }
  .schilder a.strasse:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--schild-tief), inset 0 0 0 4px #fff, 0 6px 14px -6px rgb(22 63 115 / .55); }
  .schilder small { color: var(--gedaempft); text-align: center; min-height: 1.4em; }

  
  figure.bild { display: grid; gap: .55rem; }
  figure.bild picture, figure.bild img { border-radius: var(--r); overflow: hidden; }
  figure.bild img { width: 100%; background: var(--salbei); }
  figure.bild.zoom img { cursor: zoom-in; }
  figcaption { font-size: var(--fs--2); color: var(--gedaempft); line-height: 1.5; }
  figcaption .nachweis { display: block; font-size: .8125rem; color: #6a7166; }
  figcaption .nachweis a { color: inherit; }
  .bild-quer img { aspect-ratio: 3 / 2; object-fit: cover; }
  .bild-hoch img { aspect-ratio: 4 / 5; object-fit: cover; }
  .bild-historisch img { filter: sepia(.08); border: 1px solid var(--linie); }

  
  .kopfzeile { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
  .kopfzeile p { color: var(--tinte-weich); font-size: var(--fs-1); line-height: 1.5; font-family: var(--serif); font-variation-settings: "opsz" 24; }
  .dunkel .kopfzeile p { color: #d9e4cf; }

  
  .steckbrief { background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: 1.25rem 1.4rem; box-shadow: var(--schatten); }
  .steckbrief h2 { font-size: 1.15rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0; margin-bottom: .6rem; color: var(--gruen-dunkel); }
  .steckbrief dl { display: grid; grid-template-columns: auto 1fr; gap: 0 1.2rem; }
  .steckbrief dt { color: var(--gedaempft); font-size: var(--fs--1); padding: .55rem 0; border-top: 1px solid var(--linie-weich); }
  .steckbrief dd { font-weight: 600; padding: .55rem 0; border-top: 1px solid var(--linie-weich); font-variant-numeric: tabular-nums; }
  .steckbrief dt:first-of-type, .steckbrief dd:first-of-type { border-top: 0; }
  .steckbrief .quelle { margin-top: .75rem; font-size: .8125rem; color: #6a7166; }

  
  .wegweiser { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
  @media (min-width: 44rem) { .wegweiser { grid-template-columns: repeat(2, 1fr); } }
  @media (min-width: 70rem) { .wegweiser.drei { grid-template-columns: repeat(3, 1fr); } }
  .wegweiser a { display: grid; gap: .9rem; text-decoration: none; color: inherit; }
  .wegweiser picture { border-radius: var(--r); overflow: hidden; }
  .wegweiser img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
  .wegweiser a:hover img { transform: scale(1.035); }
  .wegweiser h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: 1.45rem; }
  .wegweiser h3 svg { width: 1.1rem; height: 1.1rem; flex: none; color: var(--gruen-dunkel); transition: transform .25s var(--ease); }
  .wegweiser a:hover h3 svg { transform: translateX(4px); }
  .wegweiser p { color: var(--tinte-weich); font-size: var(--fs--1); }

  
  .zeitleiste { list-style: none; padding: 0; margin: 0; position: relative; }
  .zeitleiste::before { content: ""; position: absolute; left: .45rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(var(--salbei-tief), var(--salbei-tief)) no-repeat; }
  .zeitleiste li { position: relative; padding: 0 0 2.4rem 2.4rem; }
  .zeitleiste li::before { content: ""; position: absolute; left: 0; top: .45rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--grund); border: 3px solid var(--gruen-dunkel); }
  .zeitleiste li.ziegel::before { border-color: var(--ziegel); }
  .zeitleiste time, .zeitleiste .jahr { display: block; font-family: var(--serif); font-size: 1.6rem; font-variation-settings: "opsz" 72; color: var(--gruen-dunkel); line-height: 1.1; font-variant-numeric: lining-nums; }
  .zeitleiste li.ziegel .jahr { color: var(--ziegel); }
  .zeitleiste h3 { margin: .3rem 0 .4rem; }
  .zeitleiste p { color: var(--tinte-weich); }
  .zeitleiste .hinweis { font-size: var(--fs--2); color: var(--gedaempft); margin-top: .35rem; }
  @media (min-width: 56rem) {
    .zeitleiste li { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; padding-left: 2.6rem; }
    .zeitleiste .jahr { padding-top: .1rem; }
    .zeitleiste h3 { margin-top: 0; }
  }

  
  .zitat { border: 0; margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--ziegel-hell); border-radius: var(--r); position: relative; }
  .zitat p { font-family: var(--serif); font-size: var(--fs-1); line-height: 1.55; font-variation-settings: "opsz" 24; color: #3b2418; }
  .zitat footer { margin-top: 1rem; font-size: var(--fs--2); color: #6e4a37; }
  .zitat::before { content: ""; position: absolute; top: -.9rem; left: 1.4rem; width: 2.6rem; height: 2rem; background: var(--ziegel); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 30'%3E%3Cpath d='M0 30V17C0 7 6 1 16 0v6c-5 1-8 5-8 10h8v14H0zm24 0V17C24 7 30 1 40 0v6c-5 1-8 5-8 10h8v14H24z'/%3E%3C/svg%3E") center / contain no-repeat; }

  
  .kasten { border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); background: #fff; border: 1px solid var(--linie); }
  .kasten h2, .kasten h3 { margin-bottom: .5rem; }
  .kasten h2.h3 { font-size: var(--fs-1); }
  .kasten-nachrichten { display: grid; gap: 1.25rem; align-items: center; background: var(--gruen-dunkel); color: #eef3e8; border: 0; position: relative; overflow: hidden; }
  .kasten-nachrichten h2 { font-size: var(--fs-2); color: #fff; }
  .kasten-nachrichten p { color: #d9e4cf; max-width: 52ch; }
  .kasten-nachrichten .knopf-voll { background: var(--gruen-blatt); color: var(--tinte); }
  @media (min-width: 56rem) { .kasten-nachrichten { grid-template-columns: 1fr auto; } }

  
  .faq { display: grid; gap: .75rem; }
  .faq details { background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: 0 1.25rem; transition: border-color .2s; }
  .faq details[open] { border-color: var(--gruen-dunkel); }
  .faq summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: ""; width: .7rem; height: .7rem; flex: none; border-right: 2px solid var(--gruen-dunkel); border-bottom: 2px solid var(--gruen-dunkel); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); }
  .faq details[open] summary::after { transform: rotate(-135deg) translateY(-1px); }
  .faq details > div { padding: 0 0 1.2rem; color: var(--tinte-weich); }

  
  .karte { position: relative; border-radius: var(--r); overflow: hidden; background: var(--salbei); border: 1px solid var(--linie); min-height: 26rem; }
  .karte-vorschau { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 2rem; background: var(--salbei); overflow: hidden; }
  .karte-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) blur(1.5px); transform: scale(1.02); }
  .karte-vorschau > div { position: relative; background: rgb(250 248 242 / .94); border-radius: var(--r); padding: 1.5rem 1.75rem; box-shadow: var(--schatten); max-width: 34rem; }
  .karte-quelle { position: absolute; right: .5rem; bottom: .4rem; font-size: .75rem; background: rgb(255 255 255 / .85); padding: .1rem .4rem; border-radius: 4px; color: var(--tinte-weich); }
  .karte-vorschau p { max-width: 34rem; margin: .75rem auto 1.25rem; font-size: var(--fs--1); color: var(--tinte-weich); }
  .karte-flaeche { position: absolute; inset: 0; visibility: hidden; }
  .karte.aktiv .karte-flaeche { visibility: visible; }
  .karte-vorschau { z-index: 1; }
  .karte.aktiv .karte-vorschau { display: none; }
  .ortsliste { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem 1.5rem; }
  @media (min-width: 44rem) { .ortsliste { grid-template-columns: repeat(2, 1fr); } }
  .ortsliste li { display: grid; grid-template-columns: auto 1fr; gap: .1rem .75rem; align-items: baseline; padding: .6rem 0; border-top: 1px solid var(--linie-weich); }
  .ortsliste .punkt { width: .75rem; height: .75rem; border-radius: 50%; background: var(--gruen-dunkel); grid-row: span 2; transform: translateY(.1rem); }
  .ortsliste .punkt[data-art="Geschichte"] { background: var(--ziegel); }
  .ortsliste .punkt[data-art="Natur"] { background: var(--gruen-blatt); }
  .ortsliste .punkt[data-art="Einkaufen"] { background: var(--schild); }
  .ortsliste small { color: var(--gedaempft); }
  .leaflet-container { font: inherit; }
  .gs-marker { width: 18px; height: 18px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgb(0 0 0 / .35); background: var(--gruen-dunkel); }
  .gs-marker[data-art="Geschichte"] { background: var(--ziegel); }
  .gs-marker[data-art="Natur"] { background: var(--gruen-blatt); }
  .gs-marker[data-art="Einkaufen"] { background: var(--schild); }

  
  .anzeige { border-top: 1px solid var(--linie); padding-top: 1.5rem; }
  
  .anzeige { display: none; }
  .anzeige.geladen { display: block; }
  .anzeige-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
  .anzeige-kopf h2 { font-size: var(--fs-1); }
  .anzeige-kopf span { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gedaempft); }

  
  .ausgaben { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .75rem; }
  .ausgaben a, .ausgaben span { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .8rem 1rem; border-radius: var(--r-klein); border: 1px solid var(--linie); background: #fff; text-decoration: none; color: var(--tinte); font-weight: 600; }
  .ausgaben a:hover { border-color: var(--gruen-dunkel); }
  .ausgaben small { font-weight: 500; color: var(--gedaempft); }

  
  .platzhalter { border: 2px dashed var(--ziegel); background: var(--ziegel-hell); border-radius: var(--r); padding: 1.5rem; color: #3b2418; }

  
  .fuss { background: var(--gruen-dunkel); color: #d9e4cf; padding: clamp(3.5rem, 6vw, 5rem) 0 2rem; font-size: var(--fs--1); }
  .fuss a { color: #fff; text-decoration: none; }
  .fuss a:hover { text-decoration: underline; }
  .fuss-raster { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgb(255 255 255 / .14); }
  @media (min-width: 56rem) { .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
  .fuss h2 { font-family: var(--sans); font-size: .9rem; font-weight: 700; color: #c8e29f; margin-bottom: .9rem; letter-spacing: .02em; }
  .fuss ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
  .fuss .wortmarke { color: #fff; }
  .fuss .wortmarke-name b { color: #c8e29f; }
  .fuss .wortmarke-claim { color: #b9caa9; }
  .fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .875rem; color: #b9caa9; }

  
  .lichtbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1200px); max-height: 94vh; }
  .lichtbox::backdrop { background: rgb(20 28 18 / .88); }
  .lichtbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: var(--r-klein); }
  .lichtbox p { color: #eef3e8; text-align: center; margin-top: .75rem; font-size: var(--fs--1); }
  .lichtbox button { position: fixed; top: 1rem; right: 1rem; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 1.6rem; line-height: 1; }
}

@layer components {
  
  @media (max-width: 26rem) { .kopf .wortmarke-claim { display: none; } }
  @media (max-width: 22.5rem) {
    .wortmarke svg { width: 1.6rem; height: 1.6rem; }
    .wortmarke { gap: .4rem; }
    .menue-knopf { padding: .5rem .75rem; gap: .35rem; }
  }
}

@layer pages {
  
  .start-kopf { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); overflow: clip; }
  .start-raster { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
  @media (min-width: 60rem) { .start-raster { grid-template-columns: 1.05fr 1fr; } }
  .start-kopf h1 { margin-bottom: 1.25rem; }
  .start-kopf .einleitung { font-size: var(--fs-1); line-height: 1.55; color: var(--tinte-weich); }
  .start-kopf .aktionen { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
  .start-foto { position: relative; isolation: isolate; }
  .start-foto img { aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 60%; }
  @media (min-width: 60rem) { .start-foto img { aspect-ratio: 4 / 4.6; } }
  .start-foto::after { content: ""; position: absolute; top: -1.25rem; right: -1.25rem; width: 40%; height: 45%; border-radius: var(--r); background: var(--salbei-tief); z-index: -1; }
  .strassenband { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--linie-weich); }
  .strassenband p { font-size: var(--fs--2); color: var(--gedaempft); margin-bottom: .9rem; }
  .strassenband ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
  .strassenband a.strasse { font-size: 1.05rem; padding: .45rem .9rem .5rem; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--schild), inset 0 0 0 4px #fff, 0 2px 5px -1px rgb(31 42 28 / .22); }
  .strassenband a.strasse:hover { transform: translateY(-2px); }
  .strassenband .alle { font-weight: 600; margin-left: .25rem; }

  .lage-raster { display: grid; gap: 2rem; }
  @media (min-width: 60rem) { .lage-raster { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }

  
  .seitenkopf { padding-block: 1.5rem clamp(2.5rem, 5vw, 4rem); }
  .seitenkopf h1 { margin-top: 1.25rem; }
  .seitenkopf .einleitung { margin-top: 1.25rem; font-family: var(--serif); font-size: var(--fs-1); line-height: 1.5; color: var(--tinte-weich); font-variation-settings: "opsz" 24; }
  .seitenkopf.mit-bild .huelle { display: grid; gap: 2rem; align-items: end; }
  @media (min-width: 60rem) { .seitenkopf.mit-bild .huelle { grid-template-columns: 1.2fr 1fr; } }
  .seitenkopf.mit-bild figure img { aspect-ratio: 3 / 2; object-fit: cover; }

  
  .ziegel-akzent h1 em { color: var(--ziegel); }
  .bildpaar { display: grid; gap: 1.5rem; margin-block: 2.5rem; }
  @media (min-width: 44rem) { .bildpaar { grid-template-columns: 1fr 1fr; align-items: start; } }
  .bildpaar img { aspect-ratio: 3 / 2; object-fit: contain; background: var(--salbei); }
  .text-bild { display: grid; gap: 2rem; margin-block: 2.5rem; }
  @media (min-width: 60rem) { .text-bild { grid-template-columns: 1fr 22rem; align-items: start; } .text-bild figure { position: sticky; top: 6.5rem; } }
  .autor { display: flex; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border-radius: var(--r); background: var(--grund-warm); font-size: var(--fs--1); color: var(--tinte-weich); }
  .fussnote { font-size: var(--fs--2); color: var(--gedaempft); }
  .zeitzeugin { display: grid; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--linie); }
  .zeitzeugin + .zeitzeugin { margin-top: 2.5rem; }
  .zeitzeugin h2 { font-size: var(--fs-2); }
  .zeitzeugin h2 small { display: block; font-family: var(--sans); font-size: var(--fs--1); color: var(--gedaempft); letter-spacing: 0; margin-top: .4rem; font-weight: 500; }

  
  .zahlen { display: grid; grid-template-columns: auto 1fr; align-self: start; gap: 0 1.5rem; background: #fff; border: 1px solid var(--linie); border-radius: var(--r); padding: .5rem 1.4rem; box-shadow: var(--schatten); }
  .zahlen div { display: contents; }
  .zahlen b { padding: .7rem 0; border-top: 1px solid var(--linie-weich); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .zahlen span { padding: .7rem 0; border-top: 1px solid var(--linie-weich); color: var(--tinte-weich); font-size: var(--fs--1); }
  .zahlen div:first-child b, .zahlen div:first-child span { border-top: 0; }

  .liste-sauber { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
  .liste-sauber li { padding: 1rem 0; border-top: 1px solid var(--linie); display: grid; gap: .2rem; }
  .liste-sauber li:last-child { border-bottom: 1px solid var(--linie); }
  .liste-sauber b { font-weight: 650; }
  .liste-sauber small { color: var(--gedaempft); }

  .prosa { max-width: none; }
  .prosa h2 { font-size: var(--fs-2); margin-top: 2.5rem; }
  .prosa ul { padding-left: 1.2rem; }
  .prosa > * + * { margin-top: 1em; }
  .prosa h3 { margin-top: 2rem; }
  .prosa h4 { font-size: var(--fs-0); margin-top: 1.5rem; }
  .prosa a { overflow-wrap: anywhere; }
}

@layer utilities {
  .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
  .gedaempft { color: var(--gedaempft); }
}


@media (prefers-reduced-motion: no-preference) {
  .start-foto picture { animation: aufblenden 1.1s var(--ease) both; }
  .start-kopf h1, .start-kopf .einleitung, .start-kopf .aktionen { animation: heben .9s var(--ease) both; }
  .start-kopf .einleitung { animation-delay: .08s; }
  .start-kopf .aktionen { animation-delay: .16s; }
  @keyframes aufblenden { from { clip-path: inset(6% 6% 6% 6% round var(--r)); filter: saturate(.6); } to { clip-path: inset(0 0 0 0 round var(--r)); filter: none; } }
  @keyframes heben { from { opacity: .001; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}

@media print {
  .kopf, .fuss, .anzeige, .karte, .menue-knopf { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  a.strasse { background: none; color: inherit; box-shadow: none; padding: 0; }
}
