/* HochzeitsPartner: Gestaltung der öffentlichen Seiten
   Aufbau: Mobile zuerst, größere Bildschirme über min-width-Media-Queries.
   Leitmotiv: Einladungskarte (Perlweiß, feiner Goldrahmen, Weinrot als Akzent). */

/* Schriften (lokal) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mulish-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mulish"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/mulish-latin-600-normal.woff2") format("woff2"); }

:root {
  --wine: #bc0e1a;
  --wine-deep: #8e0b15;
  --wine-soft: #f6d9de;
  --blush: #f8ecfb;
  --blush-2: #f1dcf4;
  --pearl: #fffafc;
  --white: #ffffff;
  --gold: #a9803f;
  --gold-light: #d8bd88;
  --gold-pale: #f2e7d2;
  --gold-text: #7d5e2e;     /* Gold für Schrift, mindestens 4,5:1 auf Weiß und Blush */
  --ink: #2b1f27;
  --plum: #4a2338;
  --muted: #6c5b66;
  --line: rgba(169, 128, 63, 0.32);
  --radius-card: 14px;      /* Container, Karten, große Boxen */
  --radius-ctrl: 8px;       /* Buttons, Eingabefelder, Selects, Nav-Links */
  --radius-tag: 6px;        /* kleine Tags, Hinweise, Zähler */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.07);
  --shadow-layer: 0 20px 50px rgba(0, 0, 0, 0.18); /* Lightbox, Popup, Dropdown */
  --border-card: 1px solid rgba(0, 0, 0, 0.06);
  --border-card-dark: 1px solid rgba(255, 255, 255, 0.12);
  --focus-ring: 0 0 0 3px rgba(216, 189, 136, 0.45);
  --gap: 20px;              /* Abstand in Rastern (Karten, Kacheln) */
  --section-y: 56px;        /* Abstand oben und unten bei Abschnitten */
  --lift: 180ms ease;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Mulish", "Segoe UI", system-ui, sans-serif;
  --head-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--pearl);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--plum); line-height: 1.25; margin: 0 0 0.5em; letter-spacing: 0.005em; }
h1 { font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.6rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
b, strong, th { font-weight: 600; }
ul, ol { padding-left: 1.2em; }
/* Fokus für Tastaturnutzer: setzt sich gegen Karten- und Button-Schatten durch */
:focus-visible { outline: none; box-shadow: var(--focus-ring) !important; }
::selection { background: var(--wine-soft); }

.skip { position: absolute; left: -10000px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: var(--radius-ctrl); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.small { font-size: 0.88rem; color: var(--muted); }

.wrap, .wrap-mid, .wrap-narrow { width: 100%; margin: 0 auto; padding: 0 20px; }
.wrap { max-width: 1240px; }
.wrap-mid { max-width: 940px; }
.wrap-narrow { max-width: 780px; }

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-ctrl);
  border: 1px solid transparent;
  font: 600 0.95rem/1.2 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--lift), box-shadow var(--lift), background-color var(--lift), color var(--lift);
}
.btn:active { transform: translateY(0); }
/* Primär */
.btn-wine { color: var(--white); background: var(--wine); }
.btn-wine:hover { color: var(--white); background: var(--wine-deep); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
/* Sekundär (Outlined), auf dunklem Grund mit .btn-on-dark */
.btn-outline { color: var(--wine); background: transparent; border-color: var(--wine); }
.btn-outline:hover { color: var(--wine-deep); background: var(--wine-soft); }
.btn-on-dark.btn-outline { color: var(--white); border-color: var(--white); }
.btn-on-dark.btn-outline:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.link-more { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-more::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform 0.2s ease; }
.link-more:hover::after { transform: translateX(3px); }

/* Leitmotiv Einladungskarte: Perlweiß mit feinem Goldrahmen innen */
.invitation {
  --frame-inset: 7px;
  position: relative;
  background: linear-gradient(180deg, var(--white) 0%, var(--pearl) 100%);
  border: var(--border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.invitation::before {
  content: "";
  position: absolute;
  inset: var(--frame-inset);
  border: 1px solid rgba(216, 189, 136, 0.55);
  border-radius: calc(var(--radius-card) - 1px - var(--frame-inset));
  pointer-events: none;
}

/* Kopfbereich */
/* Unschärfe liegt auf einem Pseudo-Element: backdrop-filter direkt am Header würde
   das mobile Menü (position: fixed) an die Header-Höhe binden. */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, var(--gold-light), transparent) 1;
}
.site-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 250, 252, 0.9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
.head-inner { max-width: 1320px; margin: 0 auto; padding: 0 16px; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand img { height: 46px; width: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px;
  background: var(--white); color: var(--plum);
  border: 1px solid var(--gold-light); border-radius: var(--radius-ctrl);
  font: 600 0.85rem var(--sans); cursor: pointer;
}
.nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; width: 18px; height: 2px; background: var(--wine); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle-lines { position: relative; }
.nav-toggle-lines::before, .nav-toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: fixed;
  top: var(--head-h);
  left: 0; right: 0; bottom: 0;
  background: var(--pearl);
  overflow-y: auto;
  padding: 12px 20px 32px;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 15px 4px; background: none; border: 0;
  font: 600 1.05rem var(--sans); color: var(--plum); text-decoration: none; text-align: left; cursor: pointer;
}
.nav-item.is-current > .nav-link { color: var(--wine); }
.sub-toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg) translateY(-3px); transition: transform 0.25s ease; }
.sub-toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-1px); }
.sub { display: none; padding: 0 0 12px; }
.has-sub.is-open > .sub { display: block; }
.sub-list { list-style: none; margin: 0; padding: 0; }
.sub-list a { display: block; padding: 9px 12px; border-radius: var(--radius-ctrl); color: var(--ink); text-decoration: none; }
.sub-list a:hover, .sub-list a[aria-current="page"] { background: var(--blush); color: var(--wine); }
.nav-cta { margin-top: 20px; width: 100%; }
body.nav-open { overflow: hidden; }

/* Startseite: Hero */
.hero { position: relative; }
.hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
/* Bildausschnitt pro Bild über --focus (object-position), Standard Mitte */
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 236, 251, 0) 40%, rgba(248, 236, 251, 0.85) 100%); }
.hero-card { margin: -70px 16px 0; padding: 24px; text-align: center; z-index: 2; box-shadow: var(--shadow-hover); }
.hero-card h1 { font-size: clamp(1.9rem, 7vw, 2.75rem); margin-bottom: 0.4em; }
/* Einleitungen: Mulish, nicht kursiv, etwas größer als der Fließtext */
.hero-lead, .page-hero-lead, .hero-split-lead, .intro-close { font-family: var(--sans); font-size: 1.125rem; font-weight: 400; line-height: 1.6; color: var(--plum); }
.hero-card p { color: var(--muted); }
.hero-facts { display: inline-block; margin: 4px 0 18px; text-align: left; color: var(--ink); }
.hero-btns { margin: 0; }
.hero-card .btn { margin-top: 8px; }

/* Startseite: nächste Messen, Checkliste, Blog */
.fair-mini { list-style: none; margin: 0 0 28px; padding: 0; }
.fair-mini li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fair-mini li:first-child { border-top: 1px solid var(--line); }
.fair-mini-date { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border: var(--border-card); border-radius: var(--radius-ctrl); background: var(--white); font-size: 0.78rem; color: var(--muted); text-align: center; line-height: 1.3; }
.fair-mini-date span { font: 600 1.7rem/1 var(--serif); color: var(--wine); }
.fair-mini-title { font-size: 1.3rem; margin: 0 0 4px; }
.fair-mini-meta { margin: 0; color: var(--muted); font-size: 0.93rem; }
.fair-mini-fee { margin: 2px 0 0; font-size: 0.88rem; font-weight: 600; color: #2e6b3a; }
.home-checklist-inner { display: grid; gap: 8px 40px; align-items: center; }
.home-checklist-inner .btn-row { justify-content: flex-start; margin: 0; }
.home-more { margin: 36px 0 0; }

/* Abschnitte */
.section { padding: var(--section-y) 0; }
.section-blush { background: linear-gradient(180deg, var(--blush) 0%, var(--pearl) 100%); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); }
.section-head h2::after, .partners-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 10px;
  margin: 14px auto 0;
  background:
    linear-gradient(var(--gold-light), var(--gold-light)) left 50% / 48px 1px no-repeat,
    linear-gradient(var(--gold-light), var(--gold-light)) right 50% / 48px 1px no-repeat,
    linear-gradient(45deg, transparent 42%, var(--gold) 42%, var(--gold) 58%, transparent 58%) center / 10px 10px no-repeat;
}
.eyebrow { margin: 0 0 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }

