/* Gotox – gemeinsames Aussehen aller Sprachversionen */
:root {
    --blue-dark: #0A2A66;
    --blue: #1E5FD6;
    --red: #FF3B47;
    --text: #1a1f2e;
    --muted: #5b6475;
    --card: #ffffff;
    --background: #f4f6fb;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang HK", "Apple SD Gothic Neo", "Noto Sans", Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--background);
    line-height: 1.55;
}
a { color: var(--blue); }

/* Kopf: blauer Verlauf wie das App-Symbol */
.hero {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    text-align: center;
    padding: 72px 20px 64px;
}
.wordmark {
    position: relative;
    display: inline-block;
    font-family: ui-rounded, "SF Pro Rounded", -apple-system, "Arial Rounded MT Bold", sans-serif;
    font-weight: 800;
    font-size: clamp(64px, 15vw, 132px);
    letter-spacing: -0.04em;
    line-height: 1;
}
.wordmark::after {
    content: "";
    position: absolute;
    width: 0.17em;
    height: 0.17em;
    border-radius: 50%;
    background: var(--red);
    right: -0.2em;
    top: 0.05em;
}
.hero h1 {
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 700;
    margin: 28px auto 12px;
    max-width: 30ch;
}
.hero .lead {
    font-size: clamp(16px, 2.4vw, 19px);
    opacity: 0.88;
    margin: 0 auto;
    max-width: 46ch;
}
.badge {
    display: inline-block;
    margin-top: 28px;
    padding: 11px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 600;
}
.trial { margin-top: 14px; font-size: 15px; opacity: 0.8; }

/* Inhalt */
main { max-width: 1040px; margin: 0 auto; padding: 44px 20px 48px; }
section { margin-bottom: 40px; }
h2 { font-size: clamp(22px, 3vw, 28px); margin: 0 0 18px; color: var(--blue-dark); text-align: center; }
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}
.card {
    background: var(--card);
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(10, 42, 102, 0.07);
}
.card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    color: #fff;
    font-size: 22px;
    margin-bottom: 12px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.highlight .card { padding: 28px; }
.highlight h3 { font-size: 20px; color: var(--blue-dark); }
.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* Fuß mit Sprachwahl */
footer {
    background: #fff;
    border-top: 1px solid #e3e7ef;
    padding: 28px 20px 36px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}
footer nav { margin: 10px 0 18px; }
footer nav a { margin: 0 8px; }
.languages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.languages a { text-decoration: none; color: var(--muted); }
.languages a[aria-current="page"] { color: var(--blue); font-weight: 700; }

/* Rechtliche Seiten */
.legal main { max-width: 720px; margin: 40px auto; }
.legal .card { padding: 32px; }
.legal h1 { margin-top: 0; color: var(--blue-dark); }
.legal h2 { text-align: left; font-size: 18px; margin: 26px 0 6px; }
.legal p, .legal li { color: var(--text); }

/* Arabisch: von rechts nach links – der Schriftzug bleibt wie im Logo */
[dir="rtl"] body { font-family: -apple-system, "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif; }
[dir="rtl"] .wordmark { direction: ltr; }
[dir="rtl"] .legal h2 { text-align: right; }
:lang(hi) body { font-family: -apple-system, "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif; }

/* Ghost Image: Kernaussage, Erklärung als gelbes Post-it (wie die Tipps in der App) */
details.card summary { list-style: none; cursor: pointer; }
details.card summary::-webkit-details-marker { display: none; }
.card .claim { color: var(--blue-dark); font-weight: 700; font-size: 16px; }
.card .hint { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--blue); font-weight: 600; }
.card .hint::after { content: " ›"; }
details[open] .hint { display: none; }
.postit {
    margin: 14px 0 0;
    padding: 14px 16px;
    background: linear-gradient(#FFEE73, #FFE059);
    color: #47380d !important;
    font-family: "Noteworthy", "Segoe Print", "Comic Sans MS", cursive;
    font-size: 16px !important;
    line-height: 1.4;
    transform: rotate(-1.5deg);
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.18);
    border-top: 10px solid rgba(0, 0, 0, 0.05);
}
:lang(zh) .postit, :lang(ko) .postit, :lang(hi) .postit, :lang(ar) .postit { font-family: inherit; }
