/*
 * homeoffice.sweetdesk.de – Downloadseite im "Strand-Office@Home"-Design:
 * warme Sandfarben, Strand-Illustration als Hero-Hintergrund, passend zum
 * Branding der beiden Clients (SweetDesk-Office.exe/SweetDesk-Home.exe).
 */
:root {
    --bg: #fdf6ea;
    --text: #2b3a42;
    --muted: #9a8062;
    --teal: #1a7f88;
    --coral: #e0574c;
    --coral-dark: #c94a40;
    --card-bg: #ffffff;
    --card-border: #eee0cb;
}
* { box-sizing: border-box; }
html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.hero {
    position: relative;
    padding: 90px 24px 150px;
    text-align: center;
    background-image:
        linear-gradient(180deg, rgba(10, 40, 45, 0.30) 0%, rgba(10, 40, 45, 0.05) 34%, var(--bg) 78%),
        url('beach-hero.jpg');
    background-size: cover;
    background-position: center 62%;
    background-repeat: no-repeat;
}
.hero-inner { max-width: 640px; margin: 0 auto; }
.hero-logo {
    height: 46px;
    width: auto;
    margin-bottom: 14px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.35));
}
.hero h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
.hero .tagline {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #fdf6ea;
    margin: 6px 0 22px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
.hero-sub {
    font-size: 17px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

main {
    max-width: 920px;
    margin: -70px auto 0;
    padding: 0 24px 56px;
    position: relative;
}

.downloads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin: 0 0 44px;
}
@media (max-width: 640px) {
    .downloads { grid-template-columns: 1fr; }
}
.download-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 32px 26px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 10px 30px rgba(120, 90, 40, 0.10);
}
.card-icon { width: 44px; height: 44px; margin-bottom: 6px; }
.download-card h2 { margin: 0; font-size: 21px; font-weight: 800; color: var(--teal); }
.platform-hint { color: var(--muted); font-size: 12.5px; margin: 2px 0 10px; }
.card-desc { color: var(--text); font-size: 14px; line-height: 1.55; margin: 0 0 18px; }
.btn {
    display: inline-block;
    background: var(--coral);
    color: #fff;
    text-decoration: none;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(224, 87, 76, 0.30);
    transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}
.btn:hover { background: var(--coral-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(224, 87, 76, 0.38); }
.meta { color: var(--muted); font-size: 12px; margin: 12px 0 0; font-family: "SF Mono", Consolas, monospace; }
.unavailable { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.smartscreen-hint {
    margin-top: 16px;
    text-align: left;
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 10px 14px;
}
.smartscreen-hint summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.smartscreen-hint p { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 10px 0 2px; }
.smartscreen-hint strong { color: var(--text); }

.steps { margin: 60px 0 24px; text-align: center; }
.steps-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.steps-icon { width: 20px; height: 20px; }
.steps ol {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: left;
}
@media (max-width: 640px) {
    .steps ol { grid-template-columns: 1fr; }
}
.steps li {
    counter-increment: step;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 20px 18px 18px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    position: relative;
    padding-top: 46px;
    box-shadow: 0 6px 18px rgba(120, 90, 40, 0.07);
}
.steps li::before {
    content: counter(step);
    position: absolute;
    top: 14px;
    left: 18px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--teal);
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps li strong { color: var(--text); }

.site-footer {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    padding: 28px;
}
.site-footer a { color: var(--muted); }
.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 10px;
    opacity: 0.85;
}

/* --- Kaufseite (kaufen.php, 49. Vorgang) -------------------------------- */
.buy-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 36px 30px;
    max-width: 460px;
    margin: 0 auto 44px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(120, 90, 40, 0.10);
}
.buy-card h2 { margin: 0 0 8px; font-size: 21px; font-weight: 800; color: var(--teal); }
.price-tag { font-size: 38px; font-weight: 800; color: var(--text); margin: 10px 0 4px; }
.price-hint { color: var(--muted); font-size: 13px; margin: 0 0 26px; }
.buy-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    text-align: left;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0 0 20px;
}
.buy-consent input { margin-top: 3px; flex-shrink: 0; }
.buy-consent a { color: var(--teal); }
.consent-error { display: none; color: var(--coral-dark); font-size: 12.5px; margin: -12px 0 16px; }
#paypal-button-container { max-width: 320px; margin: 0 auto; }
.buy-status { display: none; text-align: left; font-size: 14px; line-height: 1.6; }
.buy-status.error { display: block; color: var(--coral-dark); background: #fdeceb; border: 1px solid #f3c9c5; border-radius: 10px; padding: 14px 16px; }
.buy-status.processing { display: block; color: var(--muted); }
.buy-code-box {
    display: none;
    background: var(--bg);
    border: 1px dashed var(--teal);
    border-radius: 12px;
    padding: 18px;
    margin-top: 6px;
    text-align: center;
}
.buy-code-box .code { font-family: "SF Mono", Consolas, monospace; font-size: 26px; font-weight: 800; letter-spacing: 0.04em; color: var(--teal); }
.buy-unavailable { color: var(--muted); font-size: 14px; }

/* --- Rechtstexte (impressum.php/datenschutz.php, 50. Vorgang) ----------- */
.legal-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 40px;
}
.legal-page .page-logo {
    display: block;
    height: 40px;
    width: auto;
    margin: 0 auto 24px;
}
.legal-page h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--teal);
    text-align: center;
    margin: 0 0 6px;
}
.legal-page .page-sub {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 40px;
}
.legal-page h2 { font-size: 19px; color: var(--teal); margin: 34px 0 10px; }
.legal-page h3 { font-size: 15px; color: var(--text); margin: 22px 0 8px; }
.legal-page p, .legal-page li { color: var(--text); font-size: 14.5px; line-height: 1.7; }
.legal-page ul { padding-left: 20px; margin: 8px 0; }
.legal-page address { font-style: normal; line-height: 1.7; }
.legal-page a { color: var(--teal); }
.legal-page .stand { color: var(--muted); font-size: 12.5px; margin-top: 40px; }
.legal-page .back-link { text-align: center; margin: 0 0 8px; }
