/* Schriften selbst gehostet (OFL-1.1, siehe fonts/), kein Abruf bei Dritten */
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('fonts/fraunces-latin-wght-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FBF4E6;
  --paper: #F4E7CD;
  --choc: #3B2210;
  --choc-deep: #26150A;
  --logo-brown: #593516;
  --mustard: #DB9C21;
  --mustard-soft: #F3D488;
  --pink: #E0457B;
  --ink: #2A1A0E;
  --muted: #6A5442;
  --line: rgba(59,34,16,0.14);
  --serif: 'Fraunces', Georgia, 'Iowan Old Style', ui-serif, serif;
  --sans: 'Outfit', -apple-system, 'Segoe UI', Roboto, ui-sans-serif, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.04rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* Kursive Hervorhebung mit „Textmarker“ in Senfgelb */
h1 em, h2 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(transparent 62%, var(--mustard-soft) 62%, var(--mustard-soft) 92%, transparent 92%);
  padding: 0 0.08em;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mustard);
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 6vw;
  background: rgba(251,244,230,0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  color: var(--choc);
  gap: 1.5rem;
}

.logo img { height: 38px; width: auto; }

nav.main-nav { display: flex; align-items: center; gap: 2rem; position: relative; }

nav.main-nav .nav-links { display: flex; align-items: center; gap: 2rem; }

nav.main-nav a.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0;
}
nav.main-nav a.nav-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: var(--mustard);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
nav.main-nav a.nav-link:hover::after { transform: scaleX(1); }

.nav-toggle { display: none; }

.nav-burger {
  display: none;
  position: relative;
  width: 26px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--choc);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 8px; }
.nav-burger span:nth-child(3) { top: 16px; }

#nav-toggle:checked ~ nav .nav-burger span:nth-child(1) { top: 8px; transform: rotate(45deg); }
#nav-toggle:checked ~ nav .nav-burger span:nth-child(2) { opacity: 0; }
#nav-toggle:checked ~ nav .nav-burger span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

@media (max-width: 760px) {
  .logo img { height: 30px; }
  nav.main-nav { gap: 1rem; }
  nav.main-nav .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 210px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.5rem 1.4rem;
    box-shadow: 0 20px 40px -16px rgba(38,21,10,0.35);
  }
  nav.main-nav .nav-links a.nav-link {
    width: 100%;
    padding: 0.8rem 0;
  }
  nav.main-nav .nav-links a.nav-link::after { display: none; }
  nav.main-nav .nav-links a.nav-link:not(:last-child) {
    border-bottom: 1px solid var(--line);
  }
  #nav-toggle:checked ~ nav .nav-links { display: flex; }
  .nav-burger { display: flex; }
}

/* ---------- Buttons ---------- */
.cta-btn {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--mustard);
  color: var(--choc-deep);
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--logo-brown);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  display: inline-block;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--logo-brown); }
.cta-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--logo-brown); }
.cta-big { font-size: 1rem; padding: 0.9rem 1.8rem; }

.ghost-btn {
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--choc);
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid var(--choc);
  transition: background 0.2s ease, color 0.2s ease;
}
.ghost-btn:hover { background: var(--choc); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 6vw 6.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 4rem;
  background:
    radial-gradient(circle at 92% 12%, rgba(219,156,33,0.22), transparent 40%),
    radial-gradient(circle at 8% 95%, rgba(224,69,123,0.10), transparent 35%),
    var(--cream);
}

.pill {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--choc);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}

.hero-text h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); color: var(--choc); max-width: 13ch; }
.hero-text p { margin-top: 1.5rem; max-width: 44ch; font-size: 1.15rem; color: var(--muted); }
.hero-actions { margin-top: 2.3rem; display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* Foto als Röhrenfernseher — passend zum Logo */
.hero-visual { position: relative; padding-top: 70px; }

.tv {
  position: relative;
  background: linear-gradient(160deg, #6B4122, var(--logo-brown) 45%, var(--choc));
  border-radius: 38px;
  padding: 20px 20px 0;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,0.15),
    0 40px 70px -30px rgba(38,21,10,0.65);
  transform: rotate(1.5deg);
}
/* Antenne */
.tv::before, .tv::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 3px;
  height: 78px;
  background: var(--choc);
  border-radius: 3px;
  transform-origin: bottom center;
}
.tv::before { transform: translateX(-50%) rotate(-28deg); }
.tv::after  { transform: translateX(-50%) rotate(24deg); height: 66px; }

