/* Gemeinsames Design für Demo- und Vorschau-Websites.
   Farben und Schrift kommen pro Betrieb aus :root (siehe tools/generate.js). */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--heading-font); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
svg { flex-shrink: 0; }
button { font: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--alt { background: var(--alt); }
.section--primary { background: var(--primary); color: var(--primary-ink); }
.kicker { display: inline-block; font-family: "Segoe UI", system-ui, sans-serif; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.kicker--light { color: var(--accent); }
.lead { font-size: 1.15rem; opacity: .8; max-width: 640px; }
.small { font-size: .88rem; opacity: .7; margin-top: 22px; }
.head { max-width: 720px; margin-bottom: 48px; }
.head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--primary); text-decoration: none; }

/* Demo-Hinweis */
.demo-bar { background: #0F2A44; color: #F7F7F4; font-size: .8rem; text-align: center; padding: 7px 12px; position: relative; z-index: 60; }
.demo-bar a { color: #7FE0B0; font-weight: 600; text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 650; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--primary { background: var(--primary); color: var(--primary-ink); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--line { border-color: currentColor; color: inherit; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: box-shadow .25s ease; }
.top.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.08); }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--heading-font); font-weight: 700; font-size: 1.3rem; text-decoration: none; color: var(--primary); }
.brand--light { color: #fff; }
.top__nav { display: flex; align-items: center; gap: 28px; }
.top__nav a:not(.btn) { text-decoration: none; font-size: .96rem; opacity: .75; position: relative; padding: 6px 0; }
.top__nav a:not(.btn):hover, .top__nav a[aria-current] { opacity: 1; }
.top__nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.top__cta { padding: 11px 20px; font-size: .92rem; }
.top__toggle { display: none; background: none; border: 0; color: var(--primary); cursor: pointer; padding: 6px; }

/* Startseiten-Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 18s ease-out forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, color-mix(in srgb, var(--primary) 92%, transparent) 0%, color-mix(in srgb, var(--primary) 70%, transparent) 45%, rgba(0,0,0,.15) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero__content { max-width: 640px; }
.hero h1 { color: #fff; }
.hero__intro { font-size: 1.2rem; opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }
.hero__rating { font-size: .95rem; opacity: .95; }
.hero__rating b, .rating-line b { color: #FFC83D; letter-spacing: 2px; margin-right: 6px; }
@keyframes kenburns { to { transform: scale(1); } }

/* Unterseiten-Hero */
.phero { position: relative; color: #fff; padding: 120px 0 90px; overflow: hidden; }
.phero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, color-mix(in srgb, var(--primary) 88%, transparent), color-mix(in srgb, var(--primary) 60%, transparent)); }
.phero__inner { position: relative; z-index: 2; max-width: 760px; }
.phero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.phero p { font-size: 1.15rem; opacity: .9; }

/* Kennzahlen */
.stats { background: var(--bg); position: relative; z-index: 3; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; transform: translateY(-50%); background: var(--bg); border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,.1); overflow: hidden; }
.stat { padding: 28px 24px; text-align: center; border-right: 1px solid rgba(0,0,0,.06); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--heading-font); font-size: 2.2rem; color: var(--primary); line-height: 1.1; }
.stat span { font-size: .92rem; opacity: .7; }
.stats + .section { padding-top: 40px; }

/* Leistungen (Karten) */
.svcs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1100px) { .svcs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svcs { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; background: var(--bg); border-radius: 18px; overflow: hidden; text-decoration: none; box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 30px rgba(0,0,0,.06); transition: transform .3s ease, box-shadow .3s ease; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,.12); }
.svc__img { aspect-ratio: 4 / 3; overflow: hidden; }
.svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc__img img { transform: scale(1.06); }
.svc__body { padding: 24px; position: relative; flex: 1; display: flex; flex-direction: column; }
.svc__body .svc__icon { margin-top: -52px; border: 4px solid var(--bg); }
.svc__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--primary); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.svc p { opacity: .75; flex: 1; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--primary); }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; counter-reset: s; }
.steps li { background: var(--bg); border-radius: 18px; padding: 30px 26px; position: relative; }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--heading-font); font-size: 2.4rem; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.steps p { opacity: .75; margin: 0; }

/* Bild + Text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__img { position: relative; }
.split__img img { border-radius: 22px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-height: 620px; }
.split__badge { position: absolute; right: -18px; bottom: 34px; background: var(--accent); color: var(--accent-ink); border-radius: 18px; padding: 20px 24px; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.split__badge strong { display: block; font-family: var(--heading-font); font-size: 2rem; line-height: 1; }
.split__badge span { font-size: .88rem; font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.checks svg { color: var(--accent-ink); background: var(--accent); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }

/* Leistungen (Detail) */
.feature { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; margin-bottom: 96px; scroll-margin-top: 110px; }
.feature:last-child { margin-bottom: 0; }
.feature--flip .feature__img { order: 2; }
.feature__img img { border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature__body p { opacity: .8; }

/* Werte */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.value { background: var(--bg); border-radius: 18px; padding: 30px 26px; }
.value p { opacity: .75; margin: 0; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery__item { position: relative; border: 0; padding: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--alt); }
.gallery__item:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item span { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: .82rem; padding: 5px 10px; border-radius: 999px; opacity: 0; transform: translateY(6px); transition: .3s ease; }
.gallery__item:hover span { opacity: 1; transform: none; }
.gallery--teaser { grid-auto-rows: 200px; }
.gallery--teaser .gallery__item:nth-child(2) { grid-column: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 12px; }
.lightbox__close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; line-height: 1; }

