/* shAreGENT — Farben und Formen stammen aus dem App-Icon:
   Verlauf von Türkis über Blau und Lila nach Rosa, dazu das Orange der
   mittleren Figur und das Nachtblau des Robotergesichts. */

:root {
    --tuerkis:  #92d8de;
    --blau:     #82b8e4;
    --indigo:   #859bdf;
    --lila:     #b298cb;
    --violett:  #8769c1;
    --rosa:     #e9aca6;
    --teal:     #3b9eab;
    --orange:   #f3aa3c;
    --nacht:    #112741;

    --grund:      #f7f9fc;
    --karte:      #ffffff;
    --text:       #16273c;
    --text-leise: #5b6b80;
    --linie:      rgba(17, 39, 65, 0.10);
    --schatten:   0 1px 2px rgba(17, 39, 65, .04), 0 8px 24px rgba(17, 39, 65, .06);
    --akzent:     #4a7fd0;

    --rund:   22px;
    --breite: 1080px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --grund:      #0e1826;
        --karte:      #16243a;
        --text:       #eaf0f8;
        --text-leise: #9fb0c6;
        --linie:      rgba(255, 255, 255, 0.12);
        --schatten:   0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
        --akzent:     #9dc2f5;
    }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--grund);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.mitte { width: min(100% - 2.5rem, var(--breite)); margin-inline: auto; }