.tv-screen {
  border-radius: 28px / 34px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  background: #111;
}
.tv-screen img { width: 100%; height: 100%; object-fit: cover; }
/* Glas-Wölbung und dezente Zeilen */
.tv-screen::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.22), transparent 45%),
    radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.35)),
    repeating-linear-gradient(to bottom, rgba(0,0,0,0.05) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.tv-panel { display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: 54px; padding: 0 10px; }
.tv-grill {
  margin-right: auto;
  width: 56px; height: 18px;
  background: repeating-linear-gradient(to right, rgba(251,244,230,0.55) 0 3px, transparent 3px 8px);
  border-radius: 2px;
}
.tv-knob {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--mustard-soft), var(--mustard) 60%, #A36F10);
  box-shadow: 0 2px 4px rgba(0,0,0,0.35);
  position: relative;
}
.tv-knob::after {
  content: ""; position: absolute; left: 50%; top: 4px;
  width: 3px; height: 9px; margin-left: -1.5px;
  background: var(--choc); border-radius: 2px;
}
.tv-knob:last-child::after { transform: rotate(50deg); transform-origin: 50% 9px; }

.sticker {
  position: absolute;
  left: -28px;
  bottom: -34px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transform: rotate(-12deg);
  box-shadow: 0 14px 30px -10px rgba(224,69,123,0.6);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1.25;
}
.sticker strong {
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 1.15rem; letter-spacing: 0; text-transform: none; margin: 0.15rem 0;
}

/* ---------- Laufband ---------- */
.ticker-wrap { overflow: hidden; margin: -2.5rem 0 0; padding: 1rem 0; position: relative; z-index: 2; }
.ticker {
  background: var(--mustard);
  color: var(--choc-deep);
  overflow: hidden;
  border-block: 2px solid var(--choc);
  transform: rotate(-1deg);
  margin: 0 -2%;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker-track span {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  padding: 0.75rem 1.4rem;
  white-space: nowrap;
  display: flex; align-items: center; gap: 2.8rem;
}
.ticker-track span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--choc); opacity: 0.55; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Section shared ---------- */
section { padding: 6rem 6vw; }
.section-head { max-width: 52ch; margin-bottom: 3rem; }
.section-head .eyebrow { margin-bottom: 0.9rem; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--choc); }

/* Sanftes Einblenden (nur mit JavaScript, sonst sofort sichtbar) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Über uns ---------- */
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4.5rem;
  align-items: center;
}
.about .section-head { margin-bottom: 1.5rem; }

.about-photo {
  position: relative;
  aspect-ratio: 1;
}
.about-photo::before {
  content: "";
  position: absolute; inset: 0;
  transform: translate(18px, 18px);
  background: var(--mustard);
  border-radius: 30px;
}
.about-photo img {
  position: relative;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  border-radius: 30px;
  border: 3px solid var(--choc);
}

.about p { margin-top: 1rem; max-width: 56ch; color: var(--muted); }

.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.facts li {
  flex: 1 1 140px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  display: flex; flex-direction: column;
}
.facts strong { font-family: var(--serif); font-size: 1.8rem; color: var(--choc); line-height: 1.1; }
.facts span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Leistungen ---------- */
.services {
  background: var(--choc);
  color: var(--cream);
  border-radius: 48px 48px 0 0;
  margin-top: 2rem;
}
.services .section-head h2 { color: var(--cream); }
.services h2 em, .gallery h2 em { color: var(--mustard); background: none; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.service-card {
  background: rgba(251,244,230,0.05);
  border: 1px solid rgba(251,244,230,0.14);
  border-radius: 24px;
  padding: 1.8rem 1.7rem 1.4rem;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); background: rgba(251,244,230,0.09); border-color: var(--mustard); }
.js .service-card.reveal.visible:hover { transform: translateY(-4px); }

.channel {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--choc-deep); background: var(--mustard);
  padding: 0.2rem 0.6rem; border-radius: 6px;
  margin-bottom: 0.9rem;
}
.service-card h3 { font-size: 1.55rem; margin-bottom: 0.9rem; color: var(--cream); }
.service-card ul { list-style: none; }
.service-card li {
  display: flex; align-items: baseline; gap: 0.6rem;
  padding: 0.55rem 0;
  font-size: 0.95rem;
  color: rgba(251,244,230,0.85);
}
.service-card li .price {
  margin-left: auto;
  padding-left: 0.6rem;
  font-weight: 600; color: var(--mustard); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.service-card li:not(:last-child) { border-bottom: 1px dashed rgba(251,244,230,0.16); }
.price-note { margin-top: 2.2rem; font-size: 0.88rem; color: rgba(251,244,230,0.6); }

/* ---------- Galerie ---------- */
.gallery { background: var(--choc); color: var(--cream); padding-top: 2rem; }
.gallery .section-head h2 { color: var(--cream); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
}
.gallery-item { border-radius: 26px; overflow: hidden; position: relative; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--cream); color: var(--choc);
  font-size: 0.85rem; font-weight: 500;
  padding: 0.45rem 0.9rem; border-radius: 999px;
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  background: var(--cream);
  position: relative;
}
.contact::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 48px;
  background: var(--choc);
  border-radius: 0 0 48px 48px;
}
.contact > * { position: relative; }
.contact { padding-top: 7.5rem; }
.contact .section-head { margin-bottom: 0; }

