/* ============================================================
   FOTO BACHMANN — Kirby CSS-Ergänzungen
   Alle Stile, die in den Design-HTML-Dateien als <style>-Block
   standen, plus img-Selektoren als Ersatz für <image-slot>.
   ============================================================ */

/* ---- Logo-Stabilisierung: verhindert Layout-Shift beim Wechsel der Logo-Variante ------ */
/* logo-full-white.png (1996×512) und logo-full.png (2028×544) haben unterschiedliche    */
/* Abmessungen → bei height:auto würde die Breite beim src-Wechsel um ~8px springen.    */
/* Fixe Container-Breite hält den Flex-Platz stabil.                                     */
.site-header .brand {
  width: 172px; /* Breite des grössten Logos bei 44px Höhe */
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
}
.site-header .brand img {
  height: 44px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* ---- img-Ersatz für image-slot Custom Elements ------------ */
.split-media > img { width:100%; height:clamp(360px,40vw,480px); object-fit:cover; display:block; border-radius:var(--r-card-lg); }
.hero-visual > img.main-img { width:100%; height:clamp(440px,46vw,600px); object-fit:cover; display:block; border-radius:var(--r-card-lg); }
img.hs-img { position:relative; z-index:1; width:100%; max-width:540px; height:auto; aspect-ratio:600/389; object-fit:contain; display:block; background:transparent; }
.tile .img-wrap > img { width:100%; height:100%; object-fit:cover; display:block; border-radius:0; transition:transform var(--dur-slow) var(--ease-out); }
.tile:hover .img-wrap > img { transform:scale(1.04); }
.gallery .g-item > img { width:100%; height:100%; object-fit:cover; display:block; border-radius:0; transition:transform var(--dur-slow) var(--ease-out); }
.gallery .g-item:hover > img { transform:scale(1.05); }
.lightbox .lb-inner img { width:min(70vw,900px); height:min(70vh,640px); object-fit:contain; display:block; border-radius:0; }

/* ---- Homepage: Dark Split Hero ---------------------------- */
.hero-split {
  background: radial-gradient(ellipse at 72% 48%, rgba(227,0,135,0.18) 0%, transparent 58%),
              linear-gradient(135deg, #1a1712 0%, #241d30 52%, #321a2c 100%);
  min-height:100svh; overflow:hidden;
  display:flex; align-items:stretch;
}
.hero-split .wrap-wide { display:grid; grid-template-columns:1fr 1fr; align-items:center; width:100%; }
.hs-text { display:flex; flex-direction:column; justify-content:center; padding:100px 0 64px; }
.hs-eyebrow { display:inline-flex; align-items:center; gap:14px; font-size:13px; font-weight:700; letter-spacing:0.18em; text-transform:uppercase; color:var(--magenta-200); margin-bottom:26px; }
.hs-eyebrow::before { content:""; width:30px; height:2px; background:var(--accent); }
.hs-h1 { font-family:var(--font-display); font-weight:800; font-size:clamp(2.9rem,5.6vw,4.8rem); line-height:0.98; letter-spacing:-0.04em; color:#fff; margin:0 0 26px; }
.hs-h1 em { font-style:italic; font-weight:800; color:var(--accent); }
.hs-sub { font-size:clamp(17px,1.35vw,20px); line-height:1.62; color:var(--neutral-300); max-width:42ch; margin:0 0 40px; }
.hs-ctas { display:flex; gap:14px; flex-wrap:wrap; }
.btn-ghost-light { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color:#fff; background:rgba(255,255,255,0.08); transform:translateY(-2px); }
.hs-photo { position:relative; overflow:visible; display:flex; align-items:center; justify-content:center; padding:clamp(40px,5vw,76px); }
@media (max-width:860px) { .hero-split { min-height:0; } .hero-split .wrap-wide { grid-template-columns:1fr; } .hs-text { padding:108px 0 48px; } .hs-photo { min-height:420px; } }

/* ---- Dark Header (Homepage) ------------------------------- */
.site-header.on-dark { position:fixed; left:0; right:0; top:0; background:transparent; border-bottom:1px solid transparent; backdrop-filter:none; -webkit-backdrop-filter:none; transition:background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), backdrop-filter 0.35s var(--ease-out); }
.site-header.on-dark .nav-links a { color:var(--neutral-200); }
.site-header.on-dark .nav-links a:hover, .site-header.on-dark .nav-links a.active { color:#fff; background:rgba(255,255,255,0.1); }
.site-header.on-dark .drop a .t { color:var(--ink); }
.site-header.on-dark .nav-toggle { color:#fff; }
.site-header.on-dark.solid { background:rgba(248,246,239,0.88); border-bottom:1px solid var(--line); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.site-header.on-dark.solid .nav-links a { color:var(--fg1); }
.site-header.on-dark.solid .nav-links a:hover, .site-header.on-dark.solid .nav-links a.active { color:var(--accent-text); background:var(--magenta-100); }
.site-header.on-dark.solid .nav-toggle { color:var(--ink); }

/* ---- Trust Strip ------------------------------------------ */
.trust-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:18px 56px; }
.trust-item { display:flex; align-items:center; gap:12px; font-size:17px; font-weight:600; letter-spacing:-0.01em; color:var(--fg2); }
.trust-item i { width:22px; height:22px; color:var(--accent); flex:none; }
@media (max-width:640px) { .trust-row { gap:16px 32px; } .trust-item { font-size:15px; } }
.band.accent .stat .num .suf { color:rgba(255,255,255,0.65); }

/* ---- Timeline (Schulfotografie) --------------------------- */
.timeline { display:grid; gap:0; position:relative; max-width:760px; }
.timeline::before { content:""; position:absolute; left:92px; top:14px; bottom:14px; width:2px; background:var(--magenta-200); }
.tl-item { display:grid; grid-template-columns:92px 1fr; gap:28px; padding:0 0 36px; position:relative; }
.tl-item:last-child { padding-bottom:0; }
.tl-time { font-size:17px; font-weight:800; color:var(--accent); text-align:right; padding-top:2px; letter-spacing:-0.02em; }
.tl-body { position:relative; padding-left:28px; }
.tl-body::before { content:""; position:absolute; left:-7px; top:6px; width:16px; height:16px; border-radius:50%; background:var(--accent); border:3px solid var(--white); box-shadow:0 0 0 2px var(--magenta-200); }
.tl-body h3 { font-size:20px; font-weight:700; letter-spacing:-0.02em; margin:0 0 8px; }
.tl-body p { font-size:16px; line-height:1.58; color:var(--fg2); margin:0; }
@media (max-width:860px) { .tl-item { grid-template-columns:72px 1fr; gap:18px; } .timeline::before { left:72px; } }

/* ---- Price Cards (Schulfotografie) ------------------------ */
.price-card { background:var(--white); border:1px solid var(--line); border-radius:var(--r-card); padding:34px 32px; display:flex; flex-direction:column; }
.price-card .chip { align-self:flex-start; margin-bottom:20px; }
.price-card .price { display:flex; align-items:baseline; gap:6px; margin-bottom:8px; }
.price-card .price .amt { font-size:42px; font-weight:800; letter-spacing:-0.04em; color:var(--ink); }
.price-card .price-sub { font-size:15px; color:var(--fg2); margin:0 0 22px; line-height:1.5; }
.price-card .price-list { list-style:none; padding:22px 0 0; margin:0; border-top:1px solid var(--line); display:flex; flex-direction:column; gap:13px; }
.price-card .price-list li { display:flex; align-items:flex-start; gap:10px; font-size:15.5px; color:var(--fg1); line-height:1.4; }
.price-card .price-list li svg { width:18px; height:18px; color:var(--accent); flex:none; margin-top:1px; }
.price-card.featured { background:var(--accent); color:#fff; border-color:var(--accent); transform:scale(1.03); }
.price-card.featured .price .amt { color:#fff; }
.price-card.featured .price-sub { color:rgba(255,255,255,0.9); }
.price-card.featured .price-list { border-top-color:rgba(255,255,255,0.25); }
.price-card.featured .price-list li { color:#fff; }
.price-card.featured .price-list li svg { color:#fff; }
@media (max-width:860px) { .price-card.featured { transform:none; } }

/* ---- Kontakt-Formular Grid -------------------------------- */
.contact-grid { display:grid; grid-template-columns:0.92fr 1.08fr; gap:40px; align-items:start; }
.info-stack { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:18px; }
.map-placeholder { width:100%; height:240px; border-radius:var(--r-card); }
.map-placeholder svg { width:40px; height:40px; }
@media (max-width:1000px) { .contact-grid { grid-template-columns:1fr; gap:32px; } }
@media (max-width:520px) { .info-stack { grid-template-columns:1fr; } }

/* ---- How-it-works: Visual Steps --------------------------- */
.how-steps-head { margin-bottom: 48px; }

/* Verbindungsleiste */
.how-steps-track { position:relative; margin-bottom:24px; }
.how-steps-line {
  position:absolute; top:50%; transform:translateY(-50%);
  height:2px; background:var(--magenta-200); overflow:hidden; border-radius:1px;
}
.how-steps-line-fill {
  height:100%; background:var(--accent);
  transform-origin:left center; transform:scaleX(0);
  will-change: transform;
}
.how-steps-numbers { display:grid; position:relative; z-index:1; }
.how-steps-circle {
  display:flex; align-items:center; justify-content:center; justify-self:center;
  width:48px; height:48px; border-radius:50%;
  background:var(--white); border:2px solid var(--magenta-200);
  color:var(--accent); font-size:17px; font-weight:800; letter-spacing:-0.02em;
  transition:background var(--dur-base), border-color var(--dur-base), color var(--dur-base);
}
/* Ring-Effekt: Farbe je nach Section-Hintergrund */
.band.paper .how-steps-circle { box-shadow:0 0 0 5px var(--paper); }
.band.white .how-steps-circle { box-shadow:0 0 0 5px var(--white); }

/* Karten */
.how-steps-cards { display:grid; gap:20px; }
.how-step-card {
  background:var(--white); border:1px solid var(--line);
  border-radius:var(--r-card); padding:28px 22px 24px;
  transition:transform var(--dur-base) var(--ease-out),
             box-shadow var(--dur-base) var(--ease-out),
             border-color var(--dur-base);
}
.how-step-card:hover {
  transform:translateY(-4px) scale(1.02);
  box-shadow:var(--shadow-md);
  border-color:var(--magenta-200);
}
.how-step-icon {
  width:48px; height:48px; border-radius:14px;
  background:var(--magenta-100); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.how-step-icon svg { width:22px; height:22px; }
.how-step-num {
  font-size:11.5px; font-weight:700; letter-spacing:0.13em;
  text-transform:uppercase; color:var(--accent); margin-bottom:8px;
}
.how-step-card h3 {
  font-size:18px; font-weight:700; letter-spacing:-0.02em;
  margin:0 0 10px; color:var(--ink);
}
.how-step-card p { font-size:15px; line-height:1.6; color:var(--fg2); margin:0; }

/* Responsive */
@media (max-width:999px) {
  .how-steps-track { display:none; }
  .how-steps-cards { grid-template-columns:repeat(2,1fr) !important; }
}
@media (max-width:599px) {
  .how-steps-cards { grid-template-columns:1fr !important; }
}

/* ---- Why Us: Dark Section mit Portrait -------------------- */
.why-us {
  background:
    radial-gradient(ellipse at 78% 48%, rgba(227,0,135,0.26) 0%, transparent 52%),
    linear-gradient(135deg, #1a1712 0%, #241d30 52%, #321a2c 100%);
  overflow: hidden;
  position: relative;
}
.why-us .wrap-wide { padding-top: 0; padding-bottom: 0; }
.why-us-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 480px;
  align-items: end;
  gap: 0;
}
.why-us-content {
  padding: 88px 48px 80px 0;
}
.why-us-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.034em;
  color: #fff;
  margin: 0 0 22px;
}
.why-us-text {
  font-size: 16px;
  line-height: 1.65;
  color: var(--neutral-300);
  max-width: 50ch;
  margin: 0 0 36px;
}
.why-us-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.why-us-feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 12px;
  padding: 8px 14px 8px 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.why-us-feature-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--magenta-100);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.why-us-feature-icon svg { width: 15px; height: 15px; }
.why-us-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
}
.why-us-photo img {
  display: block;
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(-16px 0 32px rgba(227,0,135,0.18));
}
.why-us-photo-label {
  position: absolute;
  bottom: 24px;
  right: 0;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 16px 8px 14px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
@media (max-width:860px) {
  .why-us-inner { grid-template-columns: 1fr; min-height: 0; }
  .why-us-content { padding: 64px 0 40px; }
  .why-us-photo { min-height: 340px; justify-content: center; }
  .why-us-photo img { max-height: 340px; }
}

/* ── Cookie Consent ─────────────────────────────────────── */
:root {
  --cc-bg: #1a1a1a;
  --cc-primary-color: #fff;
  --cc-secondary-color: rgba(255,255,255,.65);
  --cc-btn-primary-bg: var(--accent, #d4a853);
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-hover-bg: var(--accent, #c49840);
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-color: rgba(255,255,255,.75);
  --cc-btn-secondary-border-color: rgba(255,255,255,.2);
  --cc-btn-secondary-hover-bg: rgba(255,255,255,.08);
  --cc-separator-border-color: rgba(255,255,255,.08);
  --cc-cookie-category-block-bg: rgba(255,255,255,.04);
  --cc-cookie-category-block-border: rgba(255,255,255,.08);
  --cc-footer-bg: rgba(255,255,255,.04);
  --cc-footer-color: rgba(255,255,255,.5);
  --cc-link-color: var(--accent, #d4a853);
  --cc-overlay-bg: rgba(0,0,0,.5);
  --cc-modal-border-radius: 12px;
  --cc-btn-border-radius: 8px;
  --cc-font-family: inherit;
}
#cc-main .cm { box-shadow: 0 -4px 40px rgba(0,0,0,.35); }
#cc-main .cm__title { font-weight: 800; letter-spacing: -0.02em; }

/* ── Legal page ─────────────────────────────────────────── */
.legal-body { color:var(--fg); line-height:1.75; font-size:16px; }
.legal-body h2 { font-size:22px; font-weight:800; letter-spacing:-0.02em; margin:48px 0 16px; padding-top:48px; border-top:1px solid var(--neutral-200,#e5e7eb); }
.legal-body h2:first-child { margin-top:0; padding-top:0; border-top:none; }
.legal-body h3 { font-size:16px; font-weight:700; margin:28px 0 8px; }
.legal-body p { margin:0 0 16px; }
.legal-body ul { margin:0 0 16px; padding-left:20px; }
.legal-body li { margin-bottom:6px; }
.legal-body strong { font-weight:600; }
.legal-body em { color:var(--fg2); font-style:normal; font-size:14px; }

/* ── Radio boxes ─────────────────────────────────────────── */
.radio-box { display:inline-flex; cursor:pointer; }
.radio-box input[type=radio] { position:absolute; opacity:0; width:0; height:0; }
.radio-box span {
  display:inline-block;
  padding:8px 16px;
  border:1.5px solid var(--neutral-200, #e5e7eb);
  border-radius:8px;
  font-size:14px;
  font-weight:500;
  color:var(--fg2);
  background:var(--white,#fff);
  transition:border-color .15s, background .15s, color .15s;
  user-select:none;
}
.radio-box:hover span { border-color:var(--accent); color:var(--ink); }
.radio-box input[type=radio]:checked + span {
  border-color:var(--accent);
  background:var(--accent);
  color:#fff;
}
.field.error .radio-box span { border-color:#e53e3e; }
