/* ==========================================================================
   Buidlkistn – Fotobox-Verleih Ingolstadt
   Design-System: Farben, Typografie, Layout, Komponenten, Animationen
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/roboto-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farb- und Gestaltungs-Tokens ---------- */
:root {
  /* Markenfarben */
  --blue: #1d6fb8;          /* Buidlkistn-Blau (Logo) */
  --blue-dark: #15558f;     /* Hover / dunklere Stufe */
  --navy: #0f2440;          /* Nachtblau: dunkle Flächen, Footer */
  --coral: #ec7a52;         /* Akzent: Koralle */
  --coral-soft: #fcebe3;    /* Akzent hell */
  --sky-soft: #e8f1fa;      /* Blau hell */

  /* Neutrale Töne */
  --paper: #fffdfa;         /* Seitenhintergrund */
  --sand: #f6f1ea;          /* Alternativer Hintergrund */
  --ink: #15202d;           /* Text */
  --muted: #56616e;         /* Sekundärtext */
  --line: rgba(21, 32, 45, 0.12);

  /* Typografie */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-logo: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --t-h1: clamp(2.4rem, 1.6rem + 3.2vw, 4.25rem);
  --t-h2: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
  --t-h3: 1.3rem;
  --t-lead: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);

  /* Abstände & Layout */
  --nav: 76px;
  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
  --sec: clamp(72px, 9vw, 128px);

  /* Radien & Schatten */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(15, 36, 64, 0.06), 0 2px 8px rgba(15, 36, 64, 0.05);
  --shadow-md: 0 2px 6px rgba(15, 36, 64, 0.06), 0 14px 34px rgba(15, 36, 64, 0.09);
  --shadow-lg: 0 6px 16px rgba(15, 36, 64, 0.08), 0 28px 60px rgba(15, 36, 64, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
picture { display: contents; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}
h1, h2, h3 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }
h1 { font-size: var(--t-h1); letter-spacing: -0.025em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); font-variation-settings: "opsz" 36; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--blue); font-weight: 400; }
.hero h1 em {
  padding-bottom: .08em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8.5C40 3.5 92 2.5 130 4.2c24 1.1 46 2.6 67 4.8' fill='none' stroke='%23ec7a52' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .28em no-repeat;
}
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--coral-soft); color: var(--ink); }
html { accent-color: var(--blue); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.measure { max-width: 62ch; }
.lead { font-size: var(--t-lead); color: var(--muted); line-height: 1.6; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .measure, .center.measure { margin-left: auto; margin-right: auto; }
.skip { position: absolute; left: var(--gut); top: 8px; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { width: auto; height: auto; clip-path: none; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


/* ---------- Buttons ---------- */
.btn {
  --bh: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--bh); padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 500 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(0.97); transition-duration: .1s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(29, 111, 184, 0.28); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 10px 24px rgba(29, 111, 184, 0.34); }
.btn--secondary { background: transparent; color: var(--ink); border-color: rgba(21, 32, 45, 0.22); }
.btn--secondary:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--coral-soft); color: var(--navy); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn--ghost-light:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.btn--sm { --bh: 42px; padding: 0 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Textlink mit gezeichneter Unterstreichung */
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--blue); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav);
  background: rgba(255, 253, 250, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 36, 64, 0.07); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blue); flex: none; }
.logo svg { width: 40px; height: 40px; transition: transform .4s var(--ease); }
.logo span { font-family: var(--font-logo); font-size: 1.3rem; letter-spacing: 0.14em; line-height: 1; padding-top: 2px; }
.logo:hover { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 8px 14px;
  color: var(--ink); text-decoration: none; font-size: .975rem; font-weight: 500;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 999px;
  border: 1.5px solid rgba(21, 32, 45, 0.18); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav) 0 0 0; z-index: 49;
  background: var(--paper);
  padding: 24px var(--gut) 40px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s .2s;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; transition-duration: .3s, .3s, 0s; transition-delay: 0s; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: flex; justify-content: flex-start; align-items: center;
  min-height: 60px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); text-decoration: none;
}
.mobile-menu li a[aria-current="page"] { color: var(--blue); }
.mobile-menu li a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); margin-right: 12px; flex: none; }
.mobile-menu li a svg { margin-left: auto; width: 22px; height: 22px; flex: none; color: var(--blue); transition: transform .3s var(--ease); }
.mobile-menu li a:hover svg, .mobile-menu li a:active svg { transform: translateX(4px); }
.mobile-menu .btn-row svg { width: 20px; height: 20px; }
.mobile-menu .btn-row { margin-top: 28px; flex-direction: column; align-items: stretch; }
.mobile-menu .menu-contact { margin-top: auto; padding-top: 32px; color: var(--muted); font-size: .95rem; }
.menu-open { overflow: hidden; }

