@charset "UTF-8";
/* ==========================================================================
   Planwagen Fritz – Stylesheet
   Selbst gehostet, keine externen Dienste, keine Web-Fonts von Drittanbietern.
   Farbkontraste durchgängig auf WCAG 2.1 AA geprüft (Text ≥ 4,5:1, UI ≥ 3:1).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Flächen */
  --c-bg:            #FAF7F2;
  --c-bg-alt:        #EFE6D6;
  --c-surface:       #FFFFFF;
  --c-surface-2:     #FBF9F5;

  /* Text */
  --c-text:          #1C1917;
  --c-text-soft:     #44403C;
  --c-text-muted:    #57534E;

  /* Marke */
  --c-green:         #2F5233;
  --c-green-dark:    #223D26;
  --c-green-deep:    #1B3120;
  --c-green-tint:    #EAF1EB;

  /* Eigene Tokens für die dunklen Bannerflächen. Sie müssen in beiden
     Farbschemata dunkel bleiben, weil darauf weißer Text steht. */
  --c-banner-from:   #223D26;
  --c-banner-to:     #16281A;

  /* Aktion */
  --c-accent:        #E86A17;   /* nur dekorativ / große Flächen */
  --c-btn:           #C2410C;   /* Weißer Text darauf: 5,18:1 */
  --c-btn-hover:     #9A3412;   /* 7,31:1 */

  /* Linien & Fokus */
  --c-border:        #E4DCCE;   /* dekorative Trenner */
  --c-border-ui:     #8A8175;   /* Ränder von Bedienelementen, 3,59:1 */
  --c-focus:         #8A3A00;

  /* Links */
  --c-link:          #1F5E3A;
  --c-link-hover:    #123D25;

  /* Kopf-/Fußbereich */
  --c-header-bg:     #2F5233;
  --c-header-fg:     #FFFFFF;
  --c-header-fg-dim: #DCE8DD;
  --c-footer-bg:     #1B3120;
  --c-footer-fg:     #FFFFFF;
  --c-footer-dim:    #C9D8CB;
  --c-footer-link:   #FFD9B0;

  /* Typografie – bewusst systemnah: null externe Requests, sofortiges Rendering */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
               "Noto Sans", Arial, "Liberation Sans", sans-serif;
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;

  /* Fließende Schriftgrößen */
  --fs-300: clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --fs-400: clamp(1rem, 0.97rem + 0.2vw, 1.09rem);
  --fs-500: clamp(1.09rem, 1.04rem + 0.3vw, 1.25rem);
  --fs-600: clamp(1.3rem, 1.2rem + 0.55vw, 1.6rem);
  --fs-700: clamp(1.55rem, 1.35rem + 1vw, 2.1rem);
  --fs-800: clamp(1.9rem, 1.5rem + 1.9vw, 3rem);
  --fs-900: clamp(2.2rem, 1.6rem + 2.8vw, 3.6rem);

  /* Raster & Form */
  --wrap:      74rem;
  --wrap-text: 42rem;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 5.5rem;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06), 0 1px 3px rgba(28, 25, 23, .05);
  --shadow-md: 0 4px 6px -2px rgba(28, 25, 23, .07), 0 10px 20px -6px rgba(28, 25, 23, .12);
  --shadow-lg: 0 10px 20px -8px rgba(28, 25, 23, .12), 0 22px 44px -16px rgba(28, 25, 23, .18);

  --ring: 3px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* Dunkles Farbschema – folgt der Systemeinstellung */