/* Kategorie-Kacheln (Text ist im Bild enthalten) */
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.tile {
  position: relative; display: block; border-radius: var(--radius-card); overflow: hidden;
  border: var(--border-card); box-shadow: var(--shadow-card); background: var(--blush-2);
  transition: transform var(--lift), box-shadow var(--lift);
}
.tile img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tile-text { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; padding: 16px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.2; text-align: center; color: var(--plum); }
.tile::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255, 240, 210, 0.6); border-radius: calc(var(--radius-card) - 5px); z-index: 2; pointer-events: none; }
/* Klickbare Karten heben sich beim Überfahren leicht an */
.tile:hover, .tipp-card:hover, .partner-card:hover, .post-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* Tipp-Karten */
.tipp-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
/* Karten: gemeinsame Optik von Tipp-, Partner- und Blogkarten */
.tipp-card, .partner-card, .post-card {
  display: flex; flex-direction: column; background: var(--white); border: var(--border-card);
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform var(--lift), box-shadow var(--lift);
}
.tipp-media { position: relative; display: block; overflow: hidden; }
/* Glanz beim Überfahren: läuft einmal von links nach rechts, das Bild selbst bleibt unverändert */
.tipp-media::before { content: ""; position: absolute; top: 0; left: -75%; z-index: 2; width: 50%; height: 100%; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%); transform: skewX(-25deg); }
.tipp-card:hover .tipp-media::before, .tipp-card:has(a:focus-visible) .tipp-media::before { animation: hp-shine 0.75s ease; }
@keyframes hp-shine { to { left: 125%; } }
.tipp-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tipp-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.tipp-body h3 { margin-bottom: 0.4em; }
.tipp-body h3 a { color: var(--plum); text-decoration: none; }
.tipp-body h3 a:hover { color: var(--wine); }
.tipp-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }

/* Seitenkopf der Unterseiten */
.page-hero { position: relative; min-height: 300px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248, 236, 251, 0.8) 0%, rgba(255, 250, 252, 0.92) 100%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; padding: 56px 20px 48px; }
.page-hero-lead { margin: 0 auto; max-width: 680px; }
.page-hero-slim { min-height: 220px; }
.crumbs { font-size: 0.82rem; letter-spacing: 0.05em; margin-bottom: 12px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--wine); }
.crumbs span { margin: 0 8px; color: var(--gold-light); }

.intro { padding: 48px 0 8px; }
.good-to-know h2 { margin-top: 0; }
.gtk-more { margin: 1.4em 0 0; }
.prose { font-size: 1.04rem; line-height: 1.8; }
.prose h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); margin-top: 1.6em; }
.prose ul li, .prose ol li { margin-bottom: 0.3em; }
.prose h3 { font-size: clamp(1.3rem, 3.8vw, 1.6rem); margin-top: 1.4em; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; background: var(--blush); border-radius: var(--radius-card); font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; color: var(--plum); }
.prose blockquote p:last-child { margin-bottom: 0; }
.intro-close { color: var(--wine); text-align: center; margin-top: 1.4em; }

/* Partnerkarten */
.partners { padding: 40px 0 var(--section-y); }
.partners-title { text-align: center; font-size: clamp(1.5rem, 4.5vw, 2.1rem); max-width: 760px; margin: 0 auto 32px; }
/* Flex statt Raster: Karten einer Reihe sind gleich hoch, Füllkarten machen die letzte Reihe voll */
.partner-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--gap); }
.partner-card { position: relative; flex: 0 1 100%; background: var(--white); }
/* Logo als aufgelegte Visitenkarte in voller Kartenbreite. Format der Logodateien: 2500 × 1660 Pixel,
   Ausreißer passen per contain ohne Verzerrung und ohne Beschnitt hinein. */
