/* =========================================================
   SIEGTRAILER – Stylesheet (Neuaufbau 2026)
   Sauberes, responsives Design. Keine externen Abhängigkeiten.
   ========================================================= */

:root {
  --tuerkis:        #14a5a5;
  --tuerkis-dark:   #0d7d7d;
  --tuerkis-light:  #e6f6f6;
  --rot:            #d4322c;   /* Akzent (CofiLoco/Logo-Rot) */
  --ink:            #1d2426;   /* Haupttext */
  --muted:          #5a6668;   /* Sekundärtext */
  --line:           #e2e7e8;   /* Trennlinien */
  --bg:             #ffffff;
  --bg-soft:        #f5f8f8;
  --bg-dark:        #182022;   /* Footer */
  --radius:         12px;
  --radius-sm:      8px;
  --shadow:         0 6px 24px rgba(20,40,45,.08);
  --shadow-hover:   0 12px 36px rgba(20,40,45,.14);
  --maxw:           1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tuerkis-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

.container { max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--tuerkis); color: #fff;
  padding: .8em 1.6em; border-radius: 999px;
  font-weight: 600; border: 2px solid var(--tuerkis);
  transition: .18s ease; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--tuerkis-dark); border-color: var(--tuerkis-dark); text-decoration: none; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--tuerkis-dark); }