/* Preise / Speisekarte */
.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.menu__group { background: var(--bg); border-radius: 18px; padding: 28px 30px; }
.menu__group h3 { color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 10px; }
.menu__item { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed rgba(0,0,0,.14); }
.menu__item:last-child { border-bottom: 0; }
.menu__item span { display: block; font-size: .9rem; opacity: .65; }
.menu__item b { white-space: nowrap; color: var(--primary); }

/* Bewertungen */
.rating-line { font-size: 1.05rem; opacity: .95; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.review { margin: 0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 28px; }
.review__stars { color: #FFC83D; letter-spacing: 3px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.04rem; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }

/* FAQ */
.faq-wrap { max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(0,0,0,.1); }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; font-size: 1.08rem; padding: 22px 40px 22px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.7rem; color: var(--primary); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { opacity: .78; padding-bottom: 22px; margin: 0; }

/* Call-to-Action-Band */
.cta-band { background: var(--accent); color: var(--accent-ink); padding: 72px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .2em; }
.cta-band p { margin: 0; opacity: .85; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--accent { background: var(--primary); color: var(--primary-ink); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.form input, .form textarea, .form select { display: block; width: 100%; margin-top: 6px; padding: 13px 15px; border: 1px solid rgba(0,0,0,.18); border-radius: 12px; font: inherit; font-size: 1rem; font-weight: 400; background: var(--bg); color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--accent); border-color: var(--primary); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; opacity: .8; }
.form .check input { width: auto; margin: 5px 0 0; }
.form__msg { font-size: .9rem; margin-top: 12px; }
.form__msg.is-error { color: #B42318; }
.contact__card { background: var(--alt); border-radius: 22px; padding: 30px; }
.contact__list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list svg { color: var(--primary); margin-top: 2px; }
.contact__list strong { display: block; }
.contact__list a { color: var(--primary); font-weight: 600; text-decoration: none; }
.hours { border-collapse: collapse; }
.hours td { padding: 2px 18px 2px 0; vertical-align: top; }
.map { border-radius: 16px; background: var(--bg); min-height: 260px; display: grid; place-items: center; align-content: center; gap: 10px; text-align: center; padding: 24px; color: var(--primary); overflow: hidden; }
.map p { font-size: .88rem; color: var(--ink); opacity: .7; margin: 0; max-width: 280px; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: 16px; }
.map.is-loaded { padding: 0; }

/* Fußzeile */
.foot { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .94rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
.foot h4 { color: #fff; font-family: "Segoe UI", system-ui, sans-serif; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot a { text-decoration: none; color: rgba(255,255,255,.85); }
.foot a:hover { color: var(--accent); }
.foot .brand { margin-bottom: 12px; }
.foot .hours td { padding-right: 12px; }
.foot__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; padding-bottom: 26px; font-size: .84rem; }

/* Anruf-Leiste (nur Handy) */
.callbar { display: none; }

/* Einblend-Animation */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 980px) {
  .split, .feature, .contact { grid-template-columns: 1fr; gap: 36px; }
  .feature--flip .feature__img { order: 0; }
  .split__img img { aspect-ratio: 4 / 3; }
  .split__badge { right: 16px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); transform: translateY(-30%); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(0,0,0,.06); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .top__toggle { display: block; }
  .top__nav { position: absolute; top: 78px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; box-shadow: 0 20px 30px rgba(0,0,0,.1); display: none; }
  .top__nav.is-open { display: flex; }
  .top__nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.06); }
  .top__nav a[aria-current]::after { display: none; }
  .top__cta { margin-top: 16px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { padding: 0 16px; }
  .section { padding: 68px 0; }
  .hero { min-height: 82vh; }
  .hero__actions .btn { width: 100%; }
  .brand { font-size: 1.08rem; }
  .phero { padding: 84px 0 64px; }
  .stats__grid { transform: translateY(-24px); }
  .stat { padding: 20px 12px; }
  .stat strong { font-size: 1.7rem; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .menu { grid-template-columns: 1fr; }
  .menu__group { padding: 22px 20px; }
  .foot__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-band__actions .btn { width: 100%; }
  .callbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 70; align-items: center; justify-content: center; gap: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 15px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
}

/* Persönliche Vorschau: Bewertung ohne Kundenstimmen, deaktiviertes Formular */
.rating-only { text-align: center; max-width: 720px; margin: 0 auto; }
.rating-only .rating-line { font-size: 1.3rem; margin-bottom: 8px; }
.rating-only__note { opacity: .8; margin-bottom: 26px; }
.preview-note { display: flex; gap: 12px; align-items: flex-start; background: var(--alt); border-radius: 14px; padding: 16px 18px; margin-bottom: 18px; color: var(--primary); }
.preview-note p { margin: 0; color: var(--ink); }
.form--disabled { opacity: .55; pointer-events: none; }