.partner-logo { --card-pad: 20px; padding: var(--card-pad) var(--card-pad) 0; }
/* Initialen-Platzhalter (auch in der Kontaktkarte der Partnerseite) */
.partner-initial { display: grid; place-items: center; width: 88px; height: 88px; border-radius: var(--radius-card); background: var(--white); border: 1px solid var(--gold-light); font: 600 2.4rem var(--serif); color: var(--wine); }
.partner-logo img, .partner-logo .partner-initial { display: block; width: 100%; height: auto; aspect-ratio: 2500 / 1660; object-fit: contain; background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04); border-radius: var(--radius-ctrl); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.partner-logo .partner-initial { display: grid; place-items: center; font-size: 3rem; }
.partner-body { padding: 0 20px 22px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.partner-body::before { content: ""; display: block; width: 40px; height: 1px; margin: 18px auto 14px; background: var(--gold-light); }
.partner-name { font-size: 1.35rem; line-height: 1.25; margin: 0 0 6px; }
.partner-link { color: var(--plum); text-decoration: none; }
.partner-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-card); }
.partner-link:focus-visible { box-shadow: none !important; }
.partner-link:focus-visible::after { box-shadow: var(--focus-ring); }
.partner-card:hover .partner-link { color: var(--wine); }
.partner-city { margin: 0 0 4px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.partner-tagline { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin: 0 0 16px; color: var(--muted); font-size: 0.93rem; }
.partner-more { display: inline-flex; align-items: center; gap: 6px; align-self: center; margin-top: auto; font-size: 0.9rem; font-weight: 600; color: var(--wine); }
.partner-more::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform var(--lift); }
.partner-card:hover .partner-more::after { transform: translateX(3px); }
/* Füllkarten: Platzhalter in sehr hellem Blush, ohne Schatten, nur bei zwei bzw. drei Spalten sichtbar */
.partner-fill { display: none; background: color-mix(in srgb, var(--blush) 55%, var(--white)); box-shadow: none; }
.partner-fill:hover { transform: none; box-shadow: none; border-color: rgba(169, 128, 63, 0.25); }
.fill-slot { display: grid; place-items: center; width: 100%; aspect-ratio: 2500 / 1660; border: 1px dashed var(--gold-text); border-radius: var(--radius-ctrl); color: var(--gold-text); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.partner-fill .partner-name { font-family: var(--serif); font-weight: 600; color: var(--plum); }
.partner-fill-text { margin: 0 0 16px; color: var(--muted); font-size: 0.93rem; }
.more-cat { margin: -24px 0 56px; }

/* Hinweis für Anbieter */
.cta-band { padding: 24px 16px var(--section-y); }
.cta-inner { max-width: 820px; margin: 0 auto; padding: 38px 26px; text-align: center; background: linear-gradient(160deg, var(--white) 0%, var(--blush) 100%); }
.cta-inner p { color: var(--muted); }

/* Ratgeber-Artikel */
/* Kategorieseiten: Kopf wie eine gedruckte Einladung, ohne Bild */
.cat-head { position: relative; overflow: hidden; padding: 22px 20px 28px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 250, 252, 0) 55%, var(--pearl) 100%), radial-gradient(ellipse 75% 95% at 50% 40%, var(--white) 0%, var(--blush) 70%, var(--pearl) 100%); }
.cat-head::before { content: ""; position: absolute; left: 50%; top: 50%; width: 200px; height: 186px; transform: translate(-50%, -50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 92'%3E%3Cpath d='M50 86C23 67 6 50 6 31 6 18 16 8 28 8c9 0 17 5 22 13C55 13 63 8 72 8c12 0 22 10 22 23 0 19-17 36-44 55z' fill='none' stroke='%23bc0e1a' stroke-opacity='.05' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat; pointer-events: none; }
.cat-head-inner { position: relative; max-width: 760px; margin: 0 auto; }
.cat-head .crumbs { margin-bottom: 10px; }
.cat-head-kicker { margin: 0 0 4px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
.cat-head h1 { font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.15; margin: 0; }
.ornament { position: relative; display: block; width: 120px; height: 9px; margin: 10px auto 12px;
  background: linear-gradient(var(--gold-light), var(--gold-light)) left center / 50px 1px no-repeat, linear-gradient(var(--gold-light), var(--gold-light)) right center / 50px 1px no-repeat; }
.ornament::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border: 1px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.cat-head-intro { max-width: 640px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.cat-head-intro p { margin: 0 0 0.4em; }
.cat-head-intro p:last-child { margin-bottom: 0; }
.cat-head-count { margin: 10px 0 0; font-size: 0.85rem; font-weight: 600; color: var(--plum); }

/* Kopfbereich mit Bild und überlappender Karte (Tipp-Seiten, Checkliste) */
.hero-split { display: grid; }
.hero-split-media { height: min(220px, 60vw); overflow: hidden; background: var(--blush); }
.hero-split-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.hero-split-text, .post-hero-text { box-shadow: 0 2px 6px rgba(74, 35, 56, 0.06), 0 24px 48px -12px rgba(74, 35, 56, 0.22); }
.hero-split-text { margin: -40px 16px 0; padding: 24px; text-align: center; z-index: 1; }
.hero-split-text > * { position: relative; }
.hero-split-text h1 { margin-bottom: 0.25em; }
.hero-split-date { margin: -4px 0 12px; font-size: 0.85rem; color: var(--muted); }
/* Abstand per margin: das padding von .wrap-narrow würde einen Innenabstand oben überschreiben */
.tipp-text { margin-top: 32px; margin-bottom: 24px; }

/* Partnerseite */
.pp { padding: 28px 0 56px; }
.pp-grid { display: grid; gap: 32px; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.pp-card { padding: 30px 24px 24px; text-align: center; align-self: start; }
.pp-card > * { position: relative; z-index: 1; }
.pp-logo { display: grid; place-items: center; min-height: 120px; margin: 0 0 16px; padding: 18px; background: radial-gradient(circle at 50% 40%, var(--white) 0%, var(--blush) 100%); border-radius: var(--radius-ctrl); }
.pp-logo img { max-height: 120px; width: auto; max-width: 100%; object-fit: contain; }
.pp-card-title { font-size: 1.6rem; margin-bottom: 0.3em; }
.pp-addr { color: var(--muted); margin-bottom: 0.6em; }
.pp-card .contact-list { text-align: left; }
.pp-socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 16px 0 0; padding: 0; }
.pp-socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-ctrl); color: var(--wine); background: var(--white); border: 1px solid var(--gold-light); transition: background var(--lift), color var(--lift); }
.pp-socials a:hover { background: var(--wine); color: var(--white); border-color: var(--wine); }
.social-icon { width: 21px; height: 21px; }
.pp-code { display: flex; align-items: center; gap: 12px; margin: 20px 0 0; padding-top: 16px; border-top: 1px dashed var(--gold-light); text-align: left; font-size: 0.88rem; color: var(--muted); }
.pp-code-num { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-tag); border: 1px dashed var(--gold); background: linear-gradient(180deg, var(--white), var(--gold-pale)); font: 600 1.6rem/1 var(--serif); color: var(--wine); }
.pp-main { min-width: 0; }
.pp-text > :first-child { margin-top: 0; }
.pp-hours, .pp-gallery { margin-top: 40px; }
.pp-hours h2, .pp-gallery h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
.pp-hours-table { width: 100%; max-width: 520px; border-collapse: collapse; font-size: 0.97rem; }
.pp-hours-table th, .pp-hours-table td { padding: 9px 12px; text-align: left; border-bottom: 1px solid rgba(169, 128, 63, 0.18); vertical-align: top; }
.pp-hours-table th { width: 40%; font-weight: 600; color: var(--plum); white-space: nowrap; }
.pp-hours-table tr.is-today th, .pp-hours-table tr.is-today td { background: var(--blush); color: var(--wine); font-weight: 600; }
.pp-hours-table tr.is-today th { border-radius: var(--radius-ctrl) 0 0 var(--radius-ctrl); }
.pp-hours-table tr.is-today td { border-radius: 0 var(--radius-ctrl) var(--radius-ctrl) 0; }
.pp-today { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.pp-hours-one { font-size: 1.125rem; color: var(--plum); }
.pp-hours-note { margin-top: 12px; color: var(--muted); font-size: 0.93rem; }
.muted-text { color: var(--muted); }
.pg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: calc(var(--gap) / 2); list-style: none; margin: 0; padding: 0; }
.pg-item { display: block; overflow: hidden; border-radius: var(--radius-card); background: var(--blush); border: var(--border-card); box-shadow: var(--shadow-card); transition: box-shadow var(--lift); }
.pg-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pg-item:hover { box-shadow: var(--shadow-hover); }
.pp-found { padding: 8px 0 24px; }
.pp-found-title { font-size: clamp(1.5rem, 4.5vw, 2rem); }
.pp-found-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.pp-found-list a { display: inline-block; padding: 9px 18px; border: 1px solid var(--gold-light); border-radius: var(--radius-ctrl); background: var(--white); color: var(--plum); font-weight: 600; text-decoration: none; }
.pp-found-list a:hover { background: var(--blush); color: var(--wine); border-color: var(--gold); }
.pp-compact .pp-grid { max-width: 940px; }

/* Lightbox der Galerie */
body.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; background: rgba(28, 12, 22, 0.94); opacity: 0; transition: opacity 0.2s ease; touch-action: pan-y; }
.lb.is-visible { opacity: 1; }
.lb[hidden] { display: none; }
.lb-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 12px 72px; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: var(--radius-tag); box-shadow: var(--shadow-layer); transition: opacity 0.2s; }
.lb.is-loading .lb-img { opacity: 0.35; }
.lb-cap { margin: 10px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; text-align: center; }
.lb-count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); margin: 0; color: var(--gold-light); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: var(--border-card-dark); border-radius: var(--radius-ctrl); background: rgba(255, 255, 255, 0.08); color: var(--white); font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.2); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 10px; bottom: 14px; }
.lb-next { right: 10px; bottom: 14px; }

.contact-list { list-style: none; margin: 10px 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(169, 128, 63, 0.15); font-size: 0.95rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--gold-text); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.contact-list a { overflow-wrap: anywhere; }

/* Häkchen-Listen */
.check-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.check-list li { position: relative; padding: 4px 0 4px 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23bc0e1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--gold-light);
}

/* Tipp-Seiten: Datum, Box zu den Anbietern, Verweis auf den Blog */
.tipp-box { margin: 1.8em 0; padding: 18px 20px; background: var(--blush); border: var(--border-card); border-radius: var(--radius-card); }
.tipp-box p { margin: 0; }
.tipp-box a { font-weight: 600; }
.tipp-box span { display: block; margin-top: 2px; font-size: 0.88rem; color: var(--muted); }
.tipp-blog, .post-tipp { margin: 2em 0 0; padding-top: 1.2em; border-top: 1px solid var(--line); }

/* Checkliste als Zeitleiste */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 1000px; display: grid; gap: var(--gap); }
.timeline-step { position: relative; background: var(--white); border: var(--border-card); border-radius: var(--radius-card); padding: 24px 22px 10px; box-shadow: var(--shadow-card); }
.timeline-step h3 { font-size: 1.4rem; color: var(--wine); }
.checklist-more { max-width: 720px; margin: 36px auto 0; }

