/* ─────────────────────────────────────────────
   La Favola – Eiscafé Potsdam
   Anmutung: warmes Papier, handgemacht, italienisch.
   Bewusst FLACH – keine Farbverläufe, keine weichen
   Schatten, kaum Rundungen. Struktur entsteht durch
   feine Linien und Weißraum.
   Schriften systemlokal (kein Google-Fonts-Abruf).
   ───────────────────────────────────────────── */

:root {
  /* Papier & Tinte */
  --paper:      #fbf5ea;
  --paper-2:    #f3e8d5;
  --card:       #fffdf8;
  --ink:        #2f2018;
  --ink-soft:   #6d5749;
  --line:       #dcc7a9;
  --line-soft:  #ebdcc4;

  /* Gedecktes Rosa statt Bonbon-Pink */
  --rose:       #b8456a;
  --rose-deep:  #8d2f4f;
  --rose-soft:  #f2dde2;

  /* Zutaten-Töne */
  --pistachio:  #7d9b6a;
  --ocher:      #c98f3c;
  --tafel:      #2b2320;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* height:auto verhindert Verzerrung, wenn width/height-Attribute gesetzt sind */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); }

/* ── KOPF / NAVIGATION ── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto;
  padding: 0.85rem 6%;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand img { height: 44px; width: auto; }
.brand-text {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--rose-deep); line-height: 1.15;
}
.brand-text small {
  display: block; font-family: var(--sans); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}

nav.main { display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav.main a {
  text-decoration: none; color: var(--ink-soft);
  font-size: 0.95rem; font-weight: 500;
  padding: 0.2rem 0; border-bottom: 2px solid transparent;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
nav.main a:hover { color: var(--rose-deep); }
nav.main a .nav-scoop { display: none; width: 14px; height: 14px; flex-shrink: 0; }
/* Eiskugel markiert die aktuelle Seite */
nav.main a.active { color: var(--rose-deep); font-weight: 700; }
nav.main a.active .nav-scoop { display: inline-block; }

/* ── BAUSTEINE ── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 6%; }
section { padding: 3.8rem 0; }

h1 { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 700; line-height: 1.15; }
h2 { font-family: var(--serif); font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 700; line-height: 1.25; }
h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }

.lead { font-size: 1.05rem; color: var(--ink-soft); }

/* Kleine Kicker nur noch dezent und sparsam eingesetzt */
.eyebrow {
  display: inline-block; font-family: var(--serif); font-style: italic;
  font-size: 1rem; color: var(--rose); margin-bottom: 0.5rem;
}

.btn {
  display: inline-block; background: var(--rose); color: #fff;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.6rem; border: 1px solid var(--rose); border-radius: 2px;
  cursor: pointer;
}
.btn:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.btn.ghost { background: transparent; color: var(--rose-deep); border: 1px solid var(--rose); }
.btn.ghost:hover { background: var(--rose-soft); }

/* „Karte“ = schlichtes Papier mit feiner Linie, kein Schatten */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 2px; }

/* ── STARTSEITE: KOPF ── */
.hero {
  text-align: center;
  padding: 3.5rem 6% 3.8rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.hero-logo { max-width: 260px; margin: 0 auto 1.5rem; }
.hero h1 { margin-bottom: 1rem; }
.hero .lead { max-width: 600px; margin: 0 auto 1.8rem; }
.hero-meta { font-size: 0.9rem; color: var(--ink-soft); margin-top: 1.5rem; }
.hero-meta strong { color: var(--rose-deep); }

/* ── ZWEISPALTER ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4%; align-items: center; }
.split.wide-right { grid-template-columns: 1fr 1.1fr; }
.split-visual { display: flex; justify-content: center; align-items: center; }
.split-visual svg { width: 100%; max-width: 340px; height: auto; }
.split-visual img { border: 1px solid var(--line); border-radius: 2px; }

/* ── SORTEN ── */
.sorten-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4%; align-items: center; }
.sorten-head .duo { display: flex; gap: 1.2rem; justify-content: center; align-items: flex-end; }
.sorten-head .duo svg { width: 100%; max-width: 150px; height: auto; }

.sorten-liste { list-style: none; }
.sorte {
  display: flex; align-items: baseline; gap: 0.9rem;
  padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft);
}
.sorte:last-child { border-bottom: none; }
.sorte-punkt { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; transform: translateY(1px); }
.sorte-name { font-weight: 600; font-size: 1rem; }
.sorte-note { font-size: 0.86rem; color: var(--ink-soft); margin-left: auto; text-align: right; font-style: italic; }

