/* Lagath Media – Website
   Aufbau wie die Website von Lagath Rechnungen. Farben wie in der App:
   Akzent Lila (Systemfarbe Purple), Hell/Dunkel automatisch. */

:root {
    --akzent:       #9441c4;
    --akzent-hover: #7a33a3;
    --akzent-leise: #f3eafa;
    --grund:        #ffffff;
    --flaeche:      #f5f5f7;
    --karte:        #ffffff;
    --rand:         #e3e3e8;
    --text:         #1d1d1f;
    --text-leise:   #6e6e73;
    --schatten:     0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
}

@media (prefers-color-scheme: dark) {
    :root {
        --akzent:       #bf5af2;
        --akzent-hover: #cf7af7;
        --akzent-leise: #2a1838;
        --grund:        #111113;
        --flaeche:      #1a1a1d;
        --karte:        #202024;
        --rand:         #2e2e33;
        --text:         #f5f5f7;
        --text-leise:   #a1a1a6;
        --schatten:     0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .35);
    }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--grund);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
}

a { color: var(--akzent); }
a:hover { color: var(--akzent-hover); }

.breite {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Navigation ---------- */

.leiste {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--grund) 82%, transparent);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--rand);
}

.leiste .breite {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    gap: 16px;
}

.leiste .name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.leiste .name img { width: 28px; height: 28px; }

.leiste nav {
    display: flex;
    gap: 22px;
    font-size: 14px;
}

.leiste nav a {
    color: var(--text-leise);
    text-decoration: none;
    white-space: nowrap;
}

.leiste nav a:hover { color: var(--text); }
.leiste nav a.button, .leiste nav a.button:hover { color: #fff; }

.leiste .rechts {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Sprachumschalter: auch auf dem Handy sichtbar, wenn die übrige
   Navigation ausgeblendet ist. */
.leiste .sprache {
    font-size: 14px;
    color: var(--text-leise);
    text-decoration: none;
    white-space: nowrap;
    padding-left: 22px;
    border-left: 1px solid var(--rand);
}

.leiste .sprache:hover { color: var(--text); }

@media (max-width: 640px) {
    .leiste nav { display: none; }
    .leiste .sprache { padding-left: 0; border-left: 0; }
}

/* ---------- Kopf ---------- */

.kopf {
    text-align: center;
    padding: 72px 0 80px;
}

.kopf .icon {
    width: 144px;
    height: 144px;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .18));
}

.kopf h1 {
    font-size: clamp(40px, 7vw, 64px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 24px 0 12px;
}

.kopf .unterzeile {
    font-size: clamp(19px, 2.6vw, 24px);
    color: var(--text-leise);
    max-width: 680px;
    margin: 0 auto 32px;
    line-height: 1.4;
}

.button {
    display: inline-block;
    background: var(--akzent);
    color: #fff;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: background .15s;
}

.button:hover { background: var(--akzent-hover); color: #fff; }

.button.klein { padding: 7px 16px; font-size: 14px; }

.kopf .hinweis {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-leise);
}

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

section { padding: 88px 0; }
section.flaeche { background: var(--flaeche); }

.titel {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.titel .dach {
    display: block;
    color: var(--akzent);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 8px;
}

.titel h2 {
    font-size: clamp(30px, 4.5vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 14px;
}

.titel p {
    color: var(--text-leise);
    font-size: 19px;
    margin: 0;
}

/* ---------- Karten ---------- */

.raster {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* neun Funktionen: drei Spalten statt vier */
.raster.drei { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }

.karte {
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--schatten);
}

.karte .zeichen {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--akzent-leise);
    color: var(--akzent);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}

.karte .zeichen svg { width: 24px; height: 24px; }

.karte h3 {
    font-size: 19px;
    margin: 0 0 8px;
}

.karte p {
    margin: 0;
    color: var(--text-leise);
    font-size: 16px;
}

/* ---------- Zwei Spalten ---------- */

.zweispaltig {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 820px) {
    .zweispaltig { grid-template-columns: 1fr; gap: 28px; }
}

.liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.liste li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
}

.liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--akzent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.formate {
    display: grid;
    gap: 16px;
}

.format {
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: 16px;
    padding: 20px 22px;
}

.format h3 { margin: 0 0 4px; font-size: 18px; }
.format p { margin: 0; color: var(--text-leise); font-size: 16px; }

.format .marke {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--akzent);
    background: var(--akzent-leise);
    border-radius: 6px;
    padding: 2px 8px;
    margin-bottom: 8px;
}

/* ---------- Schritte ---------- */

.schritte {
    counter-reset: schritt;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.schritte li {
    counter-increment: schritt;
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: 18px;
    padding: 24px;
}

.schritte li::before {
    content: counter(schritt);
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--akzent);
    color: #fff;
    font-weight: 700;
    margin-bottom: 14px;
}

.schritte h3 { margin: 0 0 6px; font-size: 18px; }
.schritte p { margin: 0; color: var(--text-leise); font-size: 16px; }

/* ---------- Laden ---------- */

.laden-kasten {
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: var(--schatten);
    max-width: 760px;
    margin: 0 auto;
}

.laden-kasten img { width: 96px; height: 96px; }
.laden-kasten h2 { font-size: 34px; margin: 16px 0 0; }
.laden-kasten .version { color: var(--text-leise); margin: 0 0 28px; }

.anforderungen {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    color: var(--text-leise);
}

.zubehoer {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--rand);
    font-size: 15px;
    color: var(--text-leise);
}

/* ---------- Fragen ---------- */

.fragen {
    max-width: 760px;
    margin: 0 auto;
}

.fragen details {
    border-bottom: 1px solid var(--rand);
    padding: 18px 0;
}

.fragen summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.fragen summary::-webkit-details-marker { display: none; }

.fragen summary::after {
    content: "+";
    color: var(--akzent);
    font-weight: 400;
    font-size: 24px;
    line-height: 1;
}

.fragen details[open] summary::after { content: "–"; }

.fragen details p {
    margin: 10px 0 0;
    color: var(--text-leise);
}

/* ---------- Fuß ---------- */

.fuss {
    border-top: 1px solid var(--rand);
    padding: 32px 0 48px;
    font-size: 14px;
    color: var(--text-leise);
}

.fuss .breite {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
}

.fuss a { color: var(--text-leise); }
.fuss a:hover { color: var(--text); }

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

.text {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 80px;
}

.text h1 { font-size: 40px; letter-spacing: -0.015em; margin: 0 0 32px; }
.text h2 { font-size: 26px; margin: 48px 0 12px; }
.text h3 { font-size: 19px; margin: 28px 0 8px; }
.text address { font-style: normal; }
.text p, .text li { color: var(--text); }
