/* ==================================================================
   schiffahoy.de – nach dem bisherigen Avada-Layout
   (Startbild, oranges Menü mit Logo in der Mitte, Abschnitte mit Galerien)
   ================================================================== */

@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/barlow-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/fonts/barlow-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/barlow-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --orange: #EE7C19;        /* Menüleiste (wie bisher) */
  --orange-title: #D9690B;  /* Überschriften: bisher #EE7C19, minimal dunkler für Kontrast ≥ 3:1 */
  --orange-btn: #B85508;    /* Buttons mit weißer Schrift: bisher #E27618 (3:1), jetzt 4,8:1 */
  --nav-text: #3A2E30;      /* Menütext auf Orange: bisher #4E3F42 (3,6:1), jetzt 4,7:1 */
  --navy: #1F3A6E;          /* Fokusrahmen */
  --link: #0241FF;          /* Textlinks (wie bisher) */
  --footer: #6CBBED;
  --text: #000;
  --muted: #767676;         /* bisher #AAA (2,3:1), jetzt 4,5:1 */
  --font: "Barlow", Arial, Helvetica, sans-serif;
  --gutter: 60px;           /* Seitenrand des Fließtexts (volle Breite wie bisher) */
  --menu-h: 185px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--menu-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 2; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover, a:focus-visible { color: #000; text-decoration: underline; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.wrap { padding: 0 var(--gutter); }
.center { text-align: center; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: #000; color: #fff; padding: .5rem 1rem; }
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Startbild ---------- */
.hero {
  height: max(320px, calc(100vh - var(--menu-h)));
  background: #3a6a8a url("/assets/uploads/2016/05/startbild-1-e1648588989484.png") center / cover no-repeat;
}

/* ---------- Menüleiste ---------- */
.menu-bar { position: sticky; top: 0; z-index: 20; background: var(--orange); }
.menu { max-width: 1200px; margin: 0 auto; padding: 20px; display: flex; align-items: center; justify-content: center; gap: 10px 37px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 40px; flex: 1; }
.menu-left { justify-content: flex-end; }
.menu-right { justify-content: flex-start; }
.menu-list a {
  display: inline-flex; align-items: center; min-height: 64px;
  color: var(--nav-text); text-decoration: none; font-size: 16px;
}
.menu-list a:hover, .menu-list a:focus-visible { color: #000; text-decoration: none; box-shadow: inset 0 -2px 0 #fff; }
.menu-logo { flex: 0 0 auto; display: block; line-height: 0; }
.menu-logo img { width: 150px; height: auto; }

/* ---------- Abschnitte ---------- */
.section { padding: 80px 0 0; }
.banner { display: block; width: 100%; height: auto; margin: -80px 0 100px; }
/* Anker-Symbol hängt links im Rand, der Titel steht bündig mit dem Fließtext */
.title {
  position: relative; margin: 0;
  font-size: 36px; line-height: 72px; font-weight: 500; color: var(--orange-title);
}
.anchor-icon { position: absolute; left: -38px; top: 12px; width: 29px; height: 40px; }
.section p { margin: 0 0 20px; }
.section .explain { margin-top: 40px; text-align: center; font-size: 13px; font-style: italic; color: var(--muted); }
.section .wrap > p.center:last-child { margin-bottom: 0; }
.wide-img { display: block; width: auto; height: auto; margin: 40px auto 0; }
.full-img { display: block; width: calc(100% + 2 * var(--gutter)); max-width: none; height: auto; margin: 24px calc(-1 * var(--gutter)) 60px; }
p.center + .full-img { margin-top: 60px; }

/* ---------- Galerie (volle Breite, Bilder unbeschnitten) ---------- */
.gallery { list-style: none; margin: 100px calc(-1 * var(--gutter)) 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.gallery a { display: block; line-height: 0; overflow: hidden; }
.gallery img { display: block; width: 100%; height: auto; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; object-fit: contain; }
.lightbox button {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px;
  background: rgba(0, 0, 0, .5); color: #fff; border: 0; border-radius: 50%; font: 400 34px/1 var(--font); cursor: pointer;
}
.lightbox button:hover { background: rgba(0, 0, 0, .8); }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-close { right: 16px; top: 16px; }
.lightbox-count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: #ddd; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 55px; padding: 0 40px;
  background: var(--orange-btn); color: #fff; border: 0; border-radius: 2px;
  font: 400 18px/1.2 var(--font); letter-spacing: 1px; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: #9A4706; color: #fff; text-decoration: none; }
.btn--block { width: 100%; }

/* ---------- Zwei-Klick-Einbettungen ---------- */
.embed { position: relative; margin: 10px auto 0; background: #e6e6e6; }
.section .video-intro { margin-top: 130px; }
.embed--video { max-width: 800px; aspect-ratio: 16 / 9; margin-top: 36px; }
.embed--video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.embed-play { position: absolute; inset: 0; margin: auto; width: 86px; height: 60px; background: none; border: 0; padding: 0; cursor: pointer; }
.embed-play svg { width: 100%; height: 100%; }
.embed-play:hover svg path:first-child { fill: #c00; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-note { max-width: 800px; margin: 8px auto 80px !important; text-align: center; font-size: 13px; color: var(--muted); }
.embed--map { min-height: 400px; display: grid; place-items: center; margin-bottom: 80px; }
.embed-consent { width: 100%; max-width: 1160px; padding: 30px 20px; text-align: center; font-size: 14px; color: #444; }
.embed-alt { margin-top: 14px !important; }

/* ---------- Preise ---------- */
.prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 95px; margin-top: 40px; }
.prices h3 { margin: 24px 0; font-size: 24px; font-weight: 500; line-height: 1.5; }
.prices p + h3 { margin-top: 44px; }
.prices + p.center { margin: 80px 0 40px; }

/* ---------- Fuß ---------- */
.site-footer { background: var(--footer); color: #000; margin-top: 140px; }
.footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 10px 20px; padding-top: 70px; padding-bottom: 70px; }
.footer-inner p { margin: 0; }
.site-footer a { color: #000; }
.insta { justify-self: center; display: inline-grid; place-items: center; width: 44px; height: 44px; }
.insta svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Textseiten ---------- */
.text-page { max-width: 1230px; margin: 0 auto; padding: 135px 30px 60px; }
.text-page p { margin: 0 0 20px; }
.text-page h1, .text-page h2 { margin: 0; font-size: 36px; font-weight: 500; line-height: 72px; color: var(--orange-title); }
.text-page h2 { margin-top: 20px; }
.text-page h2:first-of-type { margin-top: 0; }
.text-page h3 { margin: 24px 0; font-size: 24px; font-weight: 500; line-height: 1.5; }

/* ---------- Mobil ---------- */
@media (max-width: 56rem) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 0; }
  .hero { height: clamp(200px, 64vw, 480px); }
  .menu-bar { position: static; }
  .menu { flex-direction: column; gap: 4px; padding: 12px 16px; }
  .menu-logo { order: -1; }
  .menu-logo img { width: 72px; }
  .menu-list { justify-content: center !important; gap: 0 18px; flex: none; }
  .menu-list a { min-height: 44px; font-size: 15px; }
  .section { padding: 56px 0 0; }
  .banner { margin: -56px 0 48px; }
  .text-page { padding: 48px var(--gutter) 40px; }
  .title, .text-page h1, .text-page h2 { font-size: 30px; line-height: 1.4; margin-bottom: 12px; }
  .anchor-icon { position: static; width: 22px; height: 30px; margin-right: 8px; vertical-align: -3px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 48px; }
  .section .video-intro { margin-top: 48px; }
  .prices { grid-template-columns: 1fr; }
  .prices + p.center { margin-top: 40px; }
  .site-footer { margin-top: 60px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 30px; padding-bottom: 30px; }
}
@media (max-width: 37.5rem) {
  .gallery { grid-template-columns: 1fr; }
}