@media (prefers-color-scheme: dark) {
  :root {
    --c-bg:            #181611;
    --c-bg-alt:        #1E1B15;
    --c-surface:       #221E18;
    --c-surface-2:     #26221B;

    --c-text:          #EFEAE2;
    --c-text-soft:     #D3CCC1;
    --c-text-muted:    #B6AEA1;

    --c-green:         #8FC79A;
    --c-green-dark:    #7FB98A;
    --c-green-deep:    #12160F;
    --c-green-tint:    #1F2A20;

    /* Banner bleibt auch im Dunkelmodus dunkel – weißer Text darauf */
    --c-banner-from:   #1F3823;
    --c-banner-to:     #101A12;

    --c-accent:        #FFB067;
    --c-btn:           #C2410C;
    --c-btn-hover:     #E2571A;

    --c-border:        #332D25;
    --c-border-ui:     #6E655A;
    --c-focus:         #FFB067;

    --c-link:          #A4D6AF;
    --c-link-hover:    #C6E8CD;

    --c-header-bg:     #1F3823;
    --c-header-fg:     #FFFFFF;
    --c-header-fg-dim: #C9D8CB;
    --c-footer-bg:     #12160F;
    --c-footer-fg:     #FFFFFF;
    --c-footer-dim:    #C9D8CB;
    --c-footer-link:   #FFD9B0;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, .5);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);
  }
  /* Bilder im Dunkelmodus eine Spur ruhiger */
  .prose img, .hero-figure img, .card-media img { filter: brightness(.92) contrast(1.02); }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem; /* fixierter Kopf */
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  text-underline-offset: .18em;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--c-green);
  text-wrap: balance;
}
h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); }

p { margin: 0 0 var(--sp-5); }
p:last-child { margin-bottom: 0; }

a { color: var(--c-link); text-decoration-thickness: .08em; }
a:hover { color: var(--c-link-hover); }

strong, b { font-weight: 700; color: inherit; }
em, i { font-style: italic; }

img, picture, video, svg { max-width: 100%; height: auto; display: block; }

hr {
  height: 1px; border: 0; margin: var(--sp-7) 0;
  background: linear-gradient(90deg, transparent, var(--c-border) 15%, var(--c-border) 85%, transparent);
}

ul, ol { margin: 0 0 var(--sp-5); padding-left: 1.4em; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

blockquote { margin: 0 0 var(--sp-5); }

:target { scroll-margin-top: 7rem; }

/* Sichtbarer, kontraststarker Fokus – nie entfernen */
:focus-visible {
  outline: var(--ring) solid var(--c-focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
/* Fokus auf dunklem Grund */
.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible {
  outline-color: #FFC77D;
}

/* --------------------------------------------------------------------------
   3. Hilfsklassen
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: 50%; top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--c-btn);
  color: #fff;
  font-weight: 700;
  padding: .8rem 1.4rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  text-decoration: none;
  transition: transform .18s var(--ease);
}
.skip-link:focus {
  transform: translate(-50%, 0);
  color: #fff;
}

/* --------------------------------------------------------------------------
   4. Kopfbereich + Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-header-bg);
  color: var(--c-header-fg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08), var(--shadow-md);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: 4.5rem;
  padding-block: .6rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-500);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-header-fg);
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}
.brand:hover { color: #fff; text-decoration: none; }
.brand-mark {
  font-family: var(--font-emoji);
  font-size: 1.35em;
  line-height: 1;
  filter: saturate(1.05);
}

/* Telefon im Kopf */
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--c-btn);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-300);
  text-decoration: none;
  padding: .6rem 1.05rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  transition: background-color .18s var(--ease), transform .18s var(--ease);
  white-space: nowrap;
}
.header-tel:hover { background: var(--c-btn-hover); color: #fff; transform: translateY(-1px); }
.header-tel .ico { font-family: var(--font-emoji); }

/* Umschalter für kleine Viewports */
.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  font: inherit;
  font-size: var(--fs-300);
  font-weight: 700;
  color: var(--c-header-fg);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: var(--r-pill);
  padding: .5rem .95rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.nav-toggle .bars {
  position: relative;
  width: 1.1rem; height: 2px;
  background: currentColor;
  transition: background-color .15s var(--ease);
}
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  content: ""; position: absolute; left: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease);
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Navigationsliste */
.nav-list, .sub-list { list-style: none; margin: 0; padding: 0; }

.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: .15rem;
}
.main-nav li { margin: 0; }

