/* Herzstickl by Elisa — Basis-Stylesheet (helles Theme)
   Gold #cda951 · Off-White #f7f5f0 */

:root {
  --gold: #cda951;
  --gold-soft: #e0c07f;
  --gold-ink: #977519;
  --bg: #f7f5f0;
  --bg-2: #ffffff;
  --fg: #1a1712;
  --muted: #6b6459;
  --border: rgba(26, 23, 18, 0.12);
  --maxw: 720px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; scroll-behavior: smooth; }
body {
  position: relative; min-height: 100vh; min-height: 100dvh;
  background: var(--bg); color: var(--fg); font-family: var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; display: flex; flex-direction: column;
}
a { color: var(--gold-ink); }
.visually-hidden { position: absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }

/* Animierter Hintergrund */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-fx span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.bg-fx .b1 { width:46vmax; height:46vmax; left:-12vmax; top:-14vmax; background: radial-gradient(circle, rgba(205,169,81,.40), transparent 68%); animation: drift1 26s ease-in-out infinite; }
.bg-fx .b2 { width:40vmax; height:40vmax; right:-14vmax; top:8vmax; background: radial-gradient(circle, rgba(224,192,127,.34), transparent 68%); animation: drift2 32s ease-in-out infinite; }
.bg-fx .b3 { width:52vmax; height:52vmax; left:20vmax; bottom:-24vmax; background: radial-gradient(circle, rgba(205,169,81,.26), transparent 70%); animation: drift3 38s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(8vmax,6vmax)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-7vmax,5vmax)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(5vmax,-6vmax)} }

/* Sprachumschalter */
.langsw { position: fixed; top: 15px; right: 16px; z-index: 5; display: flex; gap: 2px; font-size: .78rem; letter-spacing: .1em; }
.langsw a { padding: 5px 9px; color: var(--muted); text-decoration: none; border-radius: 7px; text-transform: uppercase; }
.langsw a:hover { color: var(--gold-ink); }
.langsw a.active { color: var(--gold-ink); font-weight: 700; background: rgba(151,117,25,.10); }

/* Landing */
.wrap { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 24px 40px; gap: 24px; }

/* Brandmark (Emblem klein, links oben) */
.brandmark { position: fixed; top: 12px; left: 16px; z-index: 5; display: block; width: 84px; opacity: 0; animation: rise .6s ease .2s forwards; }
.brandmark img { width: 100%; height: auto; display: block; transition: transform .25s ease; }
.brandmark:hover img { transform: scale(1.06) rotate(-2deg); }
@media (max-width: 560px) { .brandmark { width: 62px; top: 10px; left: 12px; } }

/* Herz-Logo — Tattoo-Animation:
   1) schwarze Outline stechen  2) schwarze Tinte füllen
   3) Farbe (Gold) zieht ein    4) schweben */
.logo {
  width: clamp(170px, 40vw, 290px); height: auto;
  overflow: visible;
  animation: floaty 6s ease-in-out 5.6s infinite;
}
.logo .ln {
  fill: none; stroke: #1a1712; stroke-width: 1.7; stroke-miterlimit: 10;
  stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.4s cubic-bezier(.45,.05,.35,1) forwards,
             lncolor 1.2s ease 4.1s forwards;
}
.logo .fl {
  fill: #1a1712; opacity: 0;
  animation: ink 1.1s ease forwards,
             flcolor 1.2s ease 4.1s forwards;
}

/* Reihenfolge wie beim Stechen: Outline Herz → Tinte → Strahlen → Farbe */
.logo .ln.h1 { animation-delay: .2s, 4.1s;  animation-duration: 1.7s, 1.2s; }
.logo .ln.h2 { animation-delay: .7s, 4.1s;  animation-duration: 1.7s, 1.2s; }
.logo .fl.h1 { animation-delay: 2s, 4.1s; }
.logo .fl.h2 { animation-delay: 2.2s, 4.1s; }
.logo .ln.r1 { animation-delay: 2.7s, 4.1s;  animation-duration: .5s, 1.2s; }
.logo .ln.r2 { animation-delay: 2.85s, 4.1s; animation-duration: .5s, 1.2s; }
.logo .ln.r3 { animation-delay: 3s, 4.1s;    animation-duration: .5s, 1.2s; }
.logo .ln.r4 { animation-delay: 3.15s, 4.1s; animation-duration: .5s, 1.2s; }
.logo .ln.r5 { animation-delay: 3.3s, 4.1s;  animation-duration: .5s, 1.2s; }
.logo .ln.r6 { animation-delay: 3.45s, 4.1s; animation-duration: .5s, 1.2s; }
.logo .ln.r7 { animation-delay: 3.6s, 4.1s;  animation-duration: .5s, 1.2s; }
.logo .fl.rr { animation-delay: 3.8s, 4.1s;  animation-duration: .7s, 1.2s; }