/* Messen */
.messen .section-head { margin-bottom: 28px; }
.fair-next { display: grid; overflow: hidden; margin-bottom: 26px; }
.fair-next-media { aspect-ratio: 16 / 9; background: var(--blush); overflow: hidden; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.fair-next-media img { width: 100%; height: 100%; object-fit: cover; }
.fair-next-body { padding: 22px 22px 26px; text-align: center; position: relative; z-index: 1; }
.fair-next-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.fair-next-title { font-size: 1.6rem; margin-bottom: 4px; }
.fair-next-sub { color: var(--muted); font-size: 0.92rem; }
.countdown { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.countdown div { min-width: 64px; padding: 10px 8px 8px; background: linear-gradient(180deg, var(--white), var(--blush)); border: 1px solid var(--gold-light); border-radius: var(--radius-ctrl); text-align: center; }
.countdown span { display: block; font: 600 1.9rem/1 var(--serif); color: var(--wine); }
.countdown small { display: block; margin-top: 4px; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.search-field input {
  width: 100%; min-height: 52px; padding: 12px 18px 12px 46px; font: 1rem var(--sans); color: var(--ink);
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7' fill='none' stroke='%23a9803f' stroke-width='2'/%3E%3Cpath d='M20 20l-4-4' stroke='%23a9803f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 16px center / 20px no-repeat;
  border: 1px solid var(--gold-light); border-radius: var(--radius-ctrl); outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field input:focus { border-color: var(--gold); }
.fair-count { font-size: 0.88rem; color: var(--muted); margin: 10px 4px 16px; }
.fair-list { display: grid; gap: 14px; }
.fair { position: relative; display: grid; background: var(--white); border: var(--border-card); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.fair-img { aspect-ratio: 16 / 9; background: var(--blush); overflow: hidden; }
.fair-img img { width: 100%; height: 100%; object-fit: cover; }
.fair-body { padding: 16px 18px 18px; }
.fair-date { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; color: var(--wine); margin-bottom: 2px; }
.fair-title { font: 600 1.35rem/1.2 var(--serif); color: var(--plum); margin-bottom: 4px; }
.fair-loc, .fair-time { font-size: 0.9rem; color: var(--muted); }
.fair-desc { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.fair-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; font-size: 0.85rem; }
.fair-free { display: inline-flex; align-items: center; gap: 6px; color: #2e6b3a; font-weight: 600; }
.fair-free::before { content: "✓"; }
.fair-paid { color: var(--wine-deep); font-weight: 600; }
.fair.is-past { opacity: 0.6; }
.fair.is-past .fair-img img { filter: grayscale(1); }
.fair-past-note { color: var(--muted); }
.stamp { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 5px 10px 4px; border: 3px double currentColor; border-radius: var(--radius-tag); background: rgba(255, 255, 255, 0.94); transform: rotate(-6deg); text-transform: uppercase; text-align: center; line-height: 1.1; pointer-events: none; }
.stamp b { font-size: 0.85rem; letter-spacing: 0.12em; }
.stamp small { font-size: 0.55rem; font-weight: 600; letter-spacing: 0.08em; margin-top: 2px; }
.stamp-full { color: var(--wine); }
.stamp-few { color: #2e6b3a; }
.fair-empty { text-align: center; color: var(--muted); padding: 24px 0; }
.download-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.download-list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: var(--border-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); text-decoration: none; color: var(--plum); font-weight: 600; transition: box-shadow var(--lift); }
.download-list a:hover { box-shadow: var(--shadow-hover); }
.dl-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-ctrl); background: var(--wine); color: var(--white); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em; }
.contact-teaser .vcard-link { display: inline-block; margin-top: 12px; border-radius: var(--radius-card); overflow: hidden; border: var(--border-card); box-shadow: var(--shadow-card); }

/* Standesämter */
.office-jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 8px; scrollbar-width: thin; }
.office-jump a { flex: none; padding: 8px 16px; border: 1px solid var(--gold-light); border-radius: var(--radius-ctrl); background: var(--white); color: var(--plum); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.office-jump a:hover { background: var(--blush); color: var(--wine); }
.office-group { margin: 36px 0 18px; font-size: clamp(1.6rem, 4.5vw, 2.1rem); }
.office-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.office { background: var(--white); border: var(--border-card); border-radius: var(--radius-card); padding: 20px 20px 14px; box-shadow: var(--shadow-card); }
.office h3 { font-size: 1.35rem; }
.office > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }

/* Partner werden: mobil Kopf, Formular, Karte untereinander, ab 960 px links Kopf und Karte, rechts das Formular */
.join { padding: 28px 0 var(--section-y); background: linear-gradient(180deg, var(--blush) 0, var(--pearl) 420px) no-repeat; }
.join-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.join-head h1 { font-size: clamp(2rem, 7.5vw, 3rem); line-height: 1.15; margin: 0 0 12px; }
.join-lead { margin: 0 0 16px; font-size: 1.1rem; line-height: 1.55; color: var(--plum); }
.join-price { margin: 0 0 10px; }
.price-num { font: 600 2.8rem/1 var(--serif); color: var(--wine); }
.price-unit { color: var(--muted); font-weight: 600; }
.join-checks { margin: 0; }
.join-form { padding: 24px; }
.join-person { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px;
  background: var(--white); border: var(--border-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.join-person img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.join-person h2 { font-size: 1.3rem; margin: 0 0 6px; }
.join-person p { margin: 0 0 8px; font-size: 0.95rem; color: var(--muted); }
.join-person .join-phone { margin: 0; font-weight: 600; color: var(--plum); }

/* Formulare (app/views/partial-form.php): ruhige Felder, ein Schritt nach dem anderen */
.form-section { padding-top: 40px; }
.form-card { max-width: 720px; margin: 0 auto; padding: 24px; }
.form-card > *, .join-form > * { position: relative; z-index: 1; }
/* hidden gilt im Formular immer, auch gegen display der Knöpfe und Felder */
.fs [hidden] { display: none !important; }
.fs-progress { margin: 0 0 18px; }
.fs-count { margin: 0 0 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.fs-bar { display: block; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.fs-bar span { display: block; height: 100%; background: var(--gold); transition: width 0.3s ease; }
.fs-step { margin: 0; padding: 0; border: 0; min-width: 0; }
.fs-step + .fs-step { margin-top: 28px; }
.fs-js .fs-step + .fs-step { margin-top: 0; }
.fs-title { font-size: 1.45rem; margin: 0 0 16px; }
.fs-title:focus { outline: none; }
.fs-field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field-label { display: block; margin: 0 0 6px; padding: 0; font-size: 0.9rem; font-weight: 600; color: var(--plum); }
.field-opt { font-style: normal; font-weight: 400; color: var(--muted); }
.field-hint { display: block; margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }
.fs-field input[type="text"], .fs-field input[type="email"], .fs-field input[type="tel"], .fs-field input[type="date"], .fs-field input[type="number"], .fs-field textarea, .fs-field select {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 1rem var(--sans); color: var(--ink);
  background: var(--white); border: 1px solid var(--gold-light); border-radius: var(--radius-ctrl); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fs-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.fs-field input:focus, .fs-field textarea:focus, .fs-field select:focus { border-color: var(--gold); box-shadow: var(--focus-ring); }
.fs-field.is-invalid input[type="text"], .fs-field.is-invalid input[type="email"], .fs-field.is-invalid input[type="tel"], .fs-field.is-invalid input[type="date"], .fs-field.is-invalid input[type="number"], .fs-field.is-invalid textarea, .fs-field.is-invalid select { border-color: var(--wine); }
.fs-field ::placeholder { color: var(--muted); opacity: 0.75; }
/* Datum: eigenes Kalender-Symbol, die Fläche des Browser-Symbols liegt unsichtbar darüber und öffnet weiter den Kalender */
.date-wrap { position: relative; display: block; }
.fs-field input[type="date"] { appearance: none; -webkit-appearance: none; display: block; padding-right: 48px; line-height: 1.5; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bc0e1a' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; }
.fs-field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.fs-field input[type="date"]::-webkit-calendar-picker-indicator { position: absolute; top: 0; right: 0; width: 48px; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
/* Zahl: ohne Pfeile des Browsers, dafür Minus und Plus links und rechts (erscheinen mit JavaScript) */
.num-wrap { display: flex; align-items: stretch; }
.fs-field input[type="number"] { appearance: textfield; -moz-appearance: textfield; text-align: center; font-weight: 600; }
.fs-field input[type="number"]::-webkit-inner-spin-button, .fs-field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.num-btn { flex: none; width: 50px; min-height: 50px; padding: 0; border: 1px solid var(--gold-light); background: var(--pearl); color: var(--wine); font: 600 1.4rem/1 var(--sans); cursor: pointer; transition: background 0.2s; }
.num-btn:hover { background: var(--blush); }
.num-btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.num-btn[data-num="-1"] { border-right: 0; border-radius: var(--radius-ctrl) 0 0 var(--radius-ctrl); }
.num-btn[data-num="1"] { border-left: 0; border-radius: 0 var(--radius-ctrl) var(--radius-ctrl) 0; }
.num-wrap .num-btn:not([hidden]) ~ input { border-radius: 0; }
.fs-field.is-invalid .num-btn { border-color: var(--wine); }
/* Zwei Felder nebeneinander ab Tablet (fs-half), mobil untereinander */
.fs-cols { display: flex; flex-wrap: wrap; column-gap: 16px; }
.fs-cols > * { flex: 1 1 100%; min-width: 0; }
.fs-field select { appearance: none; -webkit-appearance: none; padding-right: 42px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23bc0e1a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat; cursor: pointer; }
.select-wrap { display: block; }
.field-error { display: block; margin-top: 6px; color: var(--wine); font-size: 0.85rem; font-weight: 600; }
.form-alert { padding: 12px 14px; border-radius: var(--radius-ctrl); background: var(--wine-soft); color: var(--wine-deep); font-weight: 600; }
.fs-bezug { margin: 0 0 18px; padding: 10px 12px; border-radius: var(--radius-ctrl); background: var(--blush); color: var(--plum); font-size: 0.92rem; }
.fs-nav { display: flex; gap: 10px; margin-top: 8px; }
.fs-nav .btn { flex: 1; min-width: 0; white-space: normal; }
.fs-nav .fs-back { flex: 0 0 auto; }
/* Mobil bleibt „Weiter“ ohne Scrollen erreichbar */
.fs-js .fs-nav { position: sticky; bottom: 0; z-index: 2; margin: 8px -12px 0; padding: 12px; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); }
/* Errechneter Hinweis unter den Feldern (Übernachtungen, Personen insgesamt); leer ohne Höhe, bleibt aber für aria-live im DOM */
.fs-calc { margin: -8px 0 18px; font-size: 0.9rem; color: var(--ink); }
.fs-calc:empty { margin: 0; }
.fs-submit-note { margin: 0 0 12px; font-size: 0.9rem; color: var(--ink); }
.form-success-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin: 0; }
/* Kontaktseite: Wegweiser und Formular mit Kontaktdaten */
.guides { padding-bottom: 0; }
.guide-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.guide-card { position: relative; display: flex; flex-direction: column; padding: 24px 22px; text-align: center; background: var(--white); border: var(--border-card);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: transform var(--lift), box-shadow var(--lift); }
.guide-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.guide-title { font-size: 1.35rem; margin: 0 0 8px; }
.guide-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.guide-link { align-self: center; margin-top: auto; }
.guide-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); }
.contact-grid { display: grid; gap: 28px; }
.contact-grid .form-card { max-width: none; margin: 0; width: 100%; }
.contact-aside { padding: 0 4px; font-size: 0.95rem; }
.contact-aside h2 { font-size: 1.35rem; }
.check { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 0; cursor: pointer; font-weight: 600; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; width: 24px; height: 24px; border: 1px solid var(--gold); border-radius: var(--radius-tag); background: var(--white); transition: background 0.2s; }
.check input:checked + .check-box { background: var(--wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--wine); }
.check input:focus-visible + .check-box { box-shadow: var(--focus-ring); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 24px 0; position: relative; z-index: 1; }

/* Banner */
.banner-block { padding: 40px 0; border-bottom: 1px solid var(--line); }
.banner-block:last-of-type { border-bottom: 0; }
.steps { max-width: 640px; margin: 0 auto 22px; color: var(--muted); }
.banner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.banner-item { margin: 0; text-align: center; }
.banner-item img { border-radius: var(--radius-ctrl); border: var(--border-card); box-shadow: var(--shadow-card); margin: 0 auto 8px; }
.banner-item figcaption a { font-weight: 600; font-size: 0.9rem; }

/* Über uns */
.about-grid { display: grid; gap: 32px; }
.about-photo { margin: 0 auto; max-width: 320px; padding: 10px; }
.about-photo img { position: relative; z-index: 1; border-radius: calc(var(--radius-card) - 4px); }
.about-photo figcaption { position: relative; z-index: 1; padding: 10px 4px 2px; text-align: center; font-size: 0.88rem; color: var(--muted); }
.about-text h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); margin-top: 1.4em; }
.about-btns { justify-content: flex-start; margin: 1.6em 0; }
.page-hero .about-fact { font-size: 1rem; }

/* Rechtstexte */
.legal { padding: var(--section-y) 0; }
.legal h1 { margin-bottom: 0.6em; }
.legal h2 { font-size: 1.5rem; margin-top: 1.5em; }

/* 404 */
.notfound .invitation { padding: 44px 24px; }
.notfound-contact { margin: 18px 0 0; font-size: 0.95rem; color: var(--muted); }
.pp-report { margin: 0; padding: 0 20px 48px; text-align: center; font-size: 0.9rem; }
.pp-report .link-more { color: var(--muted); }
.pp-report .link-more:hover { color: var(--wine); }

/* Fußbereich */
.site-foot { background: linear-gradient(180deg, var(--blush) 0%, var(--blush-2) 100%); border-top: 1px solid var(--line); margin-top: 0; }
.foot-inner { max-width: 1240px; margin: 0 auto; padding: 48px 20px 24px; display: grid; gap: 28px; }
.foot-brand img { width: 180px; margin-bottom: 10px; }
.foot-brand p { font-size: 1rem; color: var(--plum); max-width: 240px; }
.foot-title { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 6px 0; }
.foot-col a { color: var(--ink); text-decoration: none; }
.foot-col a:hover { color: var(--wine); }
.foot-bottom { border-top: 1px solid var(--line); padding: 18px 20px 26px; text-align: center; color: var(--muted); }
.foot-bottom .foot-fact { max-width: 760px; margin: 0 auto 8px; font-size: 0.82rem; }
/* Copyright-Zeile: mobil untereinander und mittig, ab 720 px links und rechts */
.foot-copy { display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 1240px; margin-inline: auto; font-size: 0.78rem; line-height: 1.5; }
.foot-copy p { margin: 0; }
.foot-copy a { color: inherit; text-decoration: none; white-space: nowrap; border-radius: 3px; transition: color var(--lift); }
.foot-copy a:hover, .foot-copy a:focus-visible { color: var(--wine); }
.sm-brand { font-weight: 400; }

/* Hinweisfenster Portal-Code */
.pc-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(43, 20, 34, 0.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.3s ease; }
.pc-overlay.is-visible { opacity: 1; }
.pc-overlay[hidden] { display: none; }
.pc-card { position: relative; width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--pearl); border-radius: var(--radius-card); box-shadow: var(--shadow-layer); transform: translateY(12px) scale(0.98); transition: transform 0.3s ease; }
.pc-overlay.is-visible .pc-card { transform: none; }
.pc-head { padding: 26px 24px 22px; text-align: center; color: var(--white); background: var(--wine); border-radius: var(--radius-card) var(--radius-card) 0 0; }
.pc-head h2 { color: var(--white); font-size: 1.75rem; margin: 8px 0 0; }
.pc-rings { width: 64px; height: 36px; margin: 0 auto; fill: none; stroke: var(--gold-light); stroke-width: 2.5; }
.pc-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: var(--radius-ctrl); background: rgba(255, 255, 255, 0.15); color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.pc-x:hover { background: rgba(255, 255, 255, 0.28); }
.pc-body { padding: 22px 24px 20px; }
.pc-body > p:first-child { font-size: 0.95rem; color: var(--muted); }
.pc-code { display: flex; flex-direction: column; align-items: center; margin: 4px 0 16px; padding: 12px; border: 1px dashed var(--gold); border-radius: var(--radius-card); background: linear-gradient(180deg, var(--white), var(--gold-pale)); }
.pc-code-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.pc-code-value { font: 600 3rem/1 var(--serif); color: var(--wine); letter-spacing: 0.1em; }
.pc-body .check-list { font-size: 0.93rem; }
.pc-fine { margin: 12px 0 0; text-align: center; font-size: 0.78rem; color: var(--muted); }

/* Blog: Übersicht und Karten */
.blog-list { padding-top: 48px; }
.post-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.post-media { display: block; overflow: hidden; background: var(--blush); }
.post-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-date { margin: 0 0 6px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); }
.post-title { font-size: 1.45rem; margin-bottom: 0.4em; }
.post-title a { color: var(--plum); text-decoration: none; }
.post-title a:hover { color: var(--wine); }
.post-excerpt { color: var(--muted); font-size: 0.95rem; }
.post-grid .post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; margin: 0 0 16px; }
.post-body .link-more { margin-top: auto; }
.post-card-featured { position: relative; margin-bottom: 34px; background: none; border: 0; box-shadow: none; overflow: visible; }
.post-card-featured:hover { transform: none; box-shadow: none; }
.post-card-featured .post-media { border-radius: var(--radius-card); border: var(--border-card); box-shadow: var(--shadow-card); }
.post-card-featured .post-body { margin: -48px 14px 0; padding: 24px; z-index: 1; }
.post-card-featured .post-body > * { position: relative; z-index: 1; }
.post-card-featured .eyebrow { margin-bottom: 2px; }
.post-card-featured .post-title { font-size: clamp(1.8rem, 6vw, 2.5rem); }
.post-card-featured .post-excerpt { font-size: 1.02rem; }

/* Blog: Seitenzahlen */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 44px; }
.pager-nums { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pager-nums a, .pager-nums span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: var(--radius-ctrl); font-weight: 600; text-decoration: none; }
.pager-nums a { color: var(--plum); background: var(--white); border: 1px solid var(--gold-light); transition: background 0.2s, border-color 0.2s; }
.pager-nums a:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--wine); }
.pager-nums .is-current { color: var(--white); background: var(--wine); }
.pager-gap { display: grid; place-items: end center; min-width: 20px; color: var(--muted); }
.pager-step { font-weight: 600; text-decoration: none; padding: 8px 4px; }
.pager-step.is-off { color: var(--muted); opacity: 0.45; }

