/* Floßcharter Zeitlos – One-Page
   Farben, Schriften und Formensprache aus der bisherigen App übernommen
   (theme-default/_colors.scss, _app.scss). */

@font-face { font-family: "Crimson Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/crimson-text-v19-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Crimson Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/crimson-text-v19-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Crimson Text"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/crimson-text-v19-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Crimson Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/crimson-text-v19-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/open-sans-v34-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/open-sans-v34-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/open-sans-v34-latin-700.woff2") format("woff2"); }

:root {
  --black: #444;
  --white: #fff;
  --gray: #ccc;
  --gray-light: #dfdfdf;
  --gray-ultralight: #f2f2f2;
  --blue: #16406b;
  --blue-darker: #072d54;
  --blue-dark: #031d38;
  --blue-lighter: #275483;
  --nav: #8899aa;
  --gold: #a48417;
  --serif: "Crimson Text", Georgia, serif;
  --sans: "Open Sans", "Lucida Grande", Verdana, Arial, sans-serif;
  --wrap: 1100px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--gray-ultralight);
  color: var(--black);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-lighter); }
a:hover { color: var(--blue); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--blue); line-height: 1.2; }
h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 8px; }
h3 { font-size: 23px; margin: 0 0 6px; }
h4 { font-size: 18px; margin: 22px 0 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Header (wie App: blauer Balken, Logo links, Navigation mit Unterstrich) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  box-shadow: inset 0 -10px 10px -10px rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.12);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 64px; height: 64px; border-radius: 50%; }
.brand span { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gray-ultralight); line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: 12px; font-weight: 400; color: var(--nav); letter-spacing: .04em; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; border-bottom: 1px solid var(--nav); }
.site-nav a {
  display: block; padding-bottom: 5px; margin-bottom: -1px;
  color: var(--nav); text-decoration: none; font-size: 14px;
  border-bottom: 1px solid transparent; transition: color .1s, border-color .1s;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--gray-ultralight); border-bottom-color: var(--gray-ultralight); }

/* Mobiles Menü ohne JavaScript: die Checkbox im Label hält den Aufklapp-Status */
.nav-toggle { display: none; }
.nav-toggle input[type="checkbox"] { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hamburger-Icon: drei Striche aus einem span plus ::before/::after, wird geöffnet zum X */
.burger, .burger::before, .burger::after {
  display: block; width: 24px; height: 2px; border-radius: 1px;
  background: var(--gray-ultralight); transition: transform .2s, background-color .2s;
}
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -7px; }
.burger::after { top: 7px; }
.nav-toggle:has(input:checked) .burger { background: transparent; }
.nav-toggle:has(input:checked) .burger::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle:has(input:checked) .burger::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero */
/* Bild und Text liegen in derselben Grid-Zelle: die Hero wird mindestens so hoch wie das Bild,
   bei langem Text (z. B. auf kleinen Handys) aber so hoch wie der Text */
.hero { display: grid; color: var(--white); background: var(--blue-dark); }
.hero > * { grid-area: 1 / 1; }
.hero img { width: 100%; height: 100%; min-height: min(72vh, 620px); object-fit: cover; opacity: .9; }
.hero-text {
  align-self: end; position: relative; z-index: 1;
  background: linear-gradient(to top, rgba(3,29,56,.88) 0%, rgba(3,29,56,.55) 60%, rgba(3,29,56,0) 100%);
  padding: 90px 0 36px;
}
.hero h1 { color: var(--white); max-width: 760px; }
.hero p { max-width: 680px; margin: 0 0 22px; font-size: 16px; }
.hero strong { font-family: var(--serif); font-size: 1.15em; }

.btn {
  display: inline-block; padding: 10px 22px; border-radius: 3px;
  background: var(--white); color: var(--blue); font-weight: 600; text-decoration: none;
  border: 1px solid var(--white);
}
.btn:hover { background: var(--gray-ultralight); color: var(--blue-darker); }
.btn-ghost { background: transparent; color: var(--white); margin-left: 8px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-blue { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-darker); color: var(--white); }

/* ---------- Sections & "Sheets" (weiße Karten wie in der App) */
section { padding: 64px 0 24px; }
.section-intro { max-width: 720px; margin: 0 0 28px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); font-weight: 600; margin: 0 0 4px; }

.sheet {
  background: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  padding: 28px;
  margin-bottom: 28px;
}

/* Flöße */
.rafts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sheet.raft { padding: 0; display: flex; flex-direction: column; margin: 0; }
.raft-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold); border-radius: 2px; padding: 1px 7px; margin-bottom: 10px;
}
.raft p { margin: 0 0 14px; }

.specs { width: 100%; border-collapse: collapse; font-size: 14px; margin: 4px 0 16px; }
.specs th, .specs td { text-align: left; padding: 6px 0; border-top: 1px solid var(--gray-light); vertical-align: top; }
.specs th { font-weight: 600; color: var(--blue); width: 42%; padding-right: 12px; }