.btn--ghost:hover { background: var(--tuerkis); color: #fff; }
.btn--rot { background: var(--rot); border-color: var(--rot); }
.btn--rot:hover { background: #b02822; border-color: #b02822; }
.btn--lg { font-size: 1.05rem; padding: .95em 2em; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 72px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: .5px; }
.nav__logo:hover { text-decoration: none; }
.nav__logo img { height: 44px; width: auto; }
.nav__logo .mark { color: var(--tuerkis); }

.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__menu > li { position: relative; }
.nav__menu a {
  display: block; padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: .92rem; border-radius: 8px;
}
.nav__menu a:hover { background: var(--tuerkis-light); color: var(--tuerkis-dark); text-decoration: none; }
.nav__menu a.active { color: var(--tuerkis-dark); }

/* Dropdown */
.has-sub > .submenu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; list-style: none; margin: 6px 0 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { padding: 9px 12px; font-size: .9rem; border-radius: 6px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(120deg, var(--tuerkis-dark), #105a5a);
  padding: 88px 0;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero__inner { position: relative; max-width: 820px; margin: 0 auto; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.92); margin-bottom: 1.6em; }
.hero .btn { box-shadow: var(--shadow); }
.hero--page { padding: 60px 0; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .2s ease; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card__media { aspect-ratio: 4 / 3; background: var(--tuerkis-light); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { margin: 0; }
.card__tag { align-self: flex-start; background: var(--tuerkis-light); color: var(--tuerkis-dark); font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .5px; }
.card__foot { margin-top: auto; padding-top: 8px; }

/* ---------- Image placeholder ---------- */
.ph {
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  width: 100%; height: 100%; min-height: 180px;
  background: repeating-linear-gradient(45deg, #eef4f4, #eef4f4 14px, #e6efef 14px, #e6efef 28px);
  color: var(--tuerkis-dark); font-size: .82rem; font-weight: 600; text-align: center; padding: 14px;
}
.ph svg { width: 34px; height: 34px; opacity: .5; }
.ph small { color: var(--muted); font-weight: 500; }

/* ---------- Spec table ---------- */
.specs { width: 100%; border-collapse: collapse; margin: 8px 0 20px; }
.specs th, .specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs td { font-weight: 600; }

.price-badge { display: inline-flex; flex-direction: column; background: var(--tuerkis-light); border-radius: var(--radius-sm); padding: 14px 20px; }
.price-badge .amount { font-size: 1.8rem; font-weight: 800; color: var(--tuerkis-dark); line-height: 1; }
.price-badge .per { font-size: .85rem; color: var(--muted); }

/* ---------- Detail layout ---------- */
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.detail__gallery { display: grid; gap: 14px; }
.detail__main img, .detail__main .ph { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.detail__thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.detail__thumbs .ph, .detail__thumbs img { border-radius: var(--radius-sm); aspect-ratio: 1; min-height: 0; }

.feature-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.feature-list li { position: relative; padding-left: 30px; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--tuerkis) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Info / callout ---------- */
.callout { background: var(--tuerkis-light); border-left: 4px solid var(--tuerkis); border-radius: var(--radius-sm); padding: 18px 22px; margin: 20px 0; }
.callout--warn { background: #fdeceb; border-left-color: var(--rot); }

.download {
  display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 18px; box-shadow: var(--shadow); transition: .15s;
}
.download:hover { border-color: var(--tuerkis); text-decoration: none; transform: translateY(-1px); }
.download .ic { width: 26px; height: 32px; flex: none; }

/* ---------- Partner ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.partner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .2s; }
.partner:hover { box-shadow: var(--shadow); text-decoration: none; transform: translateY(-3px); }
.partner .ph { aspect-ratio: 3/2; border-radius: var(--radius-sm); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow); }
.contact-card .ic { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--tuerkis); }
.contact-card a { font-weight: 700; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 28px; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Prose (AVB/Impressum) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #c4cfd0; padding: 56px 0 28px; }
.site-footer a { color: #c4cfd0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand .nav__logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #97a3a4; font-size: .92rem; }
.social { display: flex; gap: 12px; margin-top: 14px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; background: rgba(255,255,255,.08); border-radius: 50%; }
.social a:hover { background: var(--tuerkis); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: #8b9899; }
.footer-bottom a { text-decoration: underline; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: var(--shadow-hover); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2,1fr); }
  .partner-grid { grid-template-columns: repeat(2,1fr); }
  .detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    max-height: calc(100vh - 72px); overflow-y: auto;
    transform: translateY(-120%); transition: transform .25s ease; box-shadow: var(--shadow);
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__menu a { padding: 12px 10px; border-radius: 6px; }
  .has-sub > .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--tuerkis-light); margin: 0 0 6px 12px; padding: 0;
  }
}
@media (max-width: 560px) {
  .grid--3, .grid--4, .grid--2, .partner-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
}

/* ============ Zusatz-Komponenten (Neuaufbau) ============ */
.logo-img { height: 44px; width: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.8); margin-bottom: 6px; }
.lead { font-size: 1.12rem; }
.split { align-items: start; }
.split h2 { margin-top: 0; }

/* Feature-Kacheln */
.feature-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.feature-tile h3 { margin-bottom: 6px; }

/* Trailer-Karten: Preis-Mini & Link */
.price-mini { font-weight: 800; color: var(--tuerkis-dark); font-size: 1.15rem; }
.price-mini small { font-weight: 600; color: var(--muted); font-size: .72rem; }
.card__link { color: var(--tuerkis-dark); font-weight: 700; font-size: .9rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.overview-grid .card__body p { margin-bottom: 4px; }

/* Detailseite */
.detail__info .price-badge { margin-bottom: 14px; }
.trailer-intro { max-width: 820px; margin: 36px 0 8px; font-size: 1.05rem; }
.trailer-intro p { margin-bottom: .7em; }
.spec-columns { columns: 2; column-gap: 40px; margin-top: 24px; }
.spec-block { break-inside: avoid; margin-bottom: 26px; display: inline-block; width: 100%; }
.spec-block h3 { color: var(--tuerkis-dark); border-bottom: 2px solid var(--tuerkis-light); padding-bottom: 6px; }
.thumb { overflow: hidden; }
@media (max-width: 720px) { .spec-columns { columns: 1; } }

/* Saison-Preise */
.season-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.season-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.season-card h4 { color: var(--tuerkis-dark); margin-bottom: 10px; }
.season-card ul { margin: 0; padding-left: 18px; }
.season-card li { margin-bottom: 6px; }
@media (max-width: 560px) { .season-grid { grid-template-columns: 1fr; } }

/* Reservierung – Schritte */
.steps { display: grid; gap: 20px; max-width: 760px; margin: 0 auto 36px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.step__no { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tuerkis); color: #fff; font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); }

/* Info-Cards (Startseite) */
.info-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); transition: .2s; }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); text-decoration: none; }
.info-card .ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tuerkis-light); color: var(--tuerkis-dark); margin-bottom: 12px; }
.info-card .ic svg { width: 24px; height: 24px; }
.info-card h3 { margin-bottom: 6px; }

/* Training Q&A */
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qa { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.qa h3 { color: var(--tuerkis-dark); margin-bottom: 10px; }
.qa p { margin-bottom: .6em; }
.qa .feature-list { margin-bottom: 0; }
@media (max-width: 720px) { .qa-grid { grid-template-columns: 1fr; } }

/* Öffnungszeiten */
.hours th { color: var(--ink); font-weight: 600; width: 50%; }
.hours td { text-align: right; }

/* Kontakt-Icon */
.contact-card .ic svg { width: 100%; height: 100%; }

/* Download-Link & ausstehende Dokumente */
.download em { color: var(--muted); font-style: normal; font-size: .85rem; }
.download--pending { opacity: .65; border-style: dashed; cursor: default; }
.logo-text { font-weight: 800; font-size: 1.25rem; letter-spacing: .5px; }

/* ============ Lightbox-Galerie ============ */
.detail__main img, .thumb img { cursor: zoom-in; transition: filter .15s, transform .15s; }
.detail__main { position: relative; }
.detail__main::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px;
  background: rgba(20,40,45,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center/20px no-repeat;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .2s;
}
.detail__main:hover::after { opacity: 1; }
.thumb img:hover { filter: brightness(1.07); }

.lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center;
  background: rgba(12,18,20,.94); backdrop-filter: blur(2px); }
.lb.open { display: flex; }
.lb__stage { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb__img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: 8px;
  box-shadow: 0 12px 50px rgba(0,0,0,.5); background: #0c1214; }
.lb__cap { color: rgba(255,255,255,.8); font-size: .9rem; text-align: center; }
.lb__count { position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: .95rem; font-weight: 600; letter-spacing: .5px; }
.lb__close { position: absolute; top: 10px; right: 16px; background: none; border: 0; color: #fff;
  font-size: 2.4rem; line-height: 1; cursor: pointer; opacity: .85; }
.lb__close:hover { opacity: 1; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12);
  border: 0; color: #fff; width: 56px; height: 56px; border-radius: 50%; font-size: 2rem; line-height: 1;
  cursor: pointer; transition: background .15s; display: grid; place-items: center; }
.lb__nav:hover { background: var(--tuerkis); }
.lb__prev { left: 18px; } .lb__next { right: 18px; }
@media (max-width: 600px) {
  .lb__nav { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb__prev { left: 8px; } .lb__next { right: 8px; }
  .lb__img { max-height: 74vh; }
}

/* ============ Buchungsformular ============ */
.bk-form { margin-top: 8px; }
.bk-group { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 0 0 22px; }
.bk-group legend { font-weight: 700; color: var(--tuerkis-dark); padding: 0 8px; font-size: 1.05rem; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-weight: 600; font-size: .92rem; }
.fld--textarea, .fld--trailerselect { grid-column: 1 / -1; }
.bk-form input, .bk-form select, .bk-form textarea {
  font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); width: 100%;
}
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus {
  outline: none; border-color: var(--tuerkis); box-shadow: 0 0 0 3px var(--tuerkis-light);
}
.req { color: var(--rot); }
.bk-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .95rem; margin-top: 12px; }
.bk-check input { width: auto; margin-top: 3px; flex: none; }
.bk-success { background: var(--tuerkis-light); border: 1px solid var(--tuerkis); border-radius: var(--radius); padding: 30px 28px; text-align: center; }
.bk-success h2 { color: var(--tuerkis-dark); }
@media (max-width: 600px) { .bk-grid { grid-template-columns: 1fr; } }

/* Buchung: Zeit-Auswahl + Anzahlung */
.timesel { display: flex; align-items: center; gap: 8px; }
.timesel select { width: auto; min-width: 72px; }
.timesel__sep { font-weight: 700; }
.pay-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin: 18px 0 22px; }
.pay-btn img { max-width: 220px; height: auto; }
.pay-qr { margin: 0; text-align: center; }
.pay-qr img { width: 150px; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.pay-qr figcaption { margin-top: 6px; }

/* Checkbox-Absätze + Touch-Freundlichkeit */
.bk-check { line-height: 1.55; margin-top: 16px; }
.bk-check + .bk-check { margin-top: 16px; }
.bk-check input { width: 22px; height: 22px; margin-top: 1px; }
.bk-lines .ln { display: block; }
.bk-lines .ln + .ln { margin-top: .5em; }
/* Mobile-Feinschliff Buchungsformular */
@media (max-width: 600px) {
  .bk-group { padding: 16px 14px; }
  .bk-group legend { font-size: 1rem; }
  .pay-grid { gap: 18px; justify-content: center; }
  .timesel select { min-width: 64px; }
}