/* Blog: Beitrag */
.preview-bar { position: sticky; top: var(--head-h); z-index: 40; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 10px 16px; background: var(--plum); color: var(--white); font-size: 0.9rem; text-align: center; }
.preview-bar a { color: var(--gold-light); font-weight: 600; }

/* Hinweis nach Weiterleitung von einem Partner, der nicht mehr gelistet ist */
.gone-note { width: 100%; max-width: 780px; margin: 0 auto 8px; padding: 0 20px; }
.gone-note p { margin: 0; padding: 14px 18px; border: var(--border-card); border-radius: var(--radius-card); background: var(--blush); color: var(--plum); text-align: center; }
.post-hero { display: grid; }
.post-hero-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--blush); }
.post-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.post-hero-text { margin: -40px 16px 0; padding: 24px; text-align: center; z-index: 1; }
.post-hero-text h1 { font-size: clamp(1.9rem, 6.5vw, 3rem); margin-bottom: 0; position: relative; }
.post-meta { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; margin: 0 0 10px; font-size: 0.85rem; color: var(--muted); }
.post-text { margin-top: 32px; margin-bottom: 8px; }
.post-text > :first-child { margin-top: 0; }
.post-back { margin: 12px 0 64px; }
.post-more .section-head { margin-bottom: 30px; }