@keyframes draw   { to { stroke-dashoffset: 0; } }
@keyframes ink    { from { opacity: 0; } to { opacity: 1; } }
@keyframes lncolor{ to { stroke: #cda951; } }
@keyframes flcolor{ to { fill: #cda951; } }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-8px) } }

.tagline { max-width: 44ch; font-size: clamp(.98rem, 2.4vw, 1.12rem); font-weight: 400; line-height: 1.65; color: #40392f; opacity: 0; animation: rise .55s ease .5s forwards; }

/* ---- Ornament-Trenner ---- */
.orn { display: flex; align-items: center; gap: 16px; width: min(340px, 64%); margin-top: 60px; color: var(--gold); font-size: .9rem; }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to var(--d, right), transparent, rgba(151,117,25,.35)); }
.orn::before { --d: right; }
.orn::after { --d: left; }

/* ---- SEO-/Info-Sektionen ---- */
.sect { max-width: 620px; width: 100%; margin-top: 52px; text-align: center; }
.sect h2 { font-size: .82rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); font-weight: 700; margin-bottom: 20px; }
.sect .prose { text-align: left; line-height: 1.8; color: #4a4436; font-size: .97rem; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
@media (max-width: 640px) { .svc { grid-template-columns: 1fr; } }
.svc-card { background: rgba(255,255,255,.55); border: 1px solid rgba(26,23,18,.07); border-radius: 16px; padding: 20px; }
.svc-card h3 { font-size: .95rem; color: var(--gold-ink); margin-bottom: 8px; letter-spacing: .04em; }
.svc-card p { font-size: .88rem; line-height: 1.65; color: #5a5443; }
.byappt { margin-top: 16px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.faq { text-align: left; }
.faq details { background: rgba(255,255,255,.55); border: 1px solid rgba(26,23,18,.07); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; font-size: .94rem; color: var(--fg); list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold-ink); font-size: 1.2rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 18px 16px; line-height: 1.7; color: #55503f; font-size: .92rem; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: 14px 34px; border: 1px solid var(--gold-ink); border-radius: 999px; color: var(--gold-ink); text-decoration: none; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; transition: background .2s,color .2s,transform .2s; opacity: 0; animation: rise .55s ease .64s forwards; margin-top: 4px; }
.cta:hover { background: var(--gold-ink); color: #fff; transform: translateY(-1px); }

/* Standort — eine ruhige Zeile */
.where { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .9rem; color: var(--muted); opacity: 0; animation: rise .55s ease .78s forwards; }
.where .pin { width: 15px; height: 15px; fill: var(--gold); }
.where .wlinks { font-size: .84rem; }
.where .wlinks a { color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid rgba(151,117,25,.35); padding-bottom: 1px; }
.where .wlinks a:hover { border-bottom-color: var(--gold-ink); }

.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 4px; opacity: 0; animation: rise .55s ease .92s forwards; }
.social a { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; color: var(--gold-ink); background: var(--bg-2); transition: background .2s,color .2s,border-color .2s,transform .2s; }
.social a:hover { background: var(--gold-ink); color: #fff; border-color: var(--gold-ink); transform: translateY(-2px); }
.social svg { width: 21px; height: 21px; fill: currentColor; }

@keyframes rise { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* Cookie-Consent */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 520px; margin: 0 auto;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 12px 40px rgba(26,23,18,.14);
}
.consent p { font-size: .88rem; line-height: 1.6; color: #40392f; margin-bottom: 14px; }
.consent a { color: var(--gold-ink); }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.c-btn { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--gold-ink);
  background: var(--gold-ink); color: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.c-btn:hover { background: #7c5f13; }
.c-btn.ghost { background: transparent; color: var(--gold-ink); }
.c-btn.ghost:hover { background: rgba(151,117,25,.08); }

/* Footer */
.site-footer { flex-shrink: 0; padding: 24px 24px 32px; text-align: center; font-size: .82rem; color: var(--muted); border-top: 1px solid var(--border); }
.site-footer a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.site-footer a:hover { color: var(--gold-ink); border-bottom-color: var(--gold-ink); }
.site-footer .dot { margin: 0 8px; opacity: .5; }

/* Rechtstexte */
.legal { flex: 1 0 auto; max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 40px; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); text-decoration: none; margin-bottom: 28px; }
.legal .back:hover { color: var(--gold-ink); }
.legal h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); letter-spacing: .04em; margin-bottom: 6px; }
.legal .lead { color: var(--muted); margin-bottom: 30px; }
.legal h2 { font-size: 1.12rem; margin: 28px 0 10px; color: var(--gold-ink); border-bottom: 1px solid var(--border); padding-bottom: 6px; }
.legal p, .legal li { line-height: 1.7; color: #33302a; }
.legal p { margin-bottom: 12px; }
.legal ul { margin: 0 0 12px 20px; }
.legal address { font-style: normal; line-height: 1.8; }
.legal .muted { color: var(--muted); font-size: .85rem; }

@media (prefers-reduced-motion: reduce) {
  .logo, .logo .ln, .logo .fl, .brandmark, .tagline, .cta, .where, .social, .bg-fx span { animation: none !important; opacity: 1 !important; filter: none !important; transform: none !important; }
  .logo .ln { stroke-dashoffset: 0 !important; stroke: #cda951 !important; }
  .logo .fl { fill: #cda951 !important; }
  html { scroll-behavior: auto; }
}
