/* ============================================================
   SHORTCUT CREATOR – Gemeinsames Stylesheet
   ============================================================ */

/* VARIABLEN ================================================= */
:root {
    --accent:      #625bd6;
    --accent-dark: #494b8f;
    --surface:     #f8f8ff;
    --panel:       #e7e7f0;
    --text:        #17171d;
    --muted:       #666775;
    --line:        #ddddeb;
    --white:       #ffffff;
    --radius:      16px;
    --page-max:    1040px;
    --shadow-sm:   0 2px 12px rgba(23,23,29,0.07);
    --shadow:      0 6px 28px rgba(23,23,29,0.09);
}

/* RESET ===================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #f0f0f6;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

/* HEADER ==================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(23,23,29,0.07);
}

.topbar {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 66px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.brand-text strong {
    display: block;
    font-size: 17px;
    color: var(--accent-dark);
    line-height: 1.1;
}

.brand-text small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    max-width: 230px;
}

.nav-links {
    display: flex;
    gap: 2px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: background 100ms, color 100ms;
}

.nav-links a:hover {
    background: var(--surface);
    color: var(--text);
}

.nav-links a.active {
    background: var(--surface);
    color: var(--accent);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-right .win-label {
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
}

/* BUTTONS =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    padding: 0 22px;
    height: 46px;
    font-size: 15px;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 100ms, box-shadow 100ms, background 100ms;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 18px rgba(98,91,214,0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(98,91,214,0.38);
}

.btn-ghost {
    background: var(--white);
    color: var(--text);
    border-color: var(--line);
}

.btn-ghost:hover {
    background: var(--surface);
}

.btn-sm {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-lg {
    height: 54px;
    padding: 0 32px;
    font-size: 17px;
    border-radius: 11px;
}

/* LAYOUT ==================================================== */
.page-wrap {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.tag-label {
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
}

.page-title {
    font-size: clamp(28px, 4vw, 44px);
    color: var(--text);
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.55;
}

/* FOOTER ==================================================== */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 18px 24px;
}

.site-footer-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

/* ============================================================
   START-SEITE
   ============================================================ */

.hero {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 52px;
    align-items: center;
    padding: 64px 0 52px;
}

.hero-title {
    font-size: clamp(32px, 4.5vw, 52px);
    margin-bottom: 18px;
}

.hero-tagline {
    font-size: 18px;
    color: var(--muted);
    max-width: 440px;
    line-height: 1.55;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 18px;
}

.win-note {
    font-size: 13px;
    color: var(--muted);
}

/* App-Vorschau im Hero */
.app-preview {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(23,23,29,0.1);
    background: var(--white);
}

.app-titlebar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.tbar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--panel);
}

.tbar-dot.green { background: #51cf66; }

.tbar-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 6px;
}

.app-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.app-keyboard {
    padding: 18px;
    border-right: 1px solid var(--line);
}

.app-kb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.app-key {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 9px;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
}

.app-key.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.app-panel {
    padding: 18px;
}

.app-panel-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

.app-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 7px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 5px;
}

.app-action.sel {
    background: var(--surface);
    font-weight: 700;
    color: var(--accent);
}

.app-action-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ============================================================
   DOWNLOAD-SEITE
   ============================================================ */

.dl-header {
    text-align: center;
    padding: 52px 0 40px;
}

.dl-header .page-subtitle {
    margin: 0 auto;
}

.dl-card {
    max-width: 480px;
    margin: 0 auto 52px;
    padding: 40px 32px;
    text-align: center;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.dl-card .btn-lg {
    width: 100%;
    max-width: 320px;
    margin-bottom: 12px;
}

.win-badge {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.download-note {
    max-width: 620px;
    margin: -28px auto 44px;
    padding: 14px 18px;
    border: 1px solid #e4e4ef;
    border-radius: 14px;
    background: #fbfbff;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.dl-steps-label {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 28px;
}

.dl-steps {
    display: grid;
    grid-template-columns: 1fr 48px 1fr 48px 1fr;
    align-items: start;
    gap: 0;
    max-width: 720px;
    margin: 0 auto 64px;
}

.dl-step {
    text-align: center;
    padding: 0 8px;
}

.dl-step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 4px 14px rgba(98,91,214,0.3);
}

.dl-step h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.dl-step p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.45;
}

