/* Statische Anlass-Seiten (z. B. /hochzeit/) im Look der Startseite (home-redesign.css). */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/playfair-display-latin-600-normal.woff2') format('woff2'); }

:root {
  --g-ink: #171325;
  --g-muted: #6d6879;
  --g-paper: #fbfaf8;
  --g-tint: #f3f0fb;
  --g-lilac: #f2eeff;
  --g-violet: #7c4dff;
  --g-pink: #f446a7;
  --g-orange: #ff875c;
  --g-line: rgba(23, 19, 37, 0.1);
  --g-gradient: linear-gradient(105deg, #ff875c, #f447a6 52%, #8c58ff);
  --g-serif: 'Playfair Display', Georgia, serif;
  scroll-padding-top: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.g-page {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--g-paper);
  color: var(--g-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.g-page a { color: inherit; text-decoration: none; }
.g-page img { display: block; max-width: 100%; height: auto; }
.g-page :is(a, button, summary):focus-visible { outline: 3px solid #ff9dca; outline-offset: 4px; }
.g-skip { position: fixed; z-index: 200; top: 12px; left: 16px; padding: 10px 18px; border-radius: 999px; background: var(--g-ink); color: #fff !important; transform: translateY(-180%); }
.g-skip:focus { transform: translateY(0); }

.g-inner { width: min(1240px, calc(100% - 72px)); margin: 0 auto; }

/* Kopfleiste wie auf der Startseite */
.g-nav {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  min-height: 82px; padding: 14px max(36px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid rgba(23, 19, 37, 0.07);
  background: rgba(251, 250, 248, 0.9);
  backdrop-filter: blur(22px) saturate(140%);
}
.g-brand { display: inline-flex; width: 174px; }
.g-nav > .g-brand { max-width: 100%; }
.g-cta, .g-btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 23px; border-radius: 999px;
  font-size: 1rem; font-weight: 700; line-height: 1.3;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.g-cta { font-size: 1.05rem; }
.g-cta, .g-btn-primary { background: var(--g-gradient); color: #fff !important; box-shadow: 0 10px 26px rgba(230, 75, 148, 0.24); }
.g-cta:hover, .g-btn:hover { transform: translateY(-2px); }
.g-btn-ghost { border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.12); color: #fff !important; backdrop-filter: blur(10px); }
.g-btn-white { min-height: 60px; padding: 0 30px; background: #fff; color: #7c3ed6 !important; box-shadow: 0 18px 40px rgba(74, 25, 99, 0.22); }

/* Hero */
.g-hero { position: relative; display: grid; place-items: center; min-height: min(720px, calc(100svh - 82px)); padding: 88px 36px 96px; overflow: hidden; color: #fff; isolation: isolate; }
.g-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 55%, rgba(17, 11, 30, 0.55), transparent 75%),
    linear-gradient(90deg, rgba(17, 11, 30, 0.62), rgba(17, 11, 30, 0.34) 50%, rgba(17, 11, 30, 0.62)),
    linear-gradient(0deg, rgba(17, 11, 30, 0.6), rgba(17, 11, 30, 0.08) 55%, rgba(17, 11, 30, 0.34)),
    url('/landing/qr-detail-wide.webp') center 45% / cover no-repeat;
  filter: saturate(0.9);
}
.g-hero-content { display: grid; justify-items: center; gap: 24px; width: min(940px, 100%); text-align: center; }
.g-hero h1 { margin: 0; font-family: var(--g-serif); font-size: clamp(3rem, 6.4vw, 6.2rem); font-weight: 600; line-height: 0.95; letter-spacing: -0.05em; text-wrap: balance; text-shadow: 0 16px 55px rgba(8, 5, 16, 0.28); }
.g-lead { max-width: 720px; margin: 0; font-size: clamp(1.04rem, 1.4vw, 1.22rem); text-wrap: balance; text-shadow: 0 3px 18px rgba(8, 5, 16, 0.45); }
.g-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.g-actions .g-btn { min-width: 184px; }

/* Abschnitte */
.g-section { padding: clamp(64px, 8vw, 112px) 0; }
.g-tint { background: var(--g-tint); }
.g-heading { max-width: 860px; margin-bottom: clamp(36px, 4vw, 56px); }
.g-heading h2, .g-dark h2, .g-band h2 { margin: 0; font-family: var(--g-serif); font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.g-heading p { max-width: 700px; margin: 20px 0 0; color: var(--g-muted); font-size: 1.06rem; }
.g-section h3 { margin: 0; font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; }

/* Botanische Akzente wie auf der Startseite: nur in den breiten Außenrändern */
@media (min-width: 1480px) {
  .g-botanical { position: relative; isolation: isolate; }
  .g-botanical::before, .g-botanical::after {
    content: ''; position: absolute; z-index: -1; top: 4%;
    width: min(400px, calc((100% - 1320px) / 2)); height: min(720px, 90%);
    background: url('/landing/botanical-branch.webp') center / contain no-repeat;
    opacity: 0.23; pointer-events: none;
  }
  .g-botanical::before { left: max(12px, calc((100% - 2140px) / 4)); transform: scaleX(-1); }
  .g-botanical::after { right: max(12px, calc((100% - 2140px) / 4)); top: auto; bottom: 4%; }
}

/* Fahrplan: Zeitleiste mit mitwachsender Farbverlaufs-Linie */
.g-timeline { position: relative; max-width: 980px; margin: 0; padding: 0 0 0 44px; list-style: none; --tl-progress: 0; }
.g-timeline::before, .g-timeline::after { content: ''; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; }
.g-timeline::before { background: #dcd2fb; }
.g-timeline::after { background: linear-gradient(180deg, #ff875c, #f447a6 50%, #8c58ff); transform-origin: top; transform: scaleY(var(--tl-progress)); }
.g-tl-item { position: relative; display: grid; grid-template-columns: minmax(200px, 0.34fr) minmax(0, 1fr); gap: 36px; padding: 0 0 56px; }
.g-tl-item:last-child { padding-bottom: 0; }
.g-tl-item::before {
  content: ''; position: absolute; z-index: 1; left: -42px; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2px solid #dcd2fb; box-shadow: 0 0 0 6px var(--g-paper);
  transition: background 300ms ease, border-color 300ms ease, transform 300ms ease;
}
.g-tl-item.is-active::before { background: var(--g-gradient); border-color: #fff; transform: scale(1.15); box-shadow: 0 0 0 6px var(--g-paper), 0 6px 18px rgba(244, 70, 167, 0.35); }
.g-tl-when { position: sticky; top: 110px; align-self: start; margin: 0; font-family: var(--g-serif); font-size: clamp(1.45rem, 2.2vw, 2rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.03em; color: #b9b1cc; transition: color 300ms ease; }
.g-tl-item.is-active .g-tl-when { color: var(--g-ink); }
.g-tl-body h3 { font-size: 1.25rem; }
.g-tl-body p { max-width: 640px; margin: 10px 0 0; color: #4c4659; }
.g-timeline.is-animated .g-tl-body { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.g-timeline.is-animated .g-tl-item.is-visible .g-tl-body { opacity: 1; transform: none; }
.g-tip { display: inline-flex; gap: 10px; margin-top: 16px !important; padding: 10px 16px; border-radius: 14px; background: var(--g-lilac); color: #4b2fb0 !important; font-size: 0.92rem; font-weight: 600; }
.g-tip::before { content: 'Tipp'; flex: none; color: var(--g-violet); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 2px; }

/* Aufsteller: Karussell, erweiterbar */
.g-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }
.g-heading-row > div:first-child { max-width: 860px; }
.g-carousel-nav { display: flex; flex: none; gap: 10px; }
.g-round { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(23, 19, 37, 0.14); border-radius: 50%; background: #fff; color: var(--g-ink); font-size: 1.2rem; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease; }
.g-round:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47, 36, 74, 0.12); }
.g-templates { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 4.4); gap: 20px; overflow-x: auto; padding: 8px 4px 28px; margin: 0 -4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.g-templates::-webkit-scrollbar { display: none; }
.g-template { margin: 0; scroll-snap-align: start; }
.g-template img, .g-template-frame { width: 100%; aspect-ratio: 2 / 3; border-radius: 18px; box-shadow: 0 18px 40px rgba(47, 36, 74, 0.13); transition: transform 260ms ease, box-shadow 260ms ease; }
.g-template img { object-fit: cover; }
.g-template:hover img, .g-template:hover .g-template-frame { transform: translateY(-8px); box-shadow: 0 28px 54px rgba(47, 36, 74, 0.18); }
.g-template figcaption { margin-top: 16px; color: var(--g-muted); font-size: 0.86rem; font-weight: 700; text-align: center; }
.g-template-frame { display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; border: 2px dashed rgba(124, 77, 255, 0.35); background: #fff; box-shadow: none; }
.g-template-frame img { width: 62%; aspect-ratio: 1; border-radius: 8px; box-shadow: none; transform: none !important; }
.g-template-frame p { margin: 0; max-width: 14em; color: var(--g-muted); font-size: 0.88rem; text-align: center; }
.g-template-own figcaption { color: var(--g-violet); }
.g-places { margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--g-line); }
.g-places h3 { margin-bottom: 20px; font-family: var(--g-serif); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; }
.g-places ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; margin: 0; padding: 0; list-style: none; }
.g-places li { position: relative; padding-left: 30px; color: #4c4659; }
.g-places li::before, .g-check li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--g-violet); font-weight: 700; }
.g-places strong { color: var(--g-ink); }

/* Dunkler Abschnitt */
.g-dark { position: relative; padding: clamp(64px, 8vw, 112px) 0; overflow: hidden; background: #1c1430; color: #fff; isolation: isolate; }
.g-dark::after { content: ''; position: absolute; z-index: -1; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 70, 167, 0.28), transparent 65%); }
.g-split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.g-dark-media { margin: 0; }
.g-dark-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.g-dark p { color: rgba(255, 255, 255, 0.78); font-size: 1.05rem; }
.g-dark h2 + p { margin-top: 24px; }
.g-check { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.g-check li { position: relative; padding-left: 30px; }
.g-check-light li { color: #fff; font-weight: 600; }
.g-check-light li::before { color: #ff9dca; }
.g-dark-note { margin-top: 28px; padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.98rem !important; }
.g-dark-note strong { color: #fff; }

/* Am Tag: redaktionelles Layout statt Kacheln */
.g-day { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.g-day-media { margin: 0; }
.g-day-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 70px rgba(47, 36, 74, 0.16); }
.g-day-copy h2 { margin: 0; font-family: var(--g-serif); font-size: clamp(2.6rem, 5vw, 4.8rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em; }
.g-day-intro { margin: 22px 0 8px; color: var(--g-muted); font-size: 1.06rem; }
.g-day-block { padding: 26px 0; border-bottom: 1px solid rgba(23, 19, 37, 0.12); }
.g-day-block:last-child { border-bottom: 0; padding-bottom: 0; }
.g-day-block h3 { font-family: var(--g-serif); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.g-day-block p { margin: 10px 0 0; color: #4c4659; }
.g-quote {
  margin: 0;
  padding: clamp(22px, 4vw, 52px);
  border: 1px solid var(--g-line);
  border-radius: 24px;
  background: var(--g-tint);
}
.g-day + .g-quote { margin-top: clamp(56px, 7vw, 96px); }
.g-quote blockquote {
  max-width: 860px;
  margin: 0;
  font-family: var(--g-serif);
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  line-height: 1.38;
  text-wrap: pretty;
}
.g-quote figcaption { margin-top: 16px; color: var(--g-muted); font-size: 0.95rem; }

/* Danach */
.g-after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g-photo-card { overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--g-line); transition: transform 220ms ease, box-shadow 220ms ease; }
.g-photo-card:hover { transform: translateY(-6px); box-shadow: 0 25px 55px rgba(35, 27, 52, 0.11); }
.g-photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g-photo-card > div { padding: 24px 26px 28px; }
.g-photo-card h3 { font-family: var(--g-serif); font-size: 1.5rem; font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
.g-photo-card p { margin: 10px 0 0; color: var(--g-muted); }

/* Preise: ganze Kachel klickbar, Hover-Animation */
.g-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.g-price {
  position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 28px;
  border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(rgba(23, 19, 37, 0.1), rgba(23, 19, 37, 0.1)) border-box;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 260ms ease, background 260ms ease;
}
.g-price:hover, .g-price:focus-visible { transform: translateY(-8px); background: linear-gradient(#fff, #fff) padding-box, var(--g-gradient) border-box; box-shadow: 0 28px 60px rgba(124, 77, 255, 0.16); }
.g-price h3 { font-size: 1.05rem; }
.g-price-value { margin: 10px 0 12px; font-family: var(--g-serif); font-size: 3.2rem; font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.g-price > p:not(.g-price-value):not(.g-badge) { flex: 1; margin: 0; color: var(--g-muted); }
.g-price-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; color: var(--g-violet); font-weight: 700; }
.g-price-link span { transition: transform 220ms ease; }
.g-price:hover .g-price-link span { transform: translateX(5px); }
.g-price-featured { background: linear-gradient(#fff, #fff) padding-box, var(--g-gradient) border-box; box-shadow: 0 22px 50px rgba(124, 77, 255, 0.14); }
.g-price-featured .g-price-link { align-self: flex-start; padding: 10px 18px; border-radius: 999px; background: var(--g-gradient); color: #fff; }
.g-badge { align-self: flex-start; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--g-lilac); color: var(--g-violet); font-size: 0.75rem; font-weight: 700; }

.g-guide-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.g-guide-link img {
  aspect-ratio: 16 / 7;
  object-position: center 48%;
}

.g-guide-link .g-price-link {
  margin-top: 18px;
  color: #6437af;
}

.g-guide-link:hover .g-price-link span,
.g-guide-link:focus-visible .g-price-link span {
  transform: translateX(5px);
}

/* FAQ wie Startseite */
.g-faq-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.g-faq-layout .g-heading { margin: 0; }
.g-faq { border-top: 1px solid rgba(23, 19, 37, 0.14); }
.g-faq details { border-bottom: 1px solid rgba(23, 19, 37, 0.14); }
.g-faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-family: var(--g-serif); font-size: 1.3rem; font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: '+'; flex: none; color: var(--g-pink); font-family: Inter, sans-serif; font-size: 1.5rem; font-weight: 400; transition: transform 200ms ease; }
.g-faq details[open] summary::after { transform: rotate(45deg); }
.g-faq details p { max-width: 720px; margin: 0; padding: 0 0 24px; color: var(--g-muted); }

/* Abschluss-Band und Fußzeile */
.g-band { padding: clamp(64px, 7vw, 88px) 0; background: radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.24), transparent 24%), linear-gradient(105deg, #ff875c, #f447a6 48%, #7c4dff); color: #fff; }
.g-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.g-band p { margin: 14px 0 0; color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; }
.g-footer { padding: 40px 0; background: var(--g-ink); color: #fff; }
.g-footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.g-footer .g-brand img { filter: brightness(1.18) saturate(1.08); }
.g-footer p { margin: 8px 0 0; color: rgba(255, 255, 255, 0.58); font-size: 0.9rem; }
.g-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; color: rgba(255, 255, 255, 0.68); font-size: 0.88rem; font-weight: 650; }
.g-footer-links a:hover { color: #fff; }

@media (max-width: 1100px) {
  .g-templates { grid-auto-columns: calc((100% - 2 * 20px) / 2.6); }
}
@media (max-width: 1000px) {
  .g-nav { padding-inline: 24px; }
}
@media (max-width: 900px) {
  .g-inner { width: calc(100% - 48px); }
  .g-split, .g-day, .g-faq-layout { grid-template-columns: minmax(0, 1fr); }
  .g-day-media img { aspect-ratio: 16 / 10; }
  .g-heading-row { display: block; }
  .g-carousel-nav { display: none; }
  .g-after, .g-prices { grid-template-columns: minmax(0, 1fr); }
  .g-tl-item { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-bottom: 40px; }
  .g-tl-when { position: static; }
  .g-places ul { grid-template-columns: minmax(0, 1fr); }
  .g-band-grid, .g-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .g-footer-links { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .g-nav { gap: 12px; min-height: 72px; padding: 11px 14px; }
  .g-nav > .g-brand { width: min(152px, 40vw); }
  .g-cta { min-height: 44px; padding-inline: 15px; }
}
@media (max-width: 600px) {
  .g-inner { width: calc(100% - 32px); }
  .g-brand { width: 132px; }
  .g-hero { min-height: 0; padding: 72px 16px 80px; }
  .g-actions .g-btn { width: 100%; }
  .g-templates { grid-auto-columns: 64%; margin: 0 -16px; padding: 8px 16px 28px; scroll-padding: 0 16px; }
  .g-timeline { padding-left: 36px; }
  .g-tl-item::before { left: -34px; }
  .g-faq summary { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-cta, .g-btn, .g-template img, .g-template-frame, .g-photo-card, .g-price, .g-price-link span, .g-round { transition: none; }
}