.main-nav a {
  display: block;
  color: var(--c-header-fg);
  font-size: var(--fs-300);
  font-weight: 600;
  text-decoration: none;
  padding: .55rem .7rem;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.main-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 -3px 0 var(--c-accent);
}

/* Untermenü */
.has-sub { position: relative; display: flex; align-items: center; }
.sub-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 1.9rem; height: 1.9rem;
  margin-left: -.25rem;
  background: transparent;
  border: 0; border-radius: var(--r-sm);
  color: var(--c-header-fg);
  cursor: pointer;
}
.sub-toggle:hover { background: rgba(255, 255, 255, .12); }
.sub-toggle svg { width: .7rem; height: .7rem; transition: transform .2s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.sub-list {
  position: absolute;
  /* Der optische Abstand entsteht über padding-top, nicht über einen Versatz.
     Sonst verlässt der Mauszeiger auf dem Weg nach unten das Elternelement
     und das Untermenü klappt zu, bevor es erreicht ist. */
  top: 100%; left: 0;
  padding-top: 1rem;
  background-clip: padding-box;
  min-width: 17rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: .45rem;
  display: none;
  z-index: 120;
}
.has-sub .sub-list[data-open="true"] { display: block; }
@media (hover: hover) and (min-width: 62.5rem) {
  .has-sub:hover .sub-list,
  .has-sub:focus-within .sub-list { display: block; }
}
.sub-list a {
  color: var(--c-text);
  font-weight: 600;
  padding: .5rem .7rem;
  border-radius: var(--r-sm);
  white-space: normal;
}
.sub-list a:hover { background: var(--c-green-tint); color: var(--c-link-hover); }
.sub-list a[aria-current="page"] {
  background: var(--c-green-tint);
  color: var(--c-link-hover);
  box-shadow: inset 3px 0 0 var(--c-btn);
}

/* Mobile Navigation */
@media (max-width: 62.4375rem) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--c-header-bg);
    border-top: 1px solid rgba(255, 255, 255, .14);
    box-shadow: var(--shadow-lg);
    max-height: min(76vh, 40rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    display: none;
    padding: var(--sp-3) clamp(1rem, 4vw, 2.5rem) var(--sp-5);
  }
  .main-nav[data-open="true"] { display: block; }
  .main-nav .nav-list { display: block; }
  .main-nav .nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .main-nav .nav-list > li:last-child { border-bottom: 0; }
  .main-nav a { padding: .8rem .25rem; font-size: var(--fs-400); }
  .has-sub { flex-wrap: wrap; justify-content: space-between; }
  .has-sub > a { flex: 1; }
  .sub-toggle { width: 2.75rem; height: 2.75rem; margin: 0; }
  .sub-list {
    position: static;
    width: 100%;
    flex-basis: 100%;
    background: rgba(0, 0, 0, .18);
    border: 0;
    box-shadow: none;
    border-radius: var(--r-sm);
    margin-bottom: .5rem;
    padding: .25rem;
  }
  .sub-list a { color: var(--c-header-fg-dim); }
  .sub-list a:hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .sub-list a[aria-current="page"] {
    background: rgba(255, 255, 255, .14); color: #fff;
    box-shadow: inset 3px 0 0 var(--c-accent);
  }
  .header-tel .label-long { display: none; }
}
/* Schmale Displays: Marke, Menü-Schalter und Telefon müssen zusammen in
   320 px passen. Die Rufnummer im Kopf wird daher nur optisch ausgeblendet –
   für Screenreader bleibt sie über .visually-hidden weiter vorhanden. */