.dl-step-arrow {
    display: flex;
    align-items: flex-start;
    padding-top: 15px;
    justify-content: center;
    color: var(--accent);
}

/* ============================================================
   ANLEITUNG-SEITE
   ============================================================ */

.guide-intro {
    padding: 52px 0 32px;
}

.guide-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 64px;
}

.guide-card {
    display: grid;
    grid-template-columns: 76px 1fr 1fr;
    overflow: hidden;
    border-radius: var(--radius);
}

.guide-num {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 12px 28px 20px;
}

.guide-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(98,91,214,0.28);
}

.guide-info {
    padding: 28px 20px 28px 0;
    border-right: 1px solid var(--line);
}

.guide-info h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.guide-info p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
}

/* Visual column */
.guide-visual {
    position: relative;
    padding: 20px;
    background: #fafafe;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    overflow: hidden;
}

/* Mini-App-Mockup */
.mock-win {
    width: 100%;
    max-width: 260px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.09);
    font-size: 12px;
}

.mock-tb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.mock-d {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--panel);
    flex-shrink: 0;
}

.mock-d.g { background: #51cf66; }

.mock-tb-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--muted);
    margin-left: 4px;
}

.mock-body {
    padding: 12px;
}

/* Mock-Elemente */
.mock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 7px;
    background: var(--surface);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.mock-sdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--muted);
}

.mock-sdot.green { background: #51cf66; }

.mock-connect-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    cursor: default;
}

.mock-kb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.mock-key {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
}

.mock-key.hl {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(98,91,214,0.35);
}

.mock-action {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 9px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 4px;
}

.mock-action .mock-d { background: var(--muted); }

.mock-action.hl {
    background: var(--surface);
    font-weight: 700;
    color: var(--accent);
}

.mock-action.hl .mock-d { background: var(--accent); }

.mock-send-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: var(--accent);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
    cursor: default;
    box-shadow: 0 3px 10px rgba(98,91,214,0.3);
}

.mock-profile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border: 1.5px solid var(--accent);
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
}

.mock-chevron {
    font-size: 10px;
    color: var(--muted);
}

/* Annotation / Callout */
.callout {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.callout-label {
    background: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(98,91,214,0.3);
}

/* Pfeile als SVG – werden inline in HTML geschrieben */
.callout svg {
    flex-shrink: 0;
    overflow: visible;
}

/* Kleines Desktop-Icon-Mockup */
.mock-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px;
    border: 2px dashed var(--accent);
    border-radius: 12px;
    background: rgba(98,91,214,0.04);
    min-width: 90px;
    text-align: center;
}

.mock-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
}

.mock-icon-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text);
}

/* ============================================================
   FAQ-SEITE
   ============================================================ */

.faq-intro {
    padding: 52px 0 32px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 64px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 1px 6px rgba(23,23,29,0.04);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: background 100ms;
}

.faq-item summary:hover { background: var(--surface); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 180ms, background 120ms;
    line-height: 1;
    user-select: none;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    background: var(--accent);
    color: var(--white);
}

.faq-answer {
    padding: 14px 22px 18px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    border-top: 1px solid var(--line);
}

/* ============================================================
   PROJEKT-SEITE
   ============================================================ */

.projekt-intro {
    padding: 52px 0 32px;
}

.projekt-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.projekt-card {
    padding: 28px;
}

.projekt-card h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 10px;
}

.projekt-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

.projekt-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 64px;
}

.projekt-fact {
    padding: 22px;
    text-align: center;
}

