/* Gemeinsames Aussehen der Website von Notenkoffer.
   Messing, Notenpapier, Serifen für Überschriften: wie in der App.
   Ohne Skripte und ohne Fremdinhalte; hell und dunkel folgen dem Gerät. */
:root {
    --paper: #f6f1e7;
    --tint: #efe8d9;
    --surface: #fffdf8;
    --ink: #2a2620;
    --muted: #6b6457;
    --brass: #8a6a1f;
    --on-brass: #ffffff;
    --line: #e2d9c6;
    --danger: #b3261e;
    --serif: "New York", "Iowan Old Style", Georgia, Cambria, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --paper: #1c1a17;
        --tint: #171512;
        --surface: #26231f;
        --ink: #efe9dc;
        --muted: #a79f90;
        --brass: #d3ad5a;
        --on-brass: #1c1a17;
        --line: #3a352e;
        --danger: #e0655c;
    }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--brass); text-underline-offset: 0.15em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 46rem; }
.center { text-align: center; }

/* Kopfleiste */
.navbar {
    position: sticky; top: 0; z-index: 10;
    background: color-mix(in srgb, var(--paper) 85%, transparent);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.navbar .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; }
.brand {
    display: inline-flex; align-items: center; gap: 0.6rem; margin: 0;
    font-family: var(--serif); font-weight: 600; font-size: 1.1875rem;
    color: var(--ink); text-decoration: none;
}
.logo { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linejoin: round; }
.logo .thin { stroke-width: 1.2; }
.navbar nav { display: flex; gap: 1.5rem; margin-left: auto; }
.navbar nav a { color: var(--muted); text-decoration: none; font-size: 0.9375rem; }
.navbar nav a:hover { color: var(--ink); }
@media (max-width: 47.99rem) {
    .navbar nav { display: none; }
    .navbar .button { margin-left: auto; }
}

/* Schaltflächen */
.button {
    display: inline-block; padding: 0.85rem 1.6rem; border-radius: 12px;
    background: var(--brass); color: var(--on-brass);
    font-weight: 600; text-decoration: none; border: 1px solid var(--brass);
}
.button.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button.small { padding: 0.5rem 1.1rem; border-radius: 10px; font-size: 0.9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin: 2rem 0 0; }

/* Abschnitte */
section { padding: 4.5rem 0; }
section.tinted { background: var(--tint); border-block: 1px solid var(--line); }
.eyebrow {
    color: var(--brass); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.5rem;
}
h2 { font-size: clamp(1.625rem, 4vw, 2.25rem); line-height: 1.2; letter-spacing: -0.01em; }
.sub { color: var(--muted); font-size: 1.125rem; margin: 0.75rem auto 0; max-width: 38rem; }

/* Einstieg */
.hero { padding: 5rem 0 4rem; text-align: center; }
.badge, .pills span {
    display: inline-block; background: var(--surface); border: 1px solid var(--line);
    border-radius: 999px; padding: 0.3rem 0.9rem; font-size: 0.8125rem; color: var(--muted);
}
.badge { margin-bottom: 1.75rem; }
.hero h1 { font-size: clamp(2.125rem, 7vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; }
.hero h1 span { font-family: var(--serif); font-style: italic; color: var(--brass); }
.hero .lead { color: var(--muted); font-size: 1.1875rem; max-width: 38rem; margin: 1.5rem auto 0; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 2.5rem 0 0; }

/* Karte «Deine Noten bleiben deine» */
#deine-noten { padding-top: 0; }
.panel {
    display: grid; grid-template-columns: auto 1fr; gap: 1.5rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 2rem;
}
.panel-icon {
    width: 4rem; height: 4rem; border-radius: 16px; background: var(--tint);
    display: grid; place-items: center;
}
.panel-icon .logo { width: 2.25rem; height: 2.25rem; }
.panel h2 { font-size: 1.625rem; margin-bottom: 0.75rem; }
.panel p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 1.6rem; position: relative; margin-bottom: 0.5rem; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brass); font-weight: 700; }
@media (max-width: 35.99rem) {
    .panel { grid-template-columns: 1fr; padding: 1.5rem; }
}

/* Funktionen */
.features {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 1rem; margin-top: 2.5rem;
}
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 1.5rem; }
.feature .emoji { font-size: 1.75rem; line-height: 1; margin-bottom: 0.9rem; }
.feature h3 { font-size: 1.0625rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.9375rem; margin: 0; }

/* Zeichnungen: direkt in der Seite, in ihren Farben. Das Notenblatt ist wie in
   der App immer weiss; was darauf liegt, hat darum feste Farben. */
.steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.sketch {
    flex: 1 1 17rem; max-width: 22rem; margin: 0; background: var(--surface); border: 1px solid var(--line);
    border-radius: 16px; padding: 1.5rem;
}
.sketch svg { display: block; width: 100%; max-width: 16rem; margin: 0 auto 1.25rem; }
.sketch h3 { font-family: var(--serif); font-size: 1.1875rem; margin-bottom: 0.6rem; }
.sketch ol { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.sketch li { margin-bottom: 0.25rem; }
.sketch p { color: var(--muted); font-size: 0.9375rem; margin: 0; }
.steps.compact .sketch { flex: 1 1 13rem; max-width: 17rem; padding: 1.25rem; }
.steps.compact .sketch h3 { font-size: 1.0625rem; }
.subhead { font-family: var(--serif); font-size: 1.5rem; margin: 3.5rem 0 0.5rem; }
.note { color: var(--muted); font-size: 0.9375rem; max-width: 44rem; margin: 1.5rem auto 0; }
.sketch .device { fill: var(--line); stroke: var(--muted); stroke-width: 2; }
.sketch .sheet { fill: #fff; }
.sketch .ui { fill: var(--paper); }
.sketch .side { fill: var(--tint); }
.sketch .divider { stroke: var(--line); stroke-width: 1.5; fill: none; }
.sketch .row { fill: var(--surface); stroke: var(--line); stroke-width: 1; }
.sketch .row.hot { stroke: var(--brass); stroke-width: 2; fill: color-mix(in srgb, var(--brass) 14%, var(--surface)); }
.sketch .row.lifted { stroke: var(--brass); stroke-width: 2; }
.sketch .ghost { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-dasharray: 4 4; }
.sketch .bar { fill: var(--muted); opacity: 0.45; }
.sketch .dot { fill: var(--muted); opacity: 0.3; }
.sketch .rowtext { fill: var(--ink); font: 600 14px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.sketch .bar.strong { fill: var(--ink); opacity: 0.8; }
.sketch .icon { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.sketch .icon-on { fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.sketch .cloud { fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-dasharray: 3 2.2; stroke-linejoin: round; }
.sketch .ring-bg { fill: none; stroke: var(--line); stroke-width: 3; }
.sketch .ring { fill: none; stroke: var(--brass); stroke-width: 3; stroke-linecap: round; }
.sketch .danger { fill: var(--danger); }
.sketch .pill { fill: var(--tint); stroke: var(--line); }
.sketch .pilltext { fill: var(--muted); font: 600 13px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-anchor: middle; }
.sketch .arrow { fill: none; stroke: var(--brass); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.sketch .folder-back { fill: var(--line); stroke: var(--muted); stroke-width: 1.5; stroke-linejoin: round; }
.sketch .folder-front { fill: var(--surface); stroke: var(--muted); stroke-width: 1.5; }
.sketch .folder-mini { fill: color-mix(in srgb, var(--brass) 30%, var(--surface)); stroke: var(--brass); stroke-width: 1.5; stroke-linejoin: round; }
.sketch .page { fill: #fff; stroke: #b9b2a3; stroke-width: 1; }
.sketch .pagelines { fill: none; stroke: #b9b2a3; stroke-width: 1; }
.sketch .label { fill: var(--ink); font: 600 17px var(--serif); text-anchor: middle; }
.sketch .staff path { stroke: #b9b2a3; stroke-width: 0.8; fill: none; }
.sketch .notes ellipse { fill: #4a443a; }
.sketch .notes path { stroke: #4a443a; stroke-width: 1; fill: none; }
.sketch .zone { stroke: #8a6a1f; stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; }
.sketch .swipe { stroke: #8a6a1f; stroke-width: 2.5; stroke-linecap: round; fill: none; }
.sketch .tap { fill: #8a6a1f; stroke: #fff; stroke-width: 3; }
.sketch .num { fill: #fff; font: 600 16px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-anchor: middle; }
.sketch .on-ui .tap { fill: var(--brass); stroke: var(--surface); }
.sketch .on-ui .num { fill: var(--on-brass); }

/* Häufige Fragen */
.faq { margin-top: 2.5rem; }
.faq h3 { font-family: var(--serif); font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.faq h3:first-child { margin-top: 0; }
details {
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
    margin-bottom: 0.5rem; padding: 0 1.25rem;
}
summary { cursor: pointer; font-weight: 600; padding: 0.95rem 0; }
details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 0.9rem; }
details p, details li { color: var(--muted); }

/* Schluss */
.cta { text-align: center; }
footer.site { background: var(--tint); border-top: 1px solid var(--line); padding: 2.5rem 0 2rem; text-align: center; color: var(--muted); font-size: 0.9375rem; }
footer.site .brand { margin-bottom: 0.75rem; }
footer.site .small { font-size: 0.8125rem; margin: 0; }

/* Textseite (Datenschutz) */
.text { padding: 3.5rem 0 4rem; }
.text h1 { font-family: var(--serif); font-size: 2.25rem; line-height: 1.15; margin-bottom: 0.5rem; }
.text h2 { font-family: var(--serif); font-size: 1.375rem; margin: 2.25rem 0 0.6rem; letter-spacing: 0; }
.text .lead { color: var(--muted); font-size: 1.125rem; margin-bottom: 1rem; }
.rule { width: 3rem; height: 3px; background: var(--brass); border-radius: 2px; margin: 0 0 1.5rem; }