@media (max-width: 30rem) {
  .header-bar { gap: .5rem; }
  .brand { font-size: var(--fs-400); min-width: 0; }
  .brand > span:not(.brand-mark) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .nav-toggle { flex: none; padding: .5rem .75rem; }
  .header-tel { flex: none; padding: .6rem .8rem; }
  .header-tel .tel-nr {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
}

/* --------------------------------------------------------------------------
   5. Hero / Seitenkopf
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: linear-gradient(170deg, var(--c-banner-from), var(--c-banner-to));
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 380px at 15% -10%, rgba(232, 106, 23, .22), transparent 65%),
    radial-gradient(900px 340px at 88% 108%, rgba(143, 199, 154, .18), transparent 62%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }

.hero-inner {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.25rem, 5vw, 4rem);
}
@media (min-width: 56rem) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #FFD9B0;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-pill);
  padding: .35rem .9rem;
  margin-bottom: var(--sp-4);
}

.hero-title {
  color: #fff;
  font-size: var(--fs-900);
  margin-bottom: var(--sp-3);
}
.hero-tagline {
  font-size: var(--fs-500);
  font-weight: 700;
  color: #FFD9B0;
  letter-spacing: .02em;
  margin-bottom: var(--sp-4);
}
.hero-contact {
  color: var(--c-header-fg-dim);
  font-size: var(--fs-400);
  margin-bottom: var(--sp-5);
  /* verhindert, dass am Zeilenende ein einzelnes Wort übrig bleibt
     (die Hausnummer stand sonst allein in der nächsten Zeile) */
  text-wrap: pretty;
}
/* Zusammengehörige Angaben nicht trennen */
.hero-contact .nowrap { white-space: nowrap; }
.hero-contact a { color: #FFD9B0; }
.hero-contact a:hover { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Auf dem Smartphone den Kopfbereich straffen, damit das Foto früher
   sichtbar wird und nicht der ganze erste Bildschirm aus Text besteht. */
@media (max-width: 40rem) {
  .hero-inner { padding-block: 1.75rem 1.5rem; gap: 1.5rem; }
  .hero-title { font-size: clamp(1.9rem, 1.3rem + 3.4vw, 2.6rem); }
  .hero-eyebrow { margin-bottom: .75rem; font-size: .8rem; }
  .hero-tagline { margin-bottom: .75rem; }
  .hero-contact { margin-bottom: 1.1rem; }
  .hero-actions .btn { width: 100%; }
}

.hero-figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .2);
}
.hero-figure img { width: 100%; }

/* Kompakter Seitenkopf (Impressum, Datenschutz, Barrierefreiheit) */
.page-head {
  background: linear-gradient(170deg, var(--c-banner-from), var(--c-banner-to));
  color: #fff;
  padding-block: clamp(2rem, 4.5vw, 3.25rem);
}
.page-head h1 { color: #fff; margin-bottom: 0; }
.page-head .hero-eyebrow { margin-bottom: var(--sp-3); }
.page-head p { color: var(--c-header-fg-dim); margin-top: var(--sp-3); margin-bottom: 0; }

/* --------------------------------------------------------------------------
   6. Schaltflächen
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 2.9rem;
  padding: .8rem 1.5rem;
  font-size: var(--fs-400);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color .18s var(--ease), transform .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
}
.btn .ico { font-family: var(--font-emoji); font-size: 1.1em; }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--c-btn); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--c-btn-hover); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; color: #fff; }

.btn-outline { background: var(--c-surface); color: var(--c-link); border-color: var(--c-border-ui); }
.btn-outline:hover { background: var(--c-green-tint); color: var(--c-link-hover); border-color: var(--c-green); }

/* --------------------------------------------------------------------------
   7. Sektionen & Inhaltsfluss
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(2.25rem, 5vw, var(--sp-8)); }
.section-alt {
  background: var(--c-bg-alt);
  border-block: 1px solid var(--c-border);
}
.section-tight { padding-block: clamp(1.75rem, 4vw, var(--sp-7)); }

/* Akzentstrich über den Abschnittsüberschriften – gibt der Seite Rhythmus */
.prose > h2 {
  position: relative;
  padding-top: var(--sp-4);
}
.prose > h2::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 2.75rem; height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-accent), var(--c-btn));
}

.section-head { max-width: var(--wrap-text); margin-bottom: var(--sp-6); }
.section-head :last-child { margin-bottom: 0; }

