/* Eis am Eck – Farben nach Sorten, nicht nach Vorlage */
:root {
  --pistazie: #e4ead2;
  --pistazie-dunkel: #cdd6b4;
  --kirsche: #8c1c2e;
  --kirsche-hell: #a8293f;
  --zitrone: #f2cf4a;
  --schoko: #2a1812;
  --schoko-weich: #5a4238;
  --fior: #fffdf6;

  --font-schild: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-text: "Gelasio", Georgia, "Times New Roman", serif;

  --rand: clamp(16px, 5vw, 64px);
  --mass: 38rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--pistazie);
  color: var(--schoko);
  font-family: var(--font-text);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-schild);
  font-weight: 400;
  line-height: 0.95;
  margin: 0;
}

p { margin: 0 0 1em; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--kirsche);
  outline-offset: 3px;
}

/* ---------- Links: unterstrichen wie mit Textmarker, keine Knöpfe ---------- */

.text-link,
.visit-address a,
.visit-phone a {
  text-decoration: underline;
  text-decoration-color: var(--zitrone);
  text-decoration-thickness: 0.22em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

.text-link:hover,
.visit-address a:hover,
.visit-phone a:hover { text-decoration-color: var(--kirsche); }

.text-link { font-weight: 600; }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  padding: 1.25rem var(--rand) 4rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 2rem;
}

.status {
  margin: 0;
  justify-self: start;
  font-size: 0.95rem;
  padding: 0.3rem 0.85rem 0.3rem 0.7rem;
  background: var(--fior);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.status::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--schoko-weich);
}

