:root {
  --cream: #FAF7F2;
  --sand: #F0E8DA;
  --sand-deep: #DACCB3;
  --gold: #B59F74;
  --sage-light: #D1E8E0;
  --sage: #809A91;
  --sage-deep: #4E6660;
  --ink: #2F3A37;
  --muted: #6B7774;
  --line: rgba(78, 102, 96, .18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
  --radius: 18px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 300 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
h1 em { font-style: italic; color: var(--sage-deep); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
small { font-size: .78em; color: var(--muted); display: block; font-weight: 300; }

.eyebrow {
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: .9rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.8em; border-radius: 999px; border: 1px solid var(--sage-deep);
  background: var(--sage-deep); color: #fff; text-decoration: none;
  font: 400 .95rem var(--sans); letter-spacing: .04em; cursor: pointer;
  transition: background .25s, color .25s, transform .25s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--sage-deep); }
.btn--ghost:hover { background: var(--sage-deep); color: #fff; }
.btn--small { padding: .6em 1.3em; font-size: .85rem; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: .6rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: block; line-height: 0; }
.nav__logo .wt-logo, .nav__logo img { display: block; width: 210px; aspect-ratio: 583 / 256; height: auto; }
.wt-logo svg { width: 100%; height: 100%; display: block; }
.footer__logo { display: inline-block; margin-bottom: 1.4rem; }
.footer__logo .wt-logo, .footer__logo img { display: block; width: 240px; aspect-ratio: 583 / 256; height: auto; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) {
  color: var(--ink); text-decoration: none; font-size: .95rem; position: relative;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px;
  background: var(--gold); transition: width .3s;
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav__toggle span { display: block; height: 1.5px; background: var(--ink); margin: 7px 8px; transition: transform .3s; }

/* HERO */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.5rem 3rem;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 4rem; align-items: center;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1rem; }
.hero__note { font-size: .9rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__arch {
  border-radius: 400px 400px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; background: var(--sand);
  box-shadow: 0 30px 60px -30px rgba(47, 58, 55, .35);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::before {
  content: ""; position: absolute; inset: -22px 22px 22px -22px;
  border: 1px solid var(--gold); border-radius: 400px 400px var(--radius) var(--radius); z-index: -1;
}
.hero__badge {
  position: absolute; left: -2rem; bottom: 2.5rem;
  background: var(--cream); border-radius: var(--radius); padding: 1rem 1.3rem;
  display: flex; align-items: center; gap: .8rem; font-size: .85rem; line-height: 1.3;
  box-shadow: 0 15px 40px -15px rgba(47, 58, 55, .3);
}
.hero__badge-num { font: 500 2.6rem/1 var(--serif); color: var(--sage-deep); }

/* USPs */
.usps {
  max-width: var(--max); margin: 0 auto 2rem; padding: 2.5rem 1.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.usp svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.3; margin-bottom: .6rem; }
.usp h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.usp p { color: var(--muted); font-size: .95rem; margin: 0; }

/* SECTIONS */
.section { padding: 6rem 1.5rem; }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage-light); }
.section__head { text-align: center; max-width: 620px; margin-bottom: 3rem; }
.section__head p:last-child { color: var(--muted); }

/* TABS */
.tabs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.tab {
  border: 1px solid var(--line); background: transparent; color: var(--ink);
  padding: .55em 1.4em; border-radius: 999px; font: 400 .9rem var(--sans); cursor: pointer;
  transition: all .2s;
}
.tab.is-active, .tab:hover { background: var(--sage-deep); color: #fff; border-color: var(--sage-deep); }

/* SERVICES */
.services { display: grid; grid-template-columns: repeat(calc(var(--cols, 3) * 2), minmax(0, 1fr)); gap: 1.8rem; }
.services > .service { grid-column: span 2; }
/* Restzeile ausgleichen (per JS gesetzt): zwei Kacheln teilen sich die Zeile, eine einzelne wird zur Querkachel */
.services > .service--half { grid-column: span 3; }
.services > .service--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.service--wide .service__img { aspect-ratio: auto; height: 100%; min-height: 300px; }
.service--wide .service__body { padding: 2.4rem 2.6rem; justify-content: center; }
.service--wide .service__body h3 { font-size: 2rem; }
.service--wide .service__desc { flex: 0 0 auto; font-size: 1rem; max-width: 46ch; margin-bottom: 1.4rem; }
.service {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line), 0 20px 40px -32px rgba(47, 58, 55, .4);
  transition: transform .35s, box-shadow .35s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 30px 50px -30px rgba(47, 58, 55, .45); }
.service__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand); }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.service:hover .service__img img { transform: scale(1.04); }
.service__img--empty { display: grid; place-items: center; color: var(--gold); font: italic 1.4rem var(--serif); }
.service__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.service__cat { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.service__body h3 { margin-bottom: .5rem; }
.service__desc { color: var(--muted); font-size: .93rem; flex: 1; }
.service__meta {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .5rem;
}
.service__facts { font-size: .9rem; color: var(--muted); }
.service__price { font: 500 1.6rem var(--serif); color: var(--ink); margin-right: .6rem; }
.service__more { margin: .2rem 0 .8rem; font-size: .9rem; }
.service__more summary { cursor: pointer; list-style: none; color: var(--sage-deep); font-weight: 400; display: inline-flex; align-items: center; gap: .4rem; }
.service__more summary::-webkit-details-marker { display: none; }
.service__more summary::after { content: "+"; font-size: 1.1rem; line-height: 1; transition: transform .25s; color: var(--gold); }
.service__more[open] summary::after { transform: rotate(45deg); }
.service__more-body { padding-top: .7rem; color: var(--muted); }
.service__more-body p { margin: 0 0 .7rem; }
.service__label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem !important; }
.service__suited { margin: 0 0 .8rem; padding-left: 1.1rem; }
.service__suited li { margin: .15rem 0; }
.service__lines { list-style: none; margin: 0 0 .6rem; padding: 0; }
.service__lines li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed var(--line); }
.service__lines li span:last-child { white-space: nowrap; color: var(--sage-deep); }
.service__note { font-style: italic; font-size: .85rem; }
.service__from { display: inline; font-family: var(--sans); font-size: .8rem; margin-right: .3rem; color: var(--muted); }
.services__hint { text-align: center; color: var(--muted); font-size: .95rem; margin-top: 2.5rem !important; max-width: 560px; }

