/* bonin.cc - private Familienseite, Fonts lokal (keine Drittanbieter) */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }

:root { --ink: #1e1e1e; --muted: #5f6066; --line: #dadce0; --navy: #142c4a; --rope: #b81925; /* Rot der Schot im Foto (Median der Seilpixel) */ }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; }
a { color: inherit; }

/* Startseite: Vollbild-Foto */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #0f2236; }
.hero .bg { position: absolute; inset: -3%; background: url("img/segeln.jpg") 40% 50% / cover no-repeat; animation: drift 34s ease-in-out infinite alternate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(to top, rgba(10,24,42,.85) 0%, rgba(10,24,42,.35) 32%, rgba(10,24,42,0) 60%),
  linear-gradient(to right, rgba(10,24,42,.55) 0%, rgba(10,24,42,0) 55%); }
.hero .inner { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px 64px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero h1 { margin: 0; font-weight: 300; font-size: clamp(52px, 9vw, 120px); line-height: .98; letter-spacing: -1px; }
.hero h1 span { font-weight: 500; color: #fff; position: relative; }
.hero h1 span::after { content: ""; position: absolute; left: 4px; right: 0; bottom: -.06em; height: .07em; background: var(--rope); border-radius: 2px; }
.mail { display: inline-block; margin-top: 46px; padding: 12px 26px; border-radius: 6px; border: 1px solid rgba(255,255,255,.7); text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.mail:hover { background: #fff; color: var(--navy); }
.mini { position: relative; z-index: 2; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px 22px; font-size: 13px; color: rgba(255,255,255,.7); display: flex; gap: 18px; justify-content: flex-end; }
.mini a { text-decoration: none; }
.mini a:hover { color: #fff; text-decoration: underline; }

@keyframes drift { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -1%); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.eyebrow, .hero h1, .mail { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .12s; }
.mail { animation-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .hero .bg, .eyebrow, .hero h1, .mail { animation: none; } }

/* Unterseiten (Datenschutz, 404) */
.page-head { position: relative; color: #fff; padding: 110px 24px 48px; background: #0f2236 url("img/segeln-1200.jpg") 40% 45% / cover no-repeat; }
.page-head::before { content: ""; position: absolute; inset: 0; background: rgba(10,24,42,.62); }
.page-head > * { position: relative; max-width: 820px; margin: 0 auto; }
.page-head .back { display: inline-block; margin-bottom: 18px; font-size: 14px; text-decoration: none; color: rgba(255,255,255,.85); }
.page-head .back:hover { color: #fff; }
.page-head h1 { margin: 0; font-weight: 300; font-size: clamp(32px, 5vw, 48px); line-height: 1.15; }
.content { max-width: 820px; margin: 0 auto; padding: 48px 24px 64px; }
.content h2 { font-weight: 500; font-size: 20px; margin: 36px 0 10px; }
.content h2:first-child { margin-top: 0; }
.content p, .content li { font-size: 15px; }
.content a { color: var(--navy); }
.site-foot { border-top: 1px solid var(--line); text-align: center; padding: 22px 16px; font-size: 13px; color: var(--muted); }
.site-foot a { text-decoration: none; }

/* Beim Verkleinern (auch der Höhe) bleibt der Text im Bild */
.hero h1 { font-size: clamp(40px, min(9vw, 15vh), 120px); }
.hero .inner { padding-bottom: clamp(20px, 7vh, 64px); }
.mail { margin-top: clamp(22px, 5.5vh, 46px); }
.eyebrow { margin-bottom: clamp(8px, 1.8vh, 14px); }
.mini { padding-bottom: clamp(10px, 2.6vh, 22px); }

@media (max-width: 720px) {
  .hero .bg { background-position: 33% 50%; }
  .hero .inner { padding: 0 20px 48px; }
  .mini { padding: 0 20px 18px; }
  .page-head { padding: 80px 20px 36px; }
  .content { padding: 36px 20px 48px; }
}
