/* Gemeinsamer Stil für Impressum und Datenschutz */

:root {
    --ink:    #003A40;  /* Petrol, Hintergrund */
    --foam:   #F4EEDE;  /* Beige aus der CI, Fließtext */
    --swell:  #17565D;  /* Wellenlinien */
    --signal: #B967FF;  /* Lila aus dem Logo, einziger Akzent */
    --sans:   ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100svh;
    padding: 2.5rem 1.5rem 12rem;
    background: var(--ink);
    color: var(--foam);
    font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

main {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    line-height: 0;
}
.logo img {
    display: block;
    width: 9rem;
    height: auto;
}

h1 {
    margin: 3rem 0 0;
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.02em;
}

.rule {
    width: 3rem;
    height: 1px;
    margin: 1.75rem 0 2.25rem;
    border: 0;
    background: var(--signal);
}

h2 {
    margin: 2.25rem 0 0.5rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.75;
}

p, address {
    margin: 0;
    font-size: 1.125rem;
    font-style: normal;
    line-height: 1.6;
}

a {
    color: var(--foam);
    text-decoration-color: var(--signal);
    text-underline-offset: 0.3em;
}
a:hover { color: var(--signal); }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }

p + p { margin-top: 0.75em; }

ul {
    margin: 0.5em 0 0.75em;
    padding-left: 1.2em;
    font-size: 1.125rem;
    line-height: 1.6;
}
ul li::marker { color: var(--signal); }

/* Einleitung in einem Satz */
.kurz {
    font-size: 1.25rem;
    line-height: 1.5;
}

/* Gesondert hervorgehobener Hinweis, z. B. das Widerspruchsrecht (Art. 21 Abs. 4 DSGVO) */
.hinweis {
    margin-top: 2.25rem;
    padding: 1.25rem 1.25rem 1.4rem;
    border: 1px solid var(--signal);
    border-radius: 4px;
}
.hinweis h2 { margin-top: 0; }

.stand {
    margin-top: 2.25rem;
    font-family: var(--sans);
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Links zu Startseite, Impressum und Datenschutz */
.links {
    margin-top: 3rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.links span { margin: 0 0.6em; opacity: 0.4; }
.links a[aria-current="page"] { text-decoration: none; opacity: 0.6; }

/* Dieselben Wellenlinien wie auf der Startseite */
.surf {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30vh;
    z-index: 0;
    pointer-events: none;
}
.surf path {
    fill: none;
    stroke: var(--swell);
    stroke-width: 1.5;
    animation: drift 14s linear infinite;
}
.surf path:nth-child(2) { animation-duration: 20s; opacity: 0.6; }
.surf path:nth-child(3) { animation-duration: 28s; opacity: 0.35; }

@keyframes drift {
    from { transform: translateX(0); }
    to   { transform: translateX(-400px); }
}

@media (prefers-reduced-motion: reduce) {
    .surf path { animation: none; }
}