/* PRICES */
.prices { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.price-card { background: var(--cream); border-radius: var(--radius); padding: 2rem; }
.price-card h3 { border-bottom: 1px solid var(--sand-deep); padding-bottom: .7rem; margin-bottom: 1rem; }
.price-card h3 small { display: inline; font-family: var(--sans); font-size: .8rem; margin-left: .3rem; }
.price-card ul { list-style: none; padding: 0; margin: 0; }
.price-card li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .95rem; }
.price-card li span:last-child { white-space: nowrap; font-weight: 400; color: var(--sage-deep); }

/* GALLERY */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.gallery img:nth-child(1) { grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ABOUT */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: center; }
.about__img img { border-radius: 300px 300px var(--radius) var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.signature { font: italic 1.8rem var(--serif); color: var(--sage-deep); margin-top: 1.5rem; }

/* CONTACT */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; }
.contact dl { margin: 2rem 0 0; display: grid; grid-template-columns: 90px 1fr; gap: 1rem 1.2rem; }
.contact dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding-top: .25rem; }
.contact dd { margin: 0; }
.contact dd a { text-decoration: none; }
.contact__form { background: #fff; border-radius: var(--radius); padding: 2.5rem; box-shadow: 0 20px 40px -32px rgba(47, 58, 55, .4); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .85rem; margin-bottom: .35rem; }
.field label small { display: inline; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); background: var(--cream); border-radius: 10px;
  padding: .8em 1em; font: 300 1rem var(--sans); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.form-consent { font-size: .8rem; color: var(--muted); margin: -.2rem 0 1.2rem; }
.form-consent a { color: var(--sage-deep); }
.form-ok { color: var(--sage-deep); margin-top: 1rem; }

/* FOOTER */
.footer { position: relative; z-index: 2; background: var(--sand); color: var(--muted); padding: 4rem 1.5rem 3rem; text-align: center; font-size: .9rem; border-top: 1px solid var(--line); }
.footer a { color: var(--sage-deep); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer__credit { font-size: .8rem; opacity: .7; margin-top: 1rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav__logo .wt-logo, .nav__logo img { width: 160px; }
  .hero, .about, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding-top: 2.5rem; }
  .hero__media { max-width: 440px; margin: 0 auto; }
  .hero__badge { left: 0; }
  .usps { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery img:nth-child(1) { grid-row: auto; aspect-ratio: 1; }
  .section { padding: 4rem 1rem; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 1.2rem;
    background: var(--cream); padding: 2rem; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .prices { grid-template-columns: 1fr; }
  .contact__form { padding: 1.5rem; }
}

/* Rechtliche Unterseiten */
.legal { max-width: 760px; margin: 0 auto; padding: 5rem 1.5rem 4rem; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; margin: 2.4rem 0 .7rem; }
.legal p { color: var(--muted); }
.legal a { text-decoration: none; border-bottom: 1px solid var(--line); }
.legal__back { margin-top: 3rem; }
.nav__links--static { position: static !important; transform: none !important; flex-direction: row !important; padding: 0 !important; background: none !important; border: 0 !important; z-index: auto !important; gap: 1.4rem !important; }
@media (max-width: 900px) { .nav__links--static a:not(.btn) { display: none; } }

/* Kleines Gimmick: ab und zu funkelt das Lächeln (Position = Schneidezahn im Porträt) */
.about__img { position: relative; }
.sparkle {
  position: absolute; left: 54.4%; top: 38.05%; width: clamp(12px, 3.2%, 21px); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0); pointer-events: none; opacity: 0;
}
.sparkle::before, .sparkle::after {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%;
  background: linear-gradient(90deg, transparent, #fff 45%, #fff 55%, transparent);
  width: 100%; height: 9%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 2px rgba(255,255,255,.95));
}
.sparkle::after { transform: translate(-50%, -50%) rotate(90deg); }
.sparkle.is-on { animation: sparkle-twinkle .75s cubic-bezier(.3,.7,.3,1); }
.sparkle.is-on { background: radial-gradient(circle, rgba(255,255,255,.95) 0 9%, rgba(255,255,255,.35) 18%, transparent 42%); border-radius: 50%; }
@keyframes sparkle-twinkle {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
  35%  { opacity: .75; transform: translate(-50%, -50%) scale(1) rotate(35deg); }
  60%  { opacity: .6; transform: translate(-50%, -50%) scale(.75) rotate(55deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) { .sparkle { display: none; } }

/* „Mit ♥ gemacht von“ – Agentur-Badge (wie bei XXL-Charter / Fahrschule Schenk), helle Variante */
.ymc { display: flex; justify-content: center; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.ym { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 15px; border-radius: 999px;
  border: 1px solid rgba(78,102,96,.22); background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.35));
  color: var(--muted) !important; font-size: 12.5px; line-height: 1; text-decoration: none; overflow: hidden;
  transition: border-color .35s, color .35s, transform .35s; }
.ym i { font-style: normal; color: #e8322a; display: inline-block; animation: ymBeat 2.6s ease-in-out infinite; }
.ym b { font-weight: 600; font-size: 13px; letter-spacing: .01em; color: var(--ink); }
.ym .ar { color: var(--gold); font-size: 13px; transition: transform .35s; }
.ym::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 28%, rgba(181,159,116,.38) 44%, rgba(255,250,235,.95) 50%, rgba(181,159,116,.38) 56%, transparent 72%);
  transform: translateX(-100%); transition: transform .9s; pointer-events: none; }
.ym:hover, .ym:focus-visible { border-color: rgba(181,159,116,.7); color: var(--ink) !important; transform: translateY(-1px); }
.ym:hover::after { transform: translateX(100%); }
.ym:hover .ar { transform: translate(2px, -2px); }
.ym, .ym * { text-decoration: none !important; }
.ym > * { flex: none; white-space: nowrap; }
@media (max-width: 420px) { .ym { gap: 7px; padding: 8px 13px 8px 12px; font-size: 11.5px; } .ym b { font-size: 12px; } }
@keyframes ymBeat { 0%, 70%, 100% { transform: scale(1); } 76% { transform: scale(1.25); } 82% { transform: scale(1); } 88% { transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .ym i { animation: none; } .ym::after { display: none; } }

/* Kontaktformular (Wix Forms) */
.contact__loading { color: var(--muted); }
.field__err { color: #a3402f; font-size: .82rem; margin: .3rem 0 0; min-height: 0; }
.field__err:empty { display: none; }
.field [aria-invalid="true"] { border-color: #c98a7c; }
.form-done { text-align: center; padding: 2rem 1rem; }
.form-done p { color: var(--ink); }
.contact__form .bk__error { color: #a3402f; font-size: .9rem; min-height: 1em; }
.form-done .bk__done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--sage-light); color: var(--sage-deep); display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 1.2rem; }

/* ---------- Cookie-Hinweis (eigener) ---------- */
.consent-banner-root, [data-hook="consent-banner-root"], [data-hook="ccsu-banner-wrapper"] { display: none !important; }
.wtc { position: fixed; left: 20px; bottom: 20px; z-index: 9999; width: min(420px, calc(100vw - 32px));
  background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px -28px rgba(47,58,55,.45); padding: 1.4rem 1.4rem 1.2rem;
  font: 300 .9rem/1.55 var(--sans); opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.wtc.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wtc__title { font: 500 1.35rem/1.2 var(--serif); margin: 0 0 .5rem; color: var(--sage-deep); }
.wtc__text { margin: 0 0 1rem; color: var(--muted); }
.wtc__text a { color: var(--sage-deep); }
.wtc__opts { display: grid; gap: .55rem; margin: 0 0 1rem; padding: .8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wtc__opts[hidden] { display: none; }
.wtc__opt { display: grid; grid-template-columns: auto 1fr; gap: .65rem; align-items: start; cursor: pointer; font-size: .84rem; color: var(--muted); }
.wtc__opt b { display: block; font-weight: 500; color: var(--ink); }
.wtc__opt input { margin-top: .25rem; width: 16px; height: 16px; accent-color: var(--sage-deep); }
.wtc__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.wtc__btn { flex: 1 1 auto; border: 1px solid var(--sage-deep); background: transparent; color: var(--sage-deep);
  border-radius: 999px; padding: .62em 1.1em; font: 400 .84rem var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.wtc__btn:hover { background: var(--sage-light); }
.wtc__btn--main { background: var(--sage-deep); color: #fff; }
.wtc__btn--main:hover { background: var(--ink); }
.footer nav button.cookie-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: inherit; }
@media (max-width: 520px) { .wtc { left: 16px; bottom: 16px; } .wtc__btn { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .wtc { transition: none; } }
.nowrap { white-space: nowrap; }