a { color: var(--akzent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1.1em; }

/* ---------------------------------------------------------------- Kopfzeile */

.kopf {
    position: sticky; top: 0; z-index: 10;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    background: color-mix(in srgb, var(--grund) 82%, transparent);
    border-bottom: 1px solid var(--linie);
}
.kopf .mitte {
    display: flex; align-items: center; gap: 1rem;
    min-height: 64px; flex-wrap: wrap;
}
.marke {
    display: inline-flex; align-items: center; gap: .6rem;
    font-weight: 800; font-size: 1.1rem; color: var(--text);
    text-decoration: none; letter-spacing: -0.01em;
}
.marke img { width: 32px; height: 32px; border-radius: 8px; display: block; }
.kopf nav { margin-left: auto; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.kopf nav a {
    color: var(--text-leise); text-decoration: none;
    font-size: .95rem; font-weight: 600;
}
.kopf nav a:hover { color: var(--text); }

/* -------------------------------------------------------------------- Bühne */

.buehne {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg,
        var(--tuerkis) 0%, var(--blau) 34%, var(--indigo) 55%,
        var(--lila) 76%, var(--rosa) 100%);
    color: #0f2338;
    padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem);
}
.buehne::after {
    /* weicher Übergang in die Seite, damit der Verlauf nicht abbricht */
    content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
    background: linear-gradient(to bottom, transparent, var(--grund));
    pointer-events: none;
}
.buehne .mitte {
    position: relative; z-index: 1;
    display: grid; gap: clamp(2rem, 5vw, 3.5rem);
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 860px) {
    .buehne .mitte { grid-template-columns: 1.15fr .85fr; }
}
.buehne h1 { color: #0d2036; max-width: 15ch; }
.buehne .vorspann {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    color: rgba(15, 35, 56, .82);
    max-width: 42ch;
}
.buehne img.schau {
    width: min(100%, 320px); height: auto; display: block;
    margin-inline: auto;
    border-radius: 26%;
    box-shadow: 0 18px 50px rgba(17, 39, 65, .28);
}

.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.knopf {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .8rem 1.5rem; border-radius: 999px;
    font-weight: 700; text-decoration: none; font-size: 1rem;
    border: 1.5px solid transparent;
}
.knopf.voll { background: var(--nacht); color: #fff; }
.knopf.voll:hover { background: #1d3c5e; }
.knopf.leer {
    background: rgba(255, 255, 255, .55);
    color: #0f2338; border-color: rgba(15, 35, 56, .18);
}
.knopf.leer:hover { background: rgba(255, 255, 255, .8); }

.hinweis-band {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .6);
    border-radius: 999px; padding: .35rem 1rem;
    font-size: .85rem; font-weight: 650; color: #0f2338;
    margin-bottom: 1.4rem;
}
.punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---------------------------------------------------------------- Abschnitte */

section { padding: clamp(3rem, 7vw, 5rem) 0; }
.abschnittskopf { max-width: 46ch; margin-bottom: 2.5rem; }
.abschnittskopf p { color: var(--text-leise); margin-bottom: 0; }

.raster {
    display: grid; gap: 1.2rem;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.karte {
    background: var(--karte);
    border: 1px solid var(--linie);
    border-radius: var(--rund);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--schatten);
}
.karte p:last-child { margin-bottom: 0; }
.karte p { color: var(--text-leise); font-size: .97rem; }

.zeichen {
    width: 46px; height: 46px; border-radius: 14px;
    display: grid; place-items: center; margin-bottom: 1rem;
}
.zeichen svg { width: 24px; height: 24px; }
.f-teal    { background: rgba(59, 158, 171, .14);  color: var(--teal); }
.f-blau    { background: rgba(130, 184, 228, .18); color: #3d7cc0; }
.f-violett { background: rgba(135, 105, 193, .15); color: var(--violett); }
.f-orange  { background: rgba(243, 170, 60, .16);  color: #c1801f; }
.f-rosa    { background: rgba(233, 172, 166, .22); color: #c2716a; }
.f-nacht   { background: rgba(17, 39, 65, .09);    color: var(--nacht); }
@media (prefers-color-scheme: dark) {
    .f-blau  { color: #9dc2f5; }
    .f-nacht { background: rgba(255, 255, 255, .1); color: #e6eefa; }
    .f-orange { color: var(--orange); }
    .f-violett { color: #b79ae8; }
    .f-teal { color: #6ecfd8; }
    .f-rosa { color: #f0b8b2; }
}

/* Der Streifen mit den drei Grundsätzen */
.band {
    background: linear-gradient(120deg,
        rgba(146, 216, 222, .28), rgba(134, 155, 223, .24), rgba(233, 172, 166, .26));
    border-radius: calc(var(--rund) + 8px);
    padding: clamp(2rem, 5vw, 3rem);
}
.band .raster { gap: 2rem; }
.band h3 { margin-bottom: .4rem; }
.band p { color: var(--text-leise); font-size: .97rem; margin-bottom: 0; }

/* --------------------------------------------------------------- Rechtstexte */

.rechtstext { max-width: 74ch; padding-top: 3rem; }
.rechtstext h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: .3em; }
.rechtstext h2 {
    font-size: 1.25rem; margin-top: 2.4rem;
    padding-top: 1.6rem; border-top: 1px solid var(--linie);
}
.rechtstext h3 { font-size: 1.02rem; margin-top: 1.8rem; }
.rechtstext ul { padding-left: 1.3rem; margin: 0 0 1.1em; }
.rechtstext li { margin-bottom: .45em; }
.rechtstext .stand { color: var(--text-leise); font-size: .9rem; }
.rechtstext dl { margin: 0 0 1.2em; }
.rechtstext dt { font-weight: 700; margin-top: .9em; }
.rechtstext dd { margin: 0; color: var(--text-leise); }

.merke {
    background: var(--karte);
    border: 1px solid var(--linie);
    border-left: 4px solid var(--orange);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    font-size: .95rem;
}
.merke p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ Fusszeile */

.fuss {
    border-top: 1px solid var(--linie);
    padding: 2.5rem 0 3rem;
    color: var(--text-leise); font-size: .92rem;
}
.fuss .mitte { display: flex; gap: 1rem 1.6rem; flex-wrap: wrap; align-items: center; }
.fuss nav { margin-left: auto; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.fuss a { color: var(--text-leise); text-decoration: none; }
.fuss a:hover { color: var(--text); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