/* Lesespalte – zentriert, damit die Seite ausgewogen wirkt */
.prose { max-width: var(--wrap-text); margin-inline: auto; }
.prose > * + * { margin-top: var(--sp-5); }
.prose > h2, .prose > h3, .prose > h4 { margin-top: var(--sp-7); margin-bottom: var(--sp-4); }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose > * + h2, .prose > * + h3 { margin-top: var(--sp-7); }
.prose p { margin-bottom: 0; }
.prose ul, .prose ol { margin-bottom: 0; }
.prose a { font-weight: 600; }

/* Wide-Variante für Bild-/Textmischung */
.prose-wide { max-width: 62rem; }

/* Emoji-geführte Listen: Aufzählungspunkt entfällt, Emoji trägt die Optik */
.list-emoji {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: var(--sp-3);
}
.list-emoji > li {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: .85rem 1.1rem;
  margin: 0;
  box-shadow: var(--shadow-sm);
  line-height: 1.55;
}
@media (min-width: 40rem) {
  .list-emoji.list-emoji-2 { grid-template-columns: 1fr 1fr; }
}

/* Normale Aufzählungen mit eigenem Marker */
.prose ul:not(.list-emoji) { list-style: none; padding-left: 0; }
.prose ul:not(.list-emoji) > li {
  position: relative;
  padding-left: 1.6em;
}
.prose ul:not(.list-emoji) > li::before {
  content: "";
  position: absolute;
  left: .3em; top: .62em;
  width: .48em; height: .48em;
  border-radius: 50%;
  background: var(--c-accent);
}
.prose ol { list-style: decimal; padding-left: 1.5em; }
.prose ol > li::marker { color: var(--c-green); font-weight: 700; }

/* Karte */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.card > :last-child { margin-bottom: 0; }

/* Hervorgehobener Info-/Kontaktblock */
.callout {
  background: var(--c-green-tint);
  border: 1px solid var(--c-border);
  border-left: 5px solid var(--c-green);
  border-radius: var(--r-md);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.2rem, 3vw, 1.8rem);
}
.callout > :last-child { margin-bottom: 0; }
.callout h2, .callout h3 { margin-top: 0; }

.quote {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 5px solid var(--c-accent);
  border-radius: var(--r-md);
  padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.2rem, 3vw, 1.8rem);
  font-size: var(--fs-500);
  font-style: italic;
  color: var(--c-text-soft);
  box-shadow: var(--shadow-sm);
}
.quote > :last-child { margin-bottom: 0; }

