:root {
    --dark:    #0D1117;
    --surface: #161B22;
    --border:  #21293a;
    --text:    #cbd5e1;
    --muted:   #64748b;
    --light:   #f1f5f9;
    --accent:  #0088CC;
    --accent2: #006fa8;
}

* { box-sizing: border-box; }

body {
    background: var(--dark);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 520px;
    margin: 0 auto;
    padding: 80px 24px 96px;
    animation: rise 0.35s ease-out both;
}

/* Logo */
.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 52px;
}
.logo-wrap img {
    height: 44px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.logo-wrap img:hover { opacity: 1; }

/* Header */
header {
    text-align: center;
    margin-bottom: 48px;
}
h1 {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.45;
    margin: 0 0 18px;
    letter-spacing: -0.01em;
}
.subhead {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}

/* Video */
.video-wrap {
    margin-bottom: 32px;
}
.video-inner {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 9/16;
    background: #0D1117;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
    overflow: hidden;
}
.video-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Section divider */
.rule {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
    margin: 0 auto 48px;
    opacity: 0.5;
}

/* Persoenlich */
.story {
    margin-bottom: 48px;
}
.story p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin: 0 0 16px;
}
.story p:last-child { margin-bottom: 0; }

/* Bogen */
.bogen {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 16px;
    padding: 28px 28px 28px 26px;
    margin-bottom: 48px;
}
.bogen-title {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 18px;
    letter-spacing: 0.01em;
}
.bogen p {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.75;
    margin: 0 0 16px;
}
.bogen p:last-child {
    margin-bottom: 0;
}

/* Hafen info */
.hafen-info {
    margin-bottom: 40px;
    text-align: center;
}
.hafen-info p {
    font-size: 1rem;
    line-height: 1.75;
    color: #cbd5e1;
    margin: 0 0 16px;
}
.hafen-info p:last-child { margin-bottom: 0; }
.hafen-info strong {
    color: #cbd5e1;
    font-weight: 500;
}

/* Stimme aus dem Hafen */
.stimme {
    margin: 0 0 28px;
    padding: 0 0 0 18px;
    border-left: 2px solid var(--accent);
}
.stimme p {
    font-size: 1rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin: 0 0 10px;
}
.stimme-last { margin-bottom: 44px; }
.stimme cite {
    font-size: 0.78rem;
    font-style: normal;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* ------------------------------------------------------------
   Anmeldeblock mit Formular
   ------------------------------------------------------------ */
.cta-wrap {
    max-width: 360px;
    margin: 0 auto 56px;
}
.cta-oben {
    max-width: 360px;
    margin: 0 auto 56px;
}
.cta-lead {
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.7;
    text-align: center;
    margin: 0 0 14px;
}
.cta-lead-last {
    color: #f1f5f9;
    margin-bottom: 22px;
}

.hafen-form {
    margin: 0;
}
.hafen-form label {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 8px 2px;
    letter-spacing: 0.01em;
}
.hafen-form input[type="email"] {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--light);
    font-family: inherit;
    font-size: 1rem;
    padding: 1rem 1.1rem;
    line-height: 1.4;
    margin: 0 0 12px;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.hafen-form input[type="email"]::placeholder {
    color: #475569;
}
.hafen-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    background: #12181f;
}
.hafen-form input[type="email"].fehler {
    border-color: #b45252;
}
/* Koederfeld gegen Bots, fuer Menschen unsichtbar */
.hafen-form .koeder {
    position: absolute;
    left: -5000px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--accent);
    color: #fff;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    letter-spacing: 0.01em;
    margin-bottom: 14px;
}
.btn:hover {
    background: var(--accent2);
    transform: translateY(-1px);
}
.btn:focus-visible {
    outline: 2px solid #f1f5f9;
    outline-offset: 3px;
}
.btn[disabled] {
    background: #1e556f;
    cursor: default;
    transform: none;
}

.form-hinweis {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
}
.form-hinweis a {
    color: var(--muted);
    text-decoration: underline;
}
.form-hinweis a:hover { color: var(--text); }

.form-fehler {
    font-size: 0.82rem;
    color: #c97070;
    line-height: 1.6;
    margin: 0 0 12px;
    text-align: center;
}

.anon-note {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
    margin-top: 4px;
}

/* Signatur */
.sig {
    text-align: center;
    margin-bottom: 48px;
}
.sig p {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 4px;
    line-height: 1.6;
}
.sig p:last-child { margin-bottom: 0; }

/* Noch nicht bereit: Abfang fuer alle, die bis hier gescrollt sind,
   ohne sich einzutragen. Bewusst zurueckhaltend gehalten, damit es
   nicht mit den Formularen weiter oben konkurriert. */
.weiterlesen {
    text-align: center;
    margin: 0 0 48px;
}
.weiterlesen-hinweis {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0 0 14px;
}
.weiterlesen-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}
.weiterlesen-links a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: border-color 0.2s, color 0.2s;
}
.weiterlesen-links a:hover { border-color: var(--accent); color: var(--light); }
.weiterlesen-links a span {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Footer */
footer {
    text-align: center;
    padding-bottom: 8px;
}
footer a {
    font-size: 0.75rem;
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
}
footer a:hover { color: var(--muted); }
footer span { color: #1e293b; margin: 0 8px; }

/* Dezente Signatur ganz unten, wie in Leuchtturm und Logbuch */
.footer__copyright {
    font-size: 0.75rem;
    color: #1e293b;
    margin: 14px 0 0;
}

/* Animation */
@keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}