/* ---------- Sektionen ---------- */
main { padding-top: var(--nav); }
.section { padding: var(--sec) 0; position: relative; }
.section--sand { background: var(--sand); }
.section--sky { background: var(--sky-soft); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { margin: 0; }
.section-head.center .lead { margin-inline: auto; }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 104px); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%;
  background: radial-gradient(closest-side, rgba(29, 111, 184, 0.09), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; max-width: 34em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; list-style: none; color: var(--muted); font-size: .95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

.price-pill {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 7px 16px 7px 8px; margin-bottom: 22px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .925rem; color: var(--muted);
}
.price-pill strong { background: var(--coral-soft); color: #9a3d1c; border-radius: 999px; padding: 3px 11px; font-weight: 600; }

/* Bühne mit Fotobox und "Ausdrucken" */
.hero-stage { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; margin-left: auto; width: 100%; }
.hero-stage .disc {
  position: absolute; inset: 6% 4% 4% 6%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--sky-soft) 55%, #d6e6f5 100%);
}
.hero-stage .disc::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1.5px dashed rgba(29, 111, 184, 0.25);
}
.hero-stage .box {
  position: absolute; left: 50%; bottom: 0; width: 56%; transform: translateX(-50%);
  filter: drop-shadow(0 30px 30px rgba(15, 36, 64, 0.22));
  z-index: 2;
}
.print {
  position: absolute; z-index: 3; background: #fff; padding: 8px 8px 30px; border-radius: 4px;
  box-shadow: var(--shadow-lg); width: 32%;
  animation: float 6s ease-in-out 2;
}
.print img { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; border-radius: 2px; }
.print { width: 27%; }
.print--a { left: -2%; top: 10%; --r: -7deg; transform: rotate(var(--r)); }
.print--b { right: -4%; top: 44%; --r: 6deg; transform: rotate(var(--r)); animation-delay: -3.5s; width: 26%; }
.hero-badge {
  position: absolute; z-index: 4; left: 4%; bottom: 10%;
  background: #fff; border-radius: var(--r-md); padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.35;
}
.hero-badge .ic { width: 38px; height: 38px; border-radius: 50%; background: var(--coral-soft); display: grid; place-items: center; color: #b4532d; flex: none; }
.hero-badge .ic svg { width: 20px; height: 20px; }
.hero-badge strong { display: block; font-weight: 600; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Feature-Leiste ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; }
.feature-strip li { display: flex; gap: 16px; align-items: flex-start; }
.feature-strip h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 2px 0 4px; letter-spacing: 0; }
.feature-strip p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center; background: #fff; color: var(--blue);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), background-color .3s, color .3s;
}
.icon-tile svg { width: 24px; height: 24px; }

/* ---------- Karten / Pakete ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
a.card, .card--hover { color: inherit; text-decoration: none; }

.package { display: flex; flex-direction: column; position: relative; }
.package h3 { font-size: 1.6rem; margin-bottom: 6px; }
.package .tagline { color: var(--muted); margin: 0 0 22px; font-size: .975rem; min-height: 3.2em; }
.package .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.package .price strong { font-family: var(--font-display); font-weight: 500; font-size: 3rem; line-height: 1; letter-spacing: -0.02em; }
.package .price span { color: var(--muted); font-size: .95rem; }
.package .price-note { font-size: .875rem; color: var(--muted); margin-bottom: 24px; }
.package ul { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.package li { display: flex; gap: 11px; align-items: flex-start; font-size: .975rem; line-height: 1.5; }
.package li svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 1px; }
.package li.plus-item { font-weight: 500; }
.package li.plus-item svg { color: var(--coral); }
.package .btn { margin-top: auto; width: 100%; }
.package--featured { border: 1.5px solid var(--blue); box-shadow: var(--shadow-md); }
.package--featured::before {
  content: attr(data-badge); position: absolute; top: -13px; left: 32px;
  background: var(--coral); color: var(--navy); font-size: .8rem; font-weight: 600; padding: 5px 13px; border-radius: 999px;
}
.package-footnote { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: .95rem; justify-content: center; }
.package-footnote span { display: inline-flex; gap: 8px; align-items: center; }
.package-footnote svg { width: 18px; height: 18px; color: var(--blue); }
.package-area { margin: 14px auto 0; max-width: 62ch; text-align: center; color: var(--muted); font-size: .95rem; text-wrap: balance; }
.package-area svg { width: 18px; height: 18px; color: var(--coral); display: inline; vertical-align: -3px; margin-right: 4px; }

/* ---------- Split-Layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.media {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand);
  box-shadow: var(--shadow-md);
}
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media--tall { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 4 / 3; }
.media--product {
  aspect-ratio: 4 / 5; display: grid; place-items: end center;
  background: radial-gradient(circle at 50% 38%, #fff 0%, var(--sky-soft) 60%, #d9e8f6 100%);
  padding: 8% 12% 0;
}
.media--product img { width: auto; height: 94%; object-fit: contain; filter: drop-shadow(0 26px 26px rgba(15, 36, 64, .2)); }
/* Gerät mittig in der Kachel (z. B. Fotodrucker) */
.media--product.media--device { aspect-ratio: 4 / 3; padding: 0; }
.media--product.media--device img { position: absolute; inset: 4% 8%; width: 84%; height: 92%; object-fit: contain; }