details { border-top: 1px solid var(--gray-light); margin-top: auto; }
summary { cursor: pointer; padding: 10px 0 2px; font-weight: 600; color: var(--blue-lighter); }
details h4 { font-size: 16px; margin: 12px 0 2px; }
details ul { margin: 0; padding-left: 18px; font-size: 14px; }

/* Foto-Diashow der Flöße (reines CSS): alle Bilder liegen übereinander und
   werden nacheinander eingeblendet, je 4s pro Bild, 1s Überblendung. */
.slides { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--blue-dark); }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation-timing-function: linear; animation-iteration-count: infinite; }
.slides img:first-child { opacity: 1; }
.slides:hover img { animation-play-state: paused; }
.slides-2 img { animation-name: fade-2; animation-duration: 8s; }
@keyframes fade-2 { 0% { opacity: 0; } 12.500% { opacity: 1; } 62.500% { opacity: 1; } 75.000% { opacity: 0; } 100% { opacity: 0; } }
.slides-8 img { animation-name: fade-8; animation-duration: 32s; }
@keyframes fade-8 { 0% { opacity: 0; } 3.125% { opacity: 1; } 15.625% { opacity: 1; } 18.750% { opacity: 0; } 100% { opacity: 0; } }
.slides-12 img { animation-name: fade-12; animation-duration: 48s; }
@keyframes fade-12 { 0% { opacity: 0; } 2.083% { opacity: 1; } 10.417% { opacity: 1; } 12.500% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .slides img { animation: none; } .slides img:not(:first-child) { display: none; } }

/* Preise */
.price-block h3 { margin-bottom: 2px; }
.price-block .lead { margin: 0 0 18px; color: #666; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 6px; }
.prices { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.prices th, .prices td { padding: 9px 12px; border-bottom: 1px solid var(--gray-light); text-align: right; white-space: nowrap; }
.prices th:first-child, .prices td:first-child { text-align: left; white-space: normal; }
.prices thead th { background: var(--blue); color: var(--white); font-weight: 600; }
.prices tbody tr:nth-child(even) { background: var(--gray-ultralight); }
.prices.narrow { min-width: 0; max-width: 560px; }
.note { font-size: 13px; color: #777; font-style: italic; margin: 4px 0 18px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 36px; }
.cols ul { margin: 0 0 8px; padding-left: 18px; }
.cols h4 { margin-top: 14px; }

/* Anfahrt */
.travel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.travel .sheet { margin: 0; }
.address { font-style: normal; font-size: 16px; margin: 0 0 16px; }
.travel dl { margin: 0; }
.travel dt { font-family: var(--serif); font-weight: 700; color: var(--blue); font-size: 18px; margin-top: 12px; }
.travel dt:first-child { margin-top: 0; }
.travel dd { margin: 0; }

/* Kontakt */
.contact { background: var(--blue); color: var(--gray-ultralight); padding: 56px 0; margin-top: 40px; }
.contact h2 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.contact table { border-collapse: collapse; font-size: 17px; }
.contact td { padding: 4px 0; }
.contact td:first-child { font-style: italic; color: var(--nav); text-align: right; padding-right: 14px; }
.contact a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact a:hover { border-bottom-color: var(--white); }
.contact .btn { border: 1px solid var(--white); color: var(--blue); }
.contact .btn:hover { border-bottom-color: var(--white); }

/* Impressum */
.imprint { padding-top: 56px; }
.imprint .sheet { max-width: 760px; }
.imprint p { margin: 0 0 14px; }
.imprint h3 { font-size: 19px; margin: 18px 0 2px; }

/* Footer */
.site-footer { font-size: 12px; padding: 22px 0 30px; color: #777; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.site-footer a { color: var(--black); }

/* ---------- Responsive */
@media (max-width: 960px) {
  .rafts { grid-template-columns: 1fr 1fr; }
  .travel, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 68px; gap: 12px; }
  .brand img { width: 50px; height: 50px; }
  .brand span { font-size: 19px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--nav); border-radius: 3px;
    cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--blue-darker); padding: 8px 16px 14px; }
  .nav-toggle:has(input:checked) ~ .site-nav { display: block; }
  .nav-toggle:has(input:checked) { background: var(--blue-darker); }
  .site-nav ul { flex-direction: column; gap: 0; border: 0; }
  .site-nav a { padding: 10px 0; border-bottom: 1px solid rgba(136,153,170,.3); }
  .hero img { min-height: 78vh; }
  .hero-text { padding-top: 60px; }
  .rafts, .cols { grid-template-columns: 1fr; }
  .sheet { padding: 20px; }
  section { padding-top: 48px; }
  .btn-ghost { margin: 10px 0 0; }
}