/* Ab 560px */
@media (min-width: 560px) {
  .fs-cols > .fs-half { flex-basis: calc(50% - 8px); }
  .fs-js .fs-nav { position: static; margin: 8px 0 0; padding: 0; background: none; border: 0; }
  .fs-nav .btn { flex: 0 0 auto; }
  .fs-nav .fs-submit, .fs-nav .fs-next { margin-left: auto; }
  .form-card { padding: 32px; }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ab 720px */
@media (min-width: 720px) {
  :root { --section-y: 72px; }
  .foot-copy { flex-direction: row; justify-content: space-between; gap: 24px; text-align: left; }
  .foot-copy p:last-child { text-align: right; }
  .partner-card { flex-basis: calc((100% - var(--gap)) / 2); }
  .partner-fill.fill-2 { display: flex; }
  .home-checklist-inner { grid-template-columns: 1fr auto; }
  .home-checklist-inner .btn-row { justify-content: flex-end; }
  .wrap, .wrap-mid, .wrap-narrow { padding: 0 32px; }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .tipp-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .pg-grid { grid-template-columns: repeat(3, 1fr); }
  .pp-grid { padding: 0 32px; }
  .pp { padding: 44px 0 72px; }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lb-prev { left: 20px; }
  .lb-next { right: 20px; }
  .lb-close { top: 16px; right: 20px; }
  .lb-stage { padding: 64px 90px; }
  .blog-list { padding-top: 64px; }
  .post-card-featured .post-body { margin: -90px auto 0; max-width: 680px; padding: 32px; text-align: center; align-items: center; }
  .post-hero-text { margin: -90px auto 0; max-width: 760px; padding: 32px; }
  .hero-card { margin: -110px auto 0; max-width: 640px; padding: 32px; }
  .hero-split-media { height: 300px; }
  .hero-split-text { margin: -72px auto 0; max-width: 680px; padding: 32px; }
  .join-form { padding: 32px; }
  .fair { grid-template-columns: 200px 1fr; }
  .fair-img { aspect-ratio: auto; min-height: 100%; }
  .fair-body { padding: 18px 22px; }
  .fair.has-stamp .fair-date, .fair.has-stamp .fair-title, .fair.has-stamp .fair-loc { padding-right: 190px; }
  .stamp { top: 16px; right: 18px; padding: 6px 14px 5px; transform: rotate(-8deg); }
  .stamp b { font-size: 0.95rem; }
  .fair-next { grid-template-columns: 240px 1fr; }
  .fair-next-media { aspect-ratio: auto; border-radius: var(--radius-card) 0 0 var(--radius-card); }
  .fair-next-body { text-align: left; padding: 26px 30px; }
  .countdown { justify-content: flex-start; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .download-list { grid-template-columns: repeat(2, 1fr); }
  .foot-inner { grid-template-columns: 1.4fr repeat(3, 1fr); padding-top: 56px; }
  .cta-inner { padding: 46px 56px; }
}

/* Ab 960px */
@media (min-width: 960px) {
  .guide-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .contact-aside { padding-top: 40px; }
  .form-card { padding: 40px; }
  :root { --section-y: 96px; --gap: 28px; }
  .partner-logo { --card-pad: 24px; }
  .partner-body { padding: 0 24px 24px; }
  .cat-head { padding: 18px 32px 24px; }
  .cat-head::before { width: 290px; height: 268px; }
  .about-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: start; }
  .about-photo { position: sticky; top: calc(var(--head-h) + 24px); margin: 0; }
  .hero-lead, .page-hero-lead, .hero-split-lead, .intro-close { font-size: 1.25rem; }
  .tile-grid { grid-template-columns: repeat(4, 1fr); }
  .tipp-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .pp-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; }
  .pp-card { position: sticky; top: calc(var(--head-h) + 20px); }
  .post-card-featured { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; margin-bottom: 56px; }
  .post-card-featured .post-media img { aspect-ratio: 4 / 3; }
  .post-card-featured .post-body { margin: 0 0 0 -70px; max-width: none; text-align: left; align-items: flex-start; padding: 40px; }
  .post-meta { justify-content: flex-start; }
  .post-text { margin-top: 56px; }
  .tipp-text { margin-top: 56px; }
  .office-grid { grid-template-columns: repeat(3, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .page-hero { min-height: 380px; }
  .page-hero-slim { min-height: 260px; }
  .join { padding-top: 48px; }
  .join-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-areas: "head form" "person form"; align-items: start; gap: 32px 48px; }
  .join-head { grid-area: head; }
  .join-form { grid-area: form; padding: 40px; }
  .join-person { grid-area: person; }

  .hero { min-height: min(86vh, 760px); display: grid; align-items: center; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-media::after { background: linear-gradient(90deg, rgba(248, 236, 251, 0.92) 0%, rgba(248, 236, 251, 0.55) 45%, rgba(248, 236, 251, 0) 75%); }
  .hero-card { position: relative; margin: 60px 0 60px max(32px, calc((100vw - 1240px) / 2 + 32px)); max-width: 600px; padding: 40px; text-align: left; }

  .hero-split, .post-hero { grid-template-columns: minmax(0, 59fr) minmax(0, 41fr); align-items: center; max-width: 1240px; margin: 32px auto 0; padding: 0 32px; }
  .post-hero { margin-top: 40px; }
  .hero-split-media, .post-hero-media { position: relative; grid-row: 1; grid-column: 1; align-self: stretch; height: auto; min-height: 360px; aspect-ratio: auto;
    border-radius: var(--radius-card); border: var(--border-card); box-shadow: 0 12px 32px -12px rgba(74, 35, 56, 0.18); }
  .hero-split-media img, .post-hero-media img { position: absolute; inset: 0; }
  .hero-split-text, .post-hero-text { grid-row: 1; grid-column: 2; margin: 44px 0 44px -112px; max-width: none; padding: 40px; text-align: left; }
}

/* Ab 1140px: Navigation nebeneinander */
@media (min-width: 1140px) {
  :root { --head-h: 84px; }
  .partner-card { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
  .partner-fill.fill-2 { display: none; }
  .partner-fill.fill-3 { display: flex; }
  .brand img { height: 58px; }
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; align-items: center; gap: 20px; padding: 0; background: none; overflow: visible; opacity: 1; visibility: visible; transform: none; transition: none; }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-item { position: relative; border: 0; }
  .nav-link { padding: 10px 14px; font-size: 0.95rem; border-radius: var(--radius-ctrl); gap: 8px; }
  .nav-link:hover, .has-sub:hover > .nav-link, .has-sub.is-open > .nav-link { background: var(--blush); color: var(--wine); }
  .sub-toggle::after { width: 6px; height: 6px; }
  .sub {
    display: block; position: absolute; top: calc(100% + 10px); left: 50%; width: max-content; min-width: 220px; max-width: calc(100vw - 32px); padding: 8px;
    background: var(--white); border: var(--border-card); border-radius: var(--radius-card); box-shadow: var(--shadow-hover);
    opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
  .has-sub:hover > .sub, .has-sub.is-open > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 0.2s ease, transform 0.2s ease; }
  /* Letzter Menüpunkt: rechtsbündig öffnen, damit nichts über den Bildschirmrand ragt */
  .nav-list > .has-sub:last-child > .sub { left: auto; right: 0; transform: translateY(6px); }
  .nav-list > .has-sub:last-child:hover > .sub, .nav-list > .has-sub.is-open:last-child > .sub, .nav-list > .has-sub:last-child:focus-within > .sub { transform: none; }
  /* Zwei Spalten, von oben nach unten gefüllt; die Breite richtet sich nach dem längsten Eintrag */
  .sub-cols { columns: 2; column-gap: 4px; }
  .sub-cols li { break-inside: avoid; }
  .sub-list a { padding: 6px 12px; font-size: 0.92rem; white-space: nowrap; }
  .nav-cta { margin: 0; width: auto; min-height: 44px; }
  body.nav-open { overflow: auto; }
  .nav-link, .nav-cta { white-space: nowrap; }
}
/* Schmale Desktops: Menüpunkte rücken enger zusammen, damit alles in eine Zeile passt */
@media (min-width: 1140px) and (max-width: 1279px) {
  .main-nav { gap: 12px; }
  .nav-link { padding: 10px 9px; }
  .nav-cta { padding: 10px 18px; }
}

@media (min-width: 1280px) {
  :root { --section-y: 120px; }
  .tile-grid { grid-template-columns: repeat(5, 1fr); }
  .pg-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .btn:hover, .tile:hover, .tipp-card:hover, .partner-card:hover, .post-card:hover, .guide-card:hover, .partner-card:hover .partner-more::after { transform: none; }
  .tipp-media::before { display: none; }
}

/* Hochzeit auf Sardinien: eigene Seite mit Meeresblau und Sandton als Ergänzung zur Einladungskarte */
.page-sardinien { --sea: #1d6a80; --sea-deep: #134b5c; --sea-pale: #e5f2f4; --sand: #f6efe3; }
.sd-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.sd-lead { font-size: 1.125rem; line-height: 1.65; color: var(--plum); }

.sd-hero { position: relative; display: grid; place-items: center; min-height: 560px; overflow: hidden; text-align: center; color: var(--white); background: var(--sea-deep); }
.sd-hero-media { position: absolute; inset: 0; }
.sd-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; animation: sd-zoom 18s ease-out both; }
.sd-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 40, 52, 0.55) 0%, rgba(19, 40, 52, 0.25) 45%, rgba(19, 40, 52, 0.7) 100%); }
@keyframes sd-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.sd-hero-inner { position: relative; z-index: 1; max-width: 820px; padding: 64px 20px 110px; }
.sd-hero .crumbs, .sd-hero .crumbs a { color: rgba(255, 255, 255, 0.85); }
.sd-hero .crumbs a:hover { color: var(--white); }
.sd-hero h1 { color: var(--white); font-size: clamp(2.3rem, 8.6vw, 4.4rem); line-height: 1.1; margin: 0.25em 0 0.2em; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
/* Unterzeile und Text liegen teils über der Sonne: helles Creme mit weichem Schatten statt Gold */
.sd-hero-sub { max-width: 640px; margin: 0 auto 18px; font: italic 500 clamp(1.35rem, 4.4vw, 1.9rem)/1.3 var(--serif); color: #fff4dd; text-wrap: balance;
  text-shadow: 0 1px 2px rgba(19, 40, 52, 0.55), 0 2px 18px rgba(19, 40, 52, 0.6); }
.sd-hero-lead { max-width: 620px; margin: 0 auto 26px; font-size: 1.1rem; line-height: 1.65; color: #fff; text-shadow: 0 1px 2px rgba(19, 40, 52, 0.5), 0 2px 16px rgba(19, 40, 52, 0.5); }
.sd-hero .btn-row { margin: 0; }
.sd-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 56px; fill: var(--pearl); }

.sd-intro-grid { display: grid; gap: 48px; align-items: center; }
.sd-signature { margin: 1.2em 0 0; font: italic 500 1.9rem/1 var(--serif); color: var(--wine); }
.sd-collage { position: relative; min-height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
.sd-photo { position: absolute; margin: 0; padding: 8px 8px 30px; background: var(--white); border-radius: 4px; box-shadow: 0 12px 34px rgba(43, 31, 39, 0.16); transition: transform 0.4s ease; }
.sd-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.sd-photo-a { top: 0; left: 0; width: 62%; aspect-ratio: 4 / 3.4; transform: rotate(-5deg); }
.sd-photo-b { top: 18%; right: 0; width: 44%; aspect-ratio: 3 / 4.4; transform: rotate(4deg); z-index: 2; }
.sd-photo-c { bottom: 0; left: 12%; width: 54%; aspect-ratio: 4 / 3.4; transform: rotate(2deg); z-index: 1; }
.sd-collage:hover .sd-photo-a { transform: rotate(-7deg) translateY(-4px); }
.sd-collage:hover .sd-photo-b { transform: rotate(6deg) translateY(-4px); }
.sd-heart { position: absolute; right: 6%; bottom: 4%; z-index: 3; width: 54px; fill: none; stroke: var(--gold); stroke-width: 2.5; }

.sd-highlights { background: linear-gradient(180deg, var(--pearl) 0%, var(--sea-pale) 100%); }
/* Ohne den früheren Zitat-Kasten geht das Meerblau der Gründe weich in den Sandton des Pakets über */
.sd-highlights + .sd-package { background: linear-gradient(180deg, var(--sea-pale) 0%, var(--sand) 160px, var(--sand) 100%); }
.sd-arches { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.sd-arch { text-align: center; padding: 0 0 8px; }
.sd-arch-media { max-width: 340px; margin: 0 auto 20px; padding: 8px; background: var(--white); border-radius: 999px 999px var(--radius-card) var(--radius-card); box-shadow: var(--shadow-card); border: 1px solid rgba(216, 189, 136, 0.55); }
.sd-arch-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px calc(var(--radius-card) - 4px) calc(var(--radius-card) - 4px); }
.sd-arch h3 { font-size: 1.7rem; margin-bottom: 0.3em; }
.sd-arch h3::before { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto 12px; background: var(--gold); transform: rotate(45deg); }
.sd-arch p { max-width: 340px; margin: 0 auto; color: var(--muted); }


.sd-package { background: var(--sand); }
.sd-package-grid { display: grid; gap: 40px; align-items: center; }
.sd-features { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.sd-features li { display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: start; }
.sd-features h3 { font-size: 1.4rem; margin: 2px 0 0.2em; }
.sd-features p { margin: 0; color: var(--muted); }
.sd-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 5px var(--sea-pale); }
.sd-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sd-price { padding: 40px 28px 32px; text-align: center; }
.sd-price-label { margin: 0; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-text); }
.sd-price-value { margin: 6px 0 4px; font: 600 clamp(3rem, 12vw, 4.2rem)/1 var(--serif); color: var(--wine); }
.sd-price-value small { font-size: 0.42em; font-style: italic; font-weight: 500; color: var(--plum); }
.sd-price-note { margin: 0 0 18px; color: var(--plum); }
.sd-price-flex { margin: 0 auto 22px; padding-top: 18px; max-width: 300px; font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); }