/* Fakten-Raster */
.facts {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--sp-4);
}
@media (min-width: 44rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
.facts > li {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   8. Bilder & Medien
   -------------------------------------------------------------------------- */
figure { margin: 0; }

.media {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  box-shadow: var(--shadow-sm);
}
.media img { width: 100%; }

/* Die Fotos aus dem Altbestand sind oft nur 550 px breit. Ohne diese Regel
   würde die Figure die volle Textspalte einnehmen und das Bild auf ~180 %
   hochskaliert – es wirkt dann unscharf. So bleibt es in Originalgröße. */
.prose > .media,
.prose > p > .media {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}
.media figcaption {
  font-size: var(--fs-300);
  color: var(--c-text-muted);
  padding: .7rem 1rem;
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
}

/* Bild-Text-Paar */
.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-reverse > :first-child { order: 2; }
}

/* Galerie – einheitliches Format, damit die gemischten Seitenverhältnisse
   des Altbestands (4:3, 550×320, 550×357) auf einer Linie abschließen. */
.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.gallery .media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Logo-/Schmuckbild frei stehend.
   Die Grafik hat einen weißen Hintergrund. "multiply" lässt dieses Weiß mit
   der cremefarbenen Fläche verschmelzen, damit kein harter Kasten entsteht. */
.image-plain {
  margin: 0;
  display: flex;
  justify-content: center;
}
.image-plain img {
  width: auto;
  max-width: min(100%, 26rem);
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  /* Im Dunkelmodus würde "multiply" die Grafik verschlucken – hier eine
     helle Karte unterlegen, damit sie klar erkennbar bleibt. */
  .image-plain img {
    mix-blend-mode: normal;
    background: #fff;
    border-radius: var(--r-md);
    padding: .6rem 1rem;
    filter: none;
  }
}

/* Video */
.video-block {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: #000;
  box-shadow: var(--shadow-md);
}
.video-block video { width: 100%; display: block; aspect-ratio: 16 / 9; background: #000; }
/* Ersatztext für Browser ohne Videowiedergabe – steht auf schwarzem Grund */
.video-block video > p { color: #fff; padding: 1.25rem; margin: 0; }
.video-block video > p a { color: #FFD9B0; font-weight: 700; }
.video-block video > p a:hover { color: #fff; }
.video-note {
  font-size: var(--fs-300);
  color: var(--c-text-muted);
  margin-top: var(--sp-3);
}

/* --------------------------------------------------------------------------
   9. Touren-Kacheln
   -------------------------------------------------------------------------- */
.tour-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.tour-grid > li { margin: 0; }

.tour-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  font-size: var(--fs-400);
  color: var(--c-link);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              border-color .18s var(--ease), background-color .18s var(--ease);
}
.tour-card::after {
  content: "";
  flex: none;
  width: .55rem; height: .55rem;
  margin-left: auto;
  border-right: 2.5px solid currentColor;
  border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s var(--ease);
}
.tour-card:hover {
  transform: translateY(-3px);
  border-color: var(--c-green);
  background: var(--c-surface-2);
  box-shadow: var(--shadow-md);
  color: var(--c-link-hover);
  text-decoration: none;
}
.tour-card:hover::after { transform: rotate(-45deg) translate(2px, 2px); }
.tour-card[aria-current="page"] {
  border-color: var(--c-green);
  box-shadow: inset 4px 0 0 var(--c-btn), var(--shadow-sm);
}
.tour-card .ico { font-family: var(--font-emoji); font-size: 1.15em; flex: none; }

/* --------------------------------------------------------------------------
   10. Weiterführende Links
   -------------------------------------------------------------------------- */
.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.linklist > li {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: .9rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
.linklist .label { display: block; font-weight: 700; color: var(--c-green); margin-bottom: .15rem; }
.linklist a { font-weight: 600; word-break: break-word; }

/* --------------------------------------------------------------------------
   11. Fußbereich
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--c-footer-bg);
  color: var(--c-footer-fg);
  /* Achtung: im zweiten Wert muss der kleinste Wert zuerst stehen. Stand hier
     zuvor clamp(6.5rem, 9vw, 3rem), gewann das Minimum und erzeugte auf jedem
     Bildschirm rund 104 px ungenutzten Raum. */
  padding-block: clamp(2.5rem, 5vw, 3.75rem) clamp(2.5rem, 4vw, 3.25rem);
  /* kein margin-top: der Fußbereich schließt direkt an die letzte Sektion an */
}
.footer-grid {
  display: grid;
  gap: var(--sp-6);
}
@media (min-width: 48rem) {
  .footer-grid { grid-template-columns: 1.35fr 1fr 1fr; }
}
.site-footer h2 {
  color: #fff;
  font-size: var(--fs-500);
  margin-bottom: var(--sp-3);
}
.site-footer p, .site-footer address {
  color: var(--c-footer-dim);
  font-style: normal;
  font-size: var(--fs-300);
  margin-bottom: var(--sp-3);
  line-height: 1.75;
}
.site-footer a { color: var(--c-footer-link); font-weight: 600; }
.site-footer a:hover { color: #fff; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0; }
/* Ausreichend große Tippflächen (mind. 24 px, WCAG 2.5.8) */
.footer-nav a {
  display: inline-block;
  padding-block: .4rem;
  min-height: 24px;
}
.footer-bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-300);
  color: var(--c-footer-dim);
}
.footer-brand {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; color: #fff; text-decoration: none;
}
.footer-brand .brand-mark { font-family: var(--font-emoji); }

/* --------------------------------------------------------------------------
   12. Fixierter Anruf-Button
   -------------------------------------------------------------------------- */
.call-fab {
  position: fixed;
  right: 1.25rem; bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--c-btn);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-400);
  text-decoration: none;
  padding: .9rem 1.4rem;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  transition: background-color .18s var(--ease), transform .18s var(--ease);
}
.call-fab:hover { background: var(--c-btn-hover); color: #fff; transform: translateY(-2px); }
.call-fab .ico { font-family: var(--font-emoji); font-size: 1.15em; }

/* Auf großen Bildschirmen steht die Rufnummer dauerhaft im klebenden Kopf.
   Ein zweiter, fixierter Button mit derselben Nummer würde nur konkurrieren
   und die untere rechte Ecke verdecken – dort liegen Linklisten und die
   Videosteuerung. Der fixierte Button bleibt daher dem Smartphone vorbehalten. */
@media (min-width: 40.0625rem) {
  .call-fab { display: none; }
}

@media (max-width: 40rem) {
  .call-fab {
    /* "flex" statt "inline-flex": nur so dehnt sich das Element zwischen
       left und right. Mit inline-flex bliebe es inhaltsbreit und würde
       schmale Displays überlaufen (waagerechtes Scrollen). */
    display: flex;
    left: 1rem; right: 1rem;
    /* Abstand zur Gestenzone moderner iPhones */
    bottom: calc(.85rem + env(safe-area-inset-bottom, 0px));
    justify-content: center;
    text-align: center;
    padding: .95rem .75rem;
    font-size: var(--fs-300);
    border-radius: var(--r-pill);
  }
}
/* Sehr schmale Geräte (ab 320 px) */
@media (max-width: 22.5rem) {
  .call-fab { gap: .4rem; font-size: .875rem; padding: .85rem .5rem; }
}
/* Platz schaffen, damit der Button nie Inhalt verdeckt */
body { padding-bottom: 0; }
@media (max-width: 40rem) {
  /* Freiraum fuer den fixierten Anruf-Button */
  .site-footer { padding-bottom: 7rem; }
}

/* Beim Drucken störende Elemente ausblenden */
@media print {
  .site-header, .call-fab, .skip-link, .nav-toggle, .site-footer .footer-nav { display: none !important; }
  .hero, .page-head { background: none !important; color: #000 !important; }
  .hero-title, .page-head h1 { color: #000 !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { text-decoration: underline; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  .card, .callout, .media, .linklist > li, .list-emoji > li { box-shadow: none !important; }
}

/* Erhöhter Kontrast, wenn vom System gewünscht */
@media (prefers-contrast: more) {
  :root { --c-text-muted: #3F3B36; --c-border: #8A8175; }
  a { text-decoration-thickness: .12em; }
  .card, .callout, .media, .linklist > li, .list-emoji > li, .tour-card { border-color: var(--c-border-ui); }
}

/* Sehr breite Bildschirme: Lesespalte nicht ausdehnen */
@media (min-width: 100rem) {
  :root { --wrap: 80rem; }
}

/* --------------------------------------------------------------------------
   13. Ohne JavaScript
   Die Klasse .no-js entfernt ein Inline-Skript im <head>. Bleibt sie stehen,
   ist die Navigation vollständig sichtbar statt hinter einem Umschalter.
   -------------------------------------------------------------------------- */
.no-js .nav-toggle { display: none !important; }
.no-js .sub-toggle { display: none !important; }
@media (max-width: 62.4375rem) {
  .no-js .main-nav { display: block !important; position: static; box-shadow: none; max-height: none; }
  .no-js .sub-list { display: block !important; }
}
@media (min-width: 62.5rem) {
  .no-js .sub-list { display: block !important; position: static; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0; }
  .no-js .main-nav .nav-list { flex-wrap: wrap; }
  .no-js .has-sub { flex-wrap: wrap; }
  .no-js .sub-list a { color: var(--c-header-fg); }
}