.hours-callout {
  display: flex; align-items: center; gap: 0.7rem;
  margin-top: 1.6rem; padding: 1rem 1.3rem;
  background: var(--mustard); color: var(--choc-deep);
  border: 2px solid var(--choc);
  border-radius: 16px; box-shadow: 4px 4px 0 var(--choc);
  font-size: 1.15rem; font-weight: 700;
}
.hours-callout svg { flex-shrink: 0; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 1.6rem; }
.hours-table td { padding: 0.65rem 0.8rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.hours-table tr.today td { background: var(--paper); font-weight: 600; color: var(--choc); }
.hours-table tr.today td:first-child { border-radius: 10px 0 0 10px; }
.hours-table tr.today td:last-child { border-radius: 0 10px 10px 0; }
.hours-table tr.today td:first-child::after {
  content: "heute";
  margin-left: 0.6rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--pink); color: #fff;
  padding: 0.15rem 0.5rem; border-radius: 999px;
  vertical-align: 2px;
}

.contact-card {
  background: var(--choc); color: var(--cream); border-radius: 32px;
  padding: 2.6rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  box-shadow: 0 30px 60px -30px rgba(38,21,10,0.6);
}
.contact-card .eyebrow { margin-bottom: 1rem; }
.contact-card address { font-style: normal; font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.4rem; }
.contact-card address strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; display: inline-block; margin-bottom: 0.3rem; }
.contact-lines { list-style: none; }
.contact-lines li {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 0.6rem 0; border-top: 1px solid rgba(251,244,230,0.14);
}
.contact-lines span { color: rgba(251,244,230,0.6); font-size: 0.9rem; }
.contact-lines a { text-decoration: none; font-weight: 500; }
.contact-lines a:hover { color: var(--mustard); }
.contact-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.contact-actions .cta-btn { box-shadow: 0 3px 0 var(--choc-deep); }
.contact-actions .secondary-btn {
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--cream);
  border: 1.5px solid rgba(251,244,230,0.4); padding: 0.6rem 1.2rem; border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-actions .secondary-btn:hover { border-color: var(--mustard); color: var(--mustard); }

/* ---------- Footer ---------- */
footer {
  padding: 2.4rem 6vw;
  background: var(--choc-deep);
  color: rgba(251,244,230,0.6);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
footer a { text-decoration: none; }
footer a:hover { color: var(--mustard); }
footer .foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 4rem 6vw 5rem; }
.legal .legal-body { max-width: 72ch; margin: 0 auto; }
.legal h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); margin-bottom: 1.2rem; color: var(--choc); }
.legal .back-link {
  display: inline-block; margin-bottom: 2.5rem;
  font-size: 0.92rem; font-weight: 500; text-decoration: none; color: var(--muted);
}
.legal .back-link:hover { color: var(--choc); }
.legal h2 { font-size: 1.4rem; margin: 2.4rem 0 0.8rem; color: var(--choc); }
.legal h3 { font-size: 1.12rem; margin: 1.5rem 0 0.5rem; color: var(--choc); }
.legal p, .legal li { margin-bottom: 0.9rem; color: var(--muted); font-size: 0.98rem; }
.legal ul, .legal ol { padding-left: 1.4rem; margin-bottom: 0.9rem; }
.legal address { font-style: normal; margin-bottom: 1.2rem; line-height: 1.7; }
.legal a { color: var(--choc); text-decoration-color: var(--mustard); text-underline-offset: 3px; }
.legal .intro-note {
  background: var(--paper); border-radius: 14px; padding: 1rem 1.3rem;
  font-size: 0.88rem; margin-bottom: 2.5rem; border: 1px solid var(--line);
}

/* ---------- Responsiv ---------- */
@media (max-width: 900px) {
  .hero, .about, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; gap: 2.5rem; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .about-photo { max-width: 340px; width: calc(100% - 18px); margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about, .contact { gap: 3rem; }
}

@media (max-width: 560px) {
  section { padding: 4.5rem 1.2rem; }
  header { padding: 0.75rem 1.2rem; }
  .hero { padding: 2.5rem 1.2rem 5rem; }
  .tv { border-radius: 28px; padding: 13px 13px 0; }
  .tv-screen { border-radius: 20px / 24px; }
  .tv-panel { height: 42px; }
  .tv-knob { width: 20px; height: 20px; }
  .sticker { width: 104px; height: 104px; left: -6px; bottom: -40px; font-size: 0.62rem; }
  .sticker strong { font-size: 0.95rem; }
  .services { border-radius: 32px 32px 0 0; }
  .contact::before { border-radius: 0 0 32px 32px; height: 32px; }
  .contact { padding-top: 5.5rem; }
  .contact-card { padding: 1.8rem; border-radius: 24px; }
  .service-card { padding: 1.5rem 1.3rem 1.1rem; }
  footer { padding: 2rem 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-item img, .service-card, .cta-btn { transition: none; }
}