.sd-day-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px var(--gap); }
.sd-day { display: flex; flex-direction: column; background: var(--white); border: var(--border-card); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--lift), box-shadow var(--lift); }
.sd-day:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.sd-day-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sd-day-body { position: relative; padding: 36px 22px 22px; flex: 1; }
.sd-day-num { position: absolute; top: -26px; left: 22px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sea); color: var(--white); font: 600 1.6rem/1 var(--serif); border: 3px solid var(--white); box-shadow: var(--shadow-card); }
.sd-day-tag { margin: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.sd-day h3 { font-size: 1.45rem; margin: 2px 0 0.4em; }
.sd-day p:last-child { margin: 0; color: var(--muted); font-size: 0.97rem; }

.sd-place { background: linear-gradient(180deg, var(--pearl) 0%, var(--sea-pale) 100%); }
.sd-place-grid { display: grid; gap: 36px; align-items: center; }
.sd-place-media { margin: 0; padding: 10px 10px 0; background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-hover); }
.sd-place-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius-card) - 6px); }
.sd-place-media figcaption, .sd-carel figcaption { padding: 10px 4px 12px; font: italic 500 1.15rem/1.3 var(--serif); color: var(--muted); text-align: center; }
.sd-facts { list-style: none; margin: 0 0 1.4em; padding: 0; }
.sd-facts li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); }
.sd-facts li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; background: var(--sea); transform: rotate(45deg); }