.feature-list { list-style: none; display: grid; gap: 22px; margin: 28px 0 34px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin: 2px 0 2px; }
.feature-list p { margin: 0; color: var(--muted); font-size: .975rem; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px;
  background: linear-gradient(90deg, var(--coral), rgba(236, 122, 82, .25));
  transform: scaleX(var(--progress, 0)); transform-origin: left; transition: transform 1.6s var(--ease);
}
.steps.is-visible { --progress: 1; }
.steps li { position: relative; counter-increment: step; }
.steps .num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--blue); color: var(--blue);
  font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 22px; position: relative; z-index: 1;
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .975rem; margin: 0; }

/* ---------- Anlässe (Bildkacheln) ---------- */
.occasions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.occasion {
  display: block; background: #fff; padding: 10px 10px 0; border-radius: 4px;
  color: var(--ink); text-decoration: none;
  box-shadow: 0 2px 4px rgba(15, 36, 64, .06), 0 14px 30px rgba(15, 36, 64, .12);
  rotate: var(--tilt, 0deg);
  transition: rotate .45s var(--ease-out), translate .45s var(--ease-out), scale .15s var(--ease-out), box-shadow .45s var(--ease-out), opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.occasion:nth-child(1) { --tilt: -1.6deg; }
.occasion:nth-child(2) { --tilt: 1.2deg; }
.occasion:nth-child(3) { --tilt: -0.8deg; }
.occasion:nth-child(4) { --tilt: 1.6deg; }
.occasion:hover { color: var(--ink); }
.occasion:active { rotate: 0deg; scale: .98; }
.occasion-img { aspect-ratio: 2 / 3; overflow: hidden; border-radius: 2px; background: var(--sand); }
.occasion img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.occasion-cap { display: block; padding: 16px 6px 18px; }
.occasion-cap h3 { color: var(--ink); font-size: 1.3rem; margin: 0 0 4px; }
.occasion-cap p { margin: 0 0 12px; font-size: .925rem; line-height: 1.45; color: var(--muted); }
.occasion-link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--blue); }
.occasion-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }

/* ---------- Servus / Über mich ---------- */
.servus { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 1100px; }
.servus-avatar, .servus-photo {
  width: clamp(150px, 20vw, 220px); aspect-ratio: 4 / 5; border-radius: 4px; background: #fff;
  padding: 10px 10px 34px; box-shadow: var(--shadow-lg); transform: rotate(-3deg); object-fit: cover;
}
.servus-avatar { display: grid; place-items: center; color: var(--blue); }
.servus-photo { aspect-ratio: auto; height: auto; width: clamp(300px, 38vw, 480px); transform: rotate(-2deg); }
.servus-avatar svg { width: 62%; height: auto; }
.servus h2 { margin-bottom: 14px; }
.servus .lead { margin-bottom: 26px; max-width: 54ch; }
.servus .btn-row { align-items: center; gap: 14px 26px; }
.servus .link svg { width: 18px; height: 18px; }

/* ---------- Bewertungen ---------- */
.reviews-empty {
  border: 1.5px dashed rgba(29, 111, 184, .3); border-radius: var(--r-lg); background: #fff;
  padding: clamp(32px, 5vw, 56px); text-align: center;
}
.reviews-empty .stars { display: flex; justify-content: center; gap: 6px; color: #f0b429; margin-bottom: 18px; }
.reviews-empty .stars svg { width: 26px; height: 26px; }
.review-card blockquote { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.6; }
.review-card .stars { display: flex; gap: 3px; color: #f0b429; margin-bottom: 14px; }
.review-card .stars svg { width: 18px; height: 18px; }
.review-card footer { color: var(--muted); font-size: .925rem; }

/* ---------- FAQ (Akkordeon) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-weight: 500; font-size: 1.08rem; line-height: 1.45;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px;
  border-radius: 50%; border: 1.5px solid var(--line);
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.6px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .25s, border-color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--sky-soft); border-color: transparent; }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: 1.6rem; margin-bottom: 18px; }

/* ---------- Call-to-Action-Band ---------- */
.cta-band {
  background: var(--sky-soft); color: var(--ink); border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .9), transparent);
}
.cta-band::after {
  content: ""; position: absolute; width: 320px; height: 320px; left: 30%; bottom: -230px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(236, 122, 82, .22), transparent);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--ink); margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-contact { display: grid; gap: 10px; margin-top: 18px; }