/* ── PREISKARTE als Tafel ── */
.karte {
  padding: 2rem 2.1rem;
  background: var(--tafel); border: 1px solid var(--tafel); border-radius: 2px;
  color: #f4ece0;
}
.karte h3 { color: #f0c3a0; margin-bottom: 0.4rem; font-style: italic; }
.karte-gruppe + .karte-gruppe { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(244,236,224,0.18); }
.karte-zeile { display: flex; align-items: baseline; gap: 0.8rem; padding: 0.35rem 0; font-size: 0.95rem; }
.karte-zeile .pkt { flex: 1; border-bottom: 1px dotted rgba(244,236,224,0.3); transform: translateY(-4px); }
.karte-zeile .preis { font-weight: 700; color: #f0c3a0; white-space: nowrap; }
.karte-hinweis { font-size: 0.82rem; color: rgba(244,236,224,0.65); margin-top: 1.3rem; }
.karte-hinweis strong { color: #f0c3a0; }

/* ── KONTAKT ── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.info-box { padding: 1.5rem 1.6rem; }
.info-box h3 { color: var(--rose-deep); margin-bottom: 0.6rem; font-size: 1.1rem; }
.info-box p, .info-box a { font-size: 0.94rem; color: var(--ink-soft); text-decoration: none; }

.kontakt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.kontakt-info { padding: 2.2rem; display: flex; flex-direction: column; gap: 1.8rem; }
.kontakt-block + .kontakt-block { border-top: 1px solid var(--line-soft); padding-top: 1.8rem; }
.kontakt-block h3 {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 1.05rem; color: var(--rose); margin-bottom: 0.7rem;
}
.kontakt-adresse { font-size: 1rem; line-height: 1.6; }
.kontakt-adresse strong {
  font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
  display: block; margin-bottom: 0.25rem; font-style: normal;
}
.kontakt-block p { font-size: 0.94rem; color: var(--ink-soft); }

.contact-rows { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-row { display: flex; align-items: center; gap: 0.85rem; font-size: 0.94rem; }
.contact-icon {
  width: 34px; height: 34px; color: var(--rose);
  border: 1px solid var(--line); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-row a { color: var(--rose); text-decoration: none; }
.contact-row a:hover { text-decoration: underline; }

.zeiten { display: grid; grid-template-columns: 1fr auto; gap: 0.45rem 1.5rem; font-size: 0.94rem; }
.zeiten .tag { color: var(--ink-soft); }
.zeiten .zeit { text-align: right; }
.zeiten .zu { color: var(--rose-deep); font-style: italic; }

/* Karte: kompakt, läuft beim Scrollen mit */
.kontakt-karte { display: flex; flex-direction: column; gap: 0.7rem; position: sticky; top: 88px; }
.kontakt-karte .map-box { height: 400px; }
.kontakt-karte .karte-fussnote { font-size: 0.85rem; color: var(--ink-soft); text-align: center; }

/* ── KARTEN-EINWILLIGUNG (Klick zum Laden) ── */
.map-box { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; height: 400px; }
.map-box iframe { width: 100%; height: 100%; border: none; display: block; }
.map-consent {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.85rem; text-align: center; padding: 2rem 1.8rem;
  background: var(--paper-2);
}
.map-consent svg { width: 34px; height: 34px; color: var(--rose); }
.map-consent h3 { color: var(--rose-deep); font-size: 1.1rem; font-style: italic; }
.map-consent p { font-size: 0.88rem; color: var(--ink-soft); max-width: 38ch; line-height: 1.6; }
.map-consent .mini { font-size: 0.78rem; }
.map-consent-aktionen { display: flex; flex-direction: column; gap: 0.5rem; align-items: center; }
.map-consent-merken {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; color: var(--ink-soft); cursor: pointer; user-select: none;
}
.map-consent-merken input { accent-color: var(--rose); width: 15px; height: 15px; cursor: pointer; }

/* ── FUSSZEILE ── */
footer.site {
  background: var(--paper-2); color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.8rem; margin-top: 2rem;
}
footer.site .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 4%; }
footer.site h4 { font-family: var(--serif); font-style: italic; font-size: 1.05rem; margin-bottom: 0.9rem; color: var(--rose-deep); }
footer.site p, footer.site a, footer.site span { font-size: 0.88rem; color: var(--ink-soft); text-decoration: none; }
footer.site a:hover { color: var(--rose); text-decoration: underline; }
.foot-zeiten { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; }
.foot-legal {
  grid-column: 1 / -1; margin-top: 2.2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; font-size: 0.83rem;
}
.foot-legal .sep { opacity: 0.4; }
.foot-legal .rechts { margin-left: auto; opacity: 0.7; }

/* ── RECHTSTEXTE ── */
.legal { max-width: 780px; }
.legal h2 { margin-bottom: 1.4rem; }
.legal h3 { color: var(--rose-deep); margin: 1.9rem 0 0.5rem; font-size: 1.02rem; }
.legal p, .legal li { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0.55rem; }
.legal ul { padding-left: 1.3rem; }
.platzhalter {
  background: var(--paper-2); border-left: 3px solid var(--ocher);
  padding: 0.85rem 1.05rem; border-radius: 2px; font-size: 0.88rem; margin: 1rem 0;
}

/* Einblend-Animationen bewusst deaktiviert – wirken schnell nach Baukasten */
.reveal { opacity: 1; transform: none; }

/* ── MOBIL ── */
@media (max-width: 860px) {
  .nav-inner { flex-direction: column; padding: 0.75rem 6%; gap: 0.6rem; }
  nav.main { justify-content: center; gap: 1.1rem; }
  .split, .split.wide-right, .sorten-head, .kontakt-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .split.flip .split-visual { order: -1; }
  .sorten-head .duo { justify-content: flex-start; }
  footer.site .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .foot-legal .rechts { margin-left: 0; width: 100%; }
  section { padding: 2.8rem 0; }
  /* auf dem Handy nicht kleben, sonst verdeckt die Karte den Text */
  .kontakt-karte { position: static; }
  .kontakt-karte .map-box, .map-box { height: 300px; }
}