.sd-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sd-gallery li, .sd-gallery .pg-item { height: 100%; }
.sd-gallery .pg-item img { height: 100%; aspect-ratio: 1 / 1; transition: transform 0.6s ease; }
.sd-gallery .pg-item:hover img { transform: scale(1.05); }

/* Häufige Fragen: aufklappbar, Linien wie die Liste „Sa Fiorida in La Ciaccia“ */
.sd-faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.sd-faq-item { border-bottom: 1px solid var(--line); }
.sd-faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none;
  font: 600 1.3rem/1.3 var(--serif); color: var(--plum); }
.sd-faq-item summary::-webkit-details-marker { display: none; }
.sd-faq-item summary::marker { content: ""; }
.sd-faq-item summary:hover { color: var(--wine); }
.sd-faq-item summary:focus { outline: none; }
.sd-faq-item summary:focus-visible { border-radius: var(--radius-tag); box-shadow: var(--focus-ring); }
.sd-faq-icon { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--gold-light); border-radius: 50%; }
.sd-faq-icon::before, .sd-faq-icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--wine); border-radius: 1px; transition: transform 0.2s ease; }
.sd-faq-icon::after { transform: rotate(90deg); }
.sd-faq-item[open] .sd-faq-icon::after { transform: rotate(0deg); }
.sd-faq-answer { padding: 0 2px 20px; color: var(--muted); }
.sd-faq-answer p { margin: 0; }

.sd-contact { background: linear-gradient(180deg, var(--pearl) 0%, var(--blush) 100%); }
.sd-contact-grid { display: grid; gap: 36px; align-items: center; }
.sd-carel { margin: 0 auto; width: 100%; max-width: 460px; padding: 10px 10px 0; background: var(--white); border-radius: 4px; box-shadow: 0 14px 38px rgba(43, 31, 39, 0.18); transform: rotate(-2deg); }
.sd-carel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.sd-contact-card { padding: 32px 24px; }
.sd-contact-card h3 { font-size: 1.4rem; margin-top: 1em; }
.sd-contact-btns { justify-content: flex-start; margin: 0 0 1.4em; }
.sd-contact-data { margin: 0; font-size: 0.95rem; color: var(--muted); }

.sd-form-section { background: linear-gradient(180deg, var(--blush) 0%, var(--pearl) 100%); }
.sd-form-section .section-head { margin-bottom: 32px; }
.sd-form-card { max-width: 760px; }
.sd-form-thanks { margin: 0 0 10px; font: 600 clamp(1.5rem, 5vw, 1.9rem)/1.25 var(--serif); color: var(--plum); }
.sd-form-card .form-success { padding: 8px 0; }
.sd-form-card .form-success p:last-child { margin-bottom: 0; }

@media (min-width: 720px) {
  .sd-arches { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .sd-day-list { grid-template-columns: repeat(2, 1fr); }
  .sd-gallery { grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
  .sd-gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .sd-gallery li:nth-child(6) { grid-column: 3 / span 2; grid-row: span 2; }
  .sd-collage { min-height: 460px; }
  .sd-contact-card { padding: 40px; }
}
@media (min-width: 960px) {
  .sd-hero { min-height: 680px; }
  .sd-intro-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .sd-package-grid { grid-template-columns: 1.3fr 1fr; gap: 64px; }
  .sd-place-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .sd-contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .sd-day-list { grid-template-columns: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .sd-collage:hover .sd-photo-a, .sd-collage:hover .sd-photo-b, .sd-day:hover, .sd-gallery .pg-item:hover img { transform: none; }
}