.cta-contact a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; opacity: .9; }
.cta-contact a:hover { opacity: 1; text-decoration: underline; }
.cta-contact svg { width: 18px; height: 18px; }

/* ---------- Vergleichstabelle ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); font-size: .975rem; }
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; background: var(--sand); }
.compare thead th small { display: block; font-family: var(--font-body); font-size: .9rem; color: var(--muted); margin-top: 2px; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr { transition: background-color .2s; }
.compare tbody tr:hover { background: #fbf8f4; }
.compare .yes { color: var(--blue); display: inline-block; width: 22px; height: 22px; }
.compare .no { color: rgba(21, 32, 45, .3); }
.compare .col-featured { background: rgba(232, 241, 250, .55); }
.compare tbody td:first-child strong { font-weight: 600; color: var(--ink); }
.compare tfoot td { padding: 20px 14px; border-bottom: 0; border-top: 1px solid var(--line); }
.compare tfoot .btn { width: 100%; }

/* ---------- Info-Boxen ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-grid { column-gap: clamp(28px, 4vw, 56px); row-gap: 8px; }
.info { display: grid; align-content: start; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 22px 0 6px; border-top: 1px solid var(--line); }
.info .icon-tile { width: 28px; height: 28px; border: 0; box-shadow: none; background: none; color: var(--coral); border-radius: 0; grid-row: span 2; margin-top: 1px; }
.info .icon-tile svg { width: 24px; height: 24px; }
.info h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; letter-spacing: 0; margin: 0 0 6px; }
.info p { color: var(--muted); margin: 0; font-size: .975rem; }

/* Platzhalter-Medien (z. B. rustikale Box, Fotos folgen) */
.media--placeholder {
  aspect-ratio: 4 / 5; display: grid; place-items: center; text-align: center;
  background:
    linear-gradient(160deg, #f3ece2, #e9dfd1);
  color: var(--muted); padding: 32px; box-shadow: none; border: 1.5px dashed rgba(21, 32, 45, .18);
}
.media--placeholder svg { width: 72px; height: 72px; margin: 0 auto 16px; color: #a07a4f; }
.media--placeholder strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 6px; }

/* Galerie-Raster */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery .media { box-shadow: none; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* ---------- Kontakt & Formular ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 7px; }
.field label .req { color: #b4532d; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(21, 32, 45, .16); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315202d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(21, 32, 45, .32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 111, 184, .14); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #c0392b; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .925rem; color: var(--muted); }
.check { flex-wrap: wrap; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--blue); flex: none; }
.check input[aria-invalid="true"] { outline: 2px solid #c0392b; outline-offset: 2px; border-radius: 3px; }
.check > span { flex: 1; min-width: 0; }
.field-error { margin: 7px 0 0; font-size: .875rem; color: #a5281b; line-height: 1.4; }
.check .field-error { flex-basis: 100%; padding-left: 32px; margin-top: 2px; }
.field textarea[aria-invalid="true"] { border-color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; }
.form-status { grid-column: 1 / -1; border-radius: var(--r-sm); padding: 16px 18px; font-size: .975rem; display: none; }
.form-status.is-success { display: block; background: #e7f5ec; color: #1e6b3a; }
.form-status.is-error { display: block; background: #fdecea; color: #962d22; }
.form-status a { color: inherit; font-weight: 600; }
.form .btn[disabled] { opacity: .65; pointer-events: none; }

.contact-card { position: sticky; top: calc(var(--nav) + 24px); }
.contact-card h2 { font-size: 1.7rem; }
.contact-list { list-style: none; display: grid; gap: 8px; margin: 22px 0; }
.contact-list a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-md);
  text-decoration: none; color: var(--ink); background: var(--sand);
  transition: transform .3s var(--ease), background-color .25s;
}
.contact-list a:active { background: var(--sky-soft); }
.contact-list .ic { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.3; }
.contact-list strong { font-weight: 500; display: block; line-height: 1.35; }

/* ---------- Seiten-Kopf (Unterseiten) ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); background: var(--sand); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(29, 111, 184, .12), transparent);
}
.page-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem); margin-bottom: 16px; }
.page-head .lead { margin: 0; }
.breadcrumb { font-size: .875rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.6rem; margin-top: 2em; }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; }
.legal p, .legal li { color: #2d3946; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--navy); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo:hover { color: #fff; }
.site-footer h4 { font-family: var(--font-body); font-size: .875rem; font-weight: 600; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer li a { display: inline-block; padding: 9px 0; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a:hover { background: var(--blue); }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); transition: background-color .25s, transform .3s var(--ease);
}
.socials svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: .85rem; color: rgba(255, 255, 255, .55);
}
.footer-bottom nav { display: flex; gap: 20px; }

/* Mobile Aktionsleiste */
.actionbar { display: none; }

/* ---------- Hover-Bewegung nur mit Maus (auf Touch-Geräten bleibt sonst der Zustand hängen) ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover svg.arrow { transform: translateX(4px); }
  .link:hover svg { transform: translateX(3px); }
  .logo:hover svg { transform: rotate(-6deg) scale(1.04); }
  .feature-strip li:hover .icon-tile, .feature-list li:hover .icon-tile { transform: translateY(-3px) rotate(-4deg); background: var(--blue); color: #fff; }
  a.card:hover, .card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .media:hover img { transform: scale(1.03); }
  .media--product:hover img { transform: translateY(-6px) scale(1.02); }
  .steps li:hover .num { background: var(--blue); color: #fff; transform: scale(1.06); }
  .occasion:hover img { transform: scale(1.04); }
  .contact-list a:hover { transform: translateX(4px); background: var(--sky-soft); color: var(--ink); }
  .socials a:hover { background: var(--blue); transform: translateY(-2px); }
  .media--product.media--flush-top:hover img { transform: scale(1.02); }
  .media--product.media--duo:hover img:first-child { transform: translateY(-6px); }
  .media--product.media--duo:hover img:last-child { transform: translateY(-6px); transition-delay: .06s; }
  .occasion:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 0 4px 8px rgba(15, 36, 64, .08), 0 24px 44px rgba(15, 36, 64, .16); }
  .occasion:hover .occasion-link svg { transform: translateX(4px); }
}

/* ---------- Scroll-Animationen (dezent) ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .hero .intro > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.js .hero .intro > :nth-child(2) { animation-delay: .08s; }
.js .hero .intro > :nth-child(3) { animation-delay: .16s; }
.js .hero .intro > :nth-child(4) { animation-delay: .24s; }
.js .hero .intro > :nth-child(5) { animation-delay: .32s; }
.js .hero-stage { opacity: 0; animation: fadeScale 1.2s var(--ease) .15s forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeScale { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero .intro > *, .js .hero-stage { opacity: 1 !important; transform: none !important; }
  .print--a { transform: rotate(-7deg); } .print--b { transform: rotate(6deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .feature-strip { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cards--4, .occasions { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid, .cta-band { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .hero-stage { margin: 0 auto; max-width: 480px; }
  .cards--3, .info-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .package .tagline { min-height: 0; }
  .cta-band .btn-row { justify-content: flex-start; }
  .contact-card { position: static; }
  .media--after-text { order: 2 !important; aspect-ratio: 16 / 9; }
  .servus { grid-template-columns: 1fr; justify-items: start; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 640px) {
  :root { --nav: 64px; }
  body { font-size: 1rem; }
  .logo svg { width: 34px; height: 34px; }
  .logo span { font-size: 1.1rem; }
  .nav-cta .btn { display: none; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }
  .feature-strip, .cards--2, .cards--4, .steps { grid-template-columns: 1fr; }
  .occasions { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .occasion { padding: 7px 7px 0; }
  .occasion-cap { padding: 12px 4px 14px; }
  .occasion-cap h3 { font-size: 1.1rem; }
  .occasion-cap p { display: none; }
  .servus-avatar { width: 130px; }
  .servus-photo { width: 100%; max-width: 440px; padding: 8px 8px 26px; }
  .price-pill { align-items: center; }
  .price-pill strong { white-space: nowrap; }
  .steps { row-gap: 28px; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; }
  .steps .num { width: 48px; height: 48px; font-size: 1.15rem; margin: 0; grid-row: span 2; }
  .steps h3 { margin: 10px 0 6px; }
  .form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-badge { left: 0; bottom: 4%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .faq summary { font-size: 1rem; }
  .actionbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 250, .96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .actionbar .btn { --bh: 48px; padding: 0 12px; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
}