.status.is-open::before { background: #3f8a3a; }

.hero-name {
  align-self: center;
  color: var(--kirsche);
  font-size: clamp(5rem, 22vw, 17rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  /* leicht schief, wie ein von Hand gemaltes Schild */
  transform: rotate(-3deg);
  transform-origin: left center;
  margin-left: -0.04em;
}

.hero-body {
  display: grid;
  gap: 0.5rem;
  max-width: 44rem;
  justify-self: end;
}

.hero-quote { margin: 0; }

.hero-quote p {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.hero-quote footer,
.voice figcaption,
.sugar-quote footer {
  font-size: 0.95rem;
  color: var(--schoko-weich);
}

.rating {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
}

.hero-links {
  margin: 1.5rem 0 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  line-height: 1.8;
}

.hero-links-or {
  font-style: italic;
  color: var(--schoko-weich);
  margin: 0 0.35em;
}

.rating-stars {
  color: var(--kirsche);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

/* ---------- Stimmen (Herzstück) ---------- */

.voices {
  padding: 4rem var(--rand) 6rem;
  border-top: 2px solid var(--schoko);
}

.voice {
  margin: 0;
  min-height: 70svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 62rem;
}

.voice blockquote { margin: 0; }

.voice blockquote p {
  font-size: clamp(1.9rem, 5.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.voice blockquote p::before { content: "„"; }
.voice blockquote p::after { content: "“"; }

.voice-xl blockquote p {
  font-family: var(--font-schild);
  color: var(--kirsche);
  font-size: clamp(2.6rem, 9vw, 7.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

/* Die Schildschrift hat schwache Anführungszeichen – die kommen aus der Textschrift */
.voice-xl blockquote p::before,
.voice-xl blockquote p::after { font-family: var(--font-text); font-weight: 600; }

.voice-small blockquote p { font-size: clamp(1.6rem, 3.6vw, 2.6rem); font-style: italic; }

.voice-right { margin-left: auto; text-align: right; }

.voices-source {
  font-size: 0.9rem;
  color: var(--schoko-weich);
  margin: 2rem 0 0;
}

/* Foto-Platzhalter: wie ein aufgeklebtes Polaroid, das noch fehlt */
.photo { margin: 0 0 4rem; }

.photo-frame {
  aspect-ratio: 4 / 3;
  width: min(100%, 26rem);
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(42, 24, 18, 0.06) 14px 16px),
    var(--fior);
  border: 2px dashed var(--schoko-weich);
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  font-style: italic;
  color: var(--schoko-weich);
  box-shadow: 0 0 0 10px var(--fior);
}

.photo-frame-tall { aspect-ratio: 3 / 4; width: min(100%, 20rem); }
.photo-frame-wide { aspect-ratio: 16 / 9; width: 100%; }

.photo-right .photo-frame { margin-left: auto; transform: rotate(2.5deg); }
.photo-left .photo-frame { transform: rotate(-2deg); }

/* Einblenden nur, wenn JS läuft – ohne JS ist alles sichtbar */
.js .reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Weniger Zucker ---------- */

.sugar {
  background: var(--zitrone);
  padding: 5rem var(--rand);
}

.sugar-inner {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
}

.sugar h2 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  max-width: 12ch;
}

.sugar-text { max-width: var(--mass); }

.sugar-quote {
  margin: 0;
  max-width: 24rem;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.4;
}

.sugar-quote p { margin-bottom: 0.4rem; }

/* ---------- Tafel ---------- */

.board {
  padding: 5rem var(--rand);
}

.board-inner {
  background: var(--schoko);
  color: var(--fior);
  padding: clamp(2rem, 6vw, 4.5rem);
  border-radius: 6px;
  border: 10px solid #6b4a32;
  max-width: 60rem;
  margin: 0 auto;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}

.board h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--zitrone);
  margin-bottom: 1rem;
}

.board-note,
.board-foot {
  max-width: var(--mass);
  color: #e6dccf;
}

.board-foot { margin: 2rem 0 0; font-style: italic; }

.flavours {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  columns: 2 18rem;
  column-gap: 3rem;
}

.flavours li {
  break-inside: avoid;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(255, 253, 246, 0.25);
}

.flavour-name {
  font-family: var(--font-schild);
  font-size: 1.6rem;
  line-height: 1.1;
  display: block;
}

.flavour-note {
  font-style: italic;
  color: #cbbfae;
  font-size: 1rem;
}

/* ---------- Kaffee ---------- */

.coffee {
  padding: 3rem var(--rand) 5rem;
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
}

.coffee h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: var(--kirsche);
}

.coffee > p { max-width: var(--mass); }

.photo-inline { margin: 1rem 0 0; max-width: 40rem; }
.photo-inline .photo-frame { transform: rotate(-1deg); }

/* ---------- Besuch ---------- */

.visit {
  padding: 5rem var(--rand) 6rem;
  border-top: 2px solid var(--schoko);
  display: grid;
  gap: 4rem;
  align-items: center;
  max-width: 76rem;
}

.visit h2 {
  font-size: clamp(2.6rem, 8vw, 6rem);
  color: var(--kirsche);
  margin-bottom: 1.5rem;
}

.visit-text { max-width: 30rem; }

.visit-address {
  font-style: normal;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  line-height: 1.3;
  margin-top: 2rem;
}

.visit-small {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--schoko-weich);
  margin-top: 0.6rem;
}

.visit-phone { margin: 2rem 0 0; }

.visit-phone a {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 600;
}

/* Emailleschild an der Kiosktür */
.door-sign {
  justify-self: center;
  width: min(100%, 22rem);
  padding: 2.4rem 1.5rem 2rem;
  text-align: center;
  background:
    radial-gradient(circle at 14px 14px, #8a8170 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 14px) 14px, #8a8170 0 4px, transparent 5px),
    radial-gradient(circle at 14px calc(100% - 14px), #8a8170 0 4px, transparent 5px),
    radial-gradient(circle at calc(100% - 14px) calc(100% - 14px), #8a8170 0 4px, transparent 5px),
    var(--fior);
  border: 3px solid var(--schoko);
  outline: 2px solid var(--schoko);
  outline-offset: -12px;
  border-radius: 10px;
  transform: rotate(2deg);
  box-shadow: 4px 6px 0 rgba(42, 24, 18, 0.18);
}

.door-sign p { margin: 0; }

.door-sign-title {
  font-family: var(--font-schild);
  font-size: 2.6rem;
  color: var(--kirsche);
  line-height: 1;
}

.door-sign-days {
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 0.6rem;
}

.door-sign-hours {
  font-family: var(--font-schild);
  font-size: clamp(2.8rem, 9vw, 3.6rem);
  line-height: 1.1;
  margin-top: 0.2rem;
}

.door-sign-dash { font-family: var(--font-text); }

.door-sign-note {
  font-size: 0.95rem;
  color: var(--schoko-weich);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(42, 24, 18, 0.25);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--schoko);
  color: #e6dccf;
  padding: 3rem var(--rand) 3.5rem;
  font-size: 0.95rem;
}

.footer-bye {
  font-family: var(--font-schild);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.05;
  color: var(--zitrone);
  margin-bottom: 1.25rem;
}

.footer-links { margin: 0; max-width: var(--mass); }

.footer-links a { color: var(--fior); text-underline-offset: 0.15em; }

.site-footer :focus-visible { outline-color: var(--zitrone); }

/* ---------- Rechtliches ---------- */

.legal {
  padding: 2rem var(--rand) 5rem;
  max-width: calc(var(--mass) + 2 * var(--rand));
}

.legal h1 {
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  color: var(--kirsche);
  margin: 2rem 0 1.5rem;
}

.legal h2 { font-size: 1.5rem; margin: 2rem 0 0.6rem; }

.legal-todo {
  background: var(--zitrone);
  padding: 0.8rem 1rem;
  font-style: italic;
}

.legal mark { background: var(--fior); padding: 0 0.2em; }

/* ---------- Größere Bildschirme ---------- */

@media (min-width: 800px) {
  .sugar-inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }
  .sugar-quote { grid-column: 2; }

  .visit { grid-template-columns: 1.3fr 1fr; }

  .voice-right { padding-left: 10%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