.projekt-fact-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.projekt-fact-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 0 32px;
        gap: 32px;
    }

    .app-preview { max-width: 380px; }

    .dl-steps {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 8px;
        margin-left: auto;
        margin-right: auto;
    }

    .dl-step-arrow {
        transform: rotate(90deg);
        padding-top: 0;
        padding-left: 0;
        justify-content: center;
    }

    .guide-card {
        grid-template-columns: auto 1fr;
    }

    .guide-visual {
        grid-column: 1 / -1;
        min-height: 200px;
    }

    .projekt-cards,
    .projekt-facts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .brand-text small { display: none; }
    .header-right .win-label { display: none; }

    .page-wrap { padding: 28px 16px 56px; }

    .hero-cta { flex-direction: column; align-items: flex-start; }

    .dl-card { padding: 24px 16px; }
    .dl-card .btn-lg { max-width: none; }
}

@media (max-width: 480px) {
    .topbar { padding: 0 12px; }
    .nav-links a { padding: 6px 9px; font-size: 13px; }
    .guide-card { grid-template-columns: 1fr; }
    .guide-num { padding: 20px 20px 0; }
    .guide-info { padding: 12px 20px 20px; border-right: none; }
}

/* ============================================================
   CLEANER FEINSCHLIFF
   Ruhigere Flaechen, weichere Karten und weniger visuelle Last.
   ============================================================ */

:root {
    --radius: 18px;
    --page-max: 1020px;
    --shadow-sm: 0 1px 8px rgba(23, 23, 29, 0.045);
    --shadow: 0 12px 34px rgba(23, 23, 29, 0.075);
}

body {
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfbff 46%, #ffffff 100%);
}

.site-header {
    border-bottom: none;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    box-shadow: none;
}

.topbar {
    height: 72px;
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 32px rgba(23, 23, 29, 0.055);
}

.brand img {
    width: 34px;
    height: 34px;
}

.brand-text strong {
    color: var(--text);
    font-size: 18px;
}

.brand-text small {
    color: #777887;
}

.nav-links a {
    border-radius: 999px;
    color: #4d4f5f;
    font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
    background: #f1f0ff;
    color: var(--accent);
}

.btn {
    border-radius: 11px;
}

.btn-primary {
    box-shadow: 0 8px 18px rgba(98, 91, 214, 0.18);
}

.btn-primary:hover {
    box-shadow: 0 12px 24px rgba(98, 91, 214, 0.24);
}

.page-wrap {
    padding-top: 44px;
}

.hero {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    padding: 54px 0 46px;
}

.hero-title {
    max-width: 560px;
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: 0;
}

.hero-tagline {
    max-width: 480px;
    color: #5f6272;
}

.tag-label {
    background: #f1f0ff;
    color: var(--accent);
}

.card,
.dl-card,
.guide-card,
.faq-item {
    border-color: #e4e4ef;
    box-shadow: var(--shadow-sm);
}

.app-preview {
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.app-titlebar {
    background: #fbfbff;
}

.app-key,
.mock-key {
    border-color: transparent;
    background: #ffffff;
}

.app-keyboard,
.app-panel {
    background: var(--panel);
}

.app-action.sel,
.mock-action.hl,
.mock-status,
.mock-profile {
    background: #f3f2ff;
}

.dl-card {
    max-width: 460px;
}

.dl-step-num,
.guide-badge {
    box-shadow: 0 6px 16px rgba(98, 91, 214, 0.2);
}

.guide-list {
    gap: 16px;
}

.guide-card {
    border-radius: 18px;
}

.guide-visual {
    background: #fbfbff;
}

.mock-win {
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(23, 23, 29, 0.08);
}

.callout-label {
    border: 1px solid #d8d5ff;
    background: #ffffff;
    color: var(--accent);
    box-shadow: 0 6px 16px rgba(98, 91, 214, 0.12);
}

.mock-desktop {
    border-width: 1px;
    background: #fbfbff;
}

.faq-item {
    border-radius: 16px;
    overflow: hidden;
}

.faq-item summary {
    transition: background 120ms ease;
}

.faq-answer {
    background: #ffffff;
}

.site-footer {
    margin-top: 18px;
}

@media (min-width: 1120px) {
    .page-wrap,
    .topbar,
    .site-footer-inner {
        max-width: var(--page-max);
    }
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .app-preview {
        max-width: 420px;
    }
}
