@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --deep: #063852;
    --depth-dark: #041c2c;
    --sea: #0a7ea4;
    --accent: #3ddc84;
    --foam: #eaf6f9;
    --sand: #f7f3ea;
    --ink: #0b1f2e;
    --muted: #5c7789;
    --radius: 20px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--sand);
    color: var(--ink);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    margin: 0;
}

a { text-decoration: none; color: inherit; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    background: linear-gradient(160deg, var(--deep) 0%, var(--sea) 55%, var(--deep) 100%);
    padding: 72px 24px 90px;
    overflow: hidden;
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-mark {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tagline {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    margin-top: 14px;
    line-height: 1.5;
}

.hero-cta {
    display: inline-block;
    margin-top: 20px;
    background: rgba(255,255,255,0.14);
    border: 1.5px solid rgba(255,255,255,0.5);
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 30px;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.hero-cta:hover, .hero-cta:focus-visible {
    background: rgba(255,255,255,0.24);
    border-color: #fff;
    outline: none;
}

/* Tauchprofil-Welle: Signature-Element -- trennt Hero und Inhalt mit
   einer sanften Wellenlinie, die an die Wasseroberflaeche erinnert. */
.depth-line {
    display: block;
    width: 100%;
    height: 90px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
}

.depth-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    animation: rise 14s linear infinite;
}
.b1 { width: 10px; height: 10px; left: 8%;  top: 100%; animation-delay: 0s; }
.b2 { width: 16px; height: 16px; left: 22%; top: 100%; animation-delay: 3s; }
.b3 { width: 7px;  height: 7px;  left: 55%; top: 100%; animation-delay: 6s; }
.b4 { width: 13px; height: 13px; left: 78%; top: 100%; animation-delay: 2s; }
.b5 { width: 9px;  height: 9px;  left: 90%; top: 100%; animation-delay: 9s; }

@keyframes rise {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    5%   { opacity: 0.8; }
    95%  { opacity: 0.3; }
    100% { transform: translateY(-100vh) translateX(12px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .bubble { animation: none; display: none; }
}

/* ---------- Grid ---------- */

main {
    max-width: 980px;
    margin: -40px auto 0;
    padding: 0 20px 60px;
    position: relative;
    z-index: 2;
}

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

.tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.08);
    border: 1px solid rgba(6, 56, 82, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-card:hover,
.tool-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(6, 56, 82, 0.16);
    border-color: var(--sea);
    outline: none;
}

.tool-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(6, 56, 82, 0.18);
}
.tool-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tool-body { flex: 1; min-width: 0; }
.tool-body h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--deep);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.price-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #fdf3dc;
    color: #a3701f;
    white-space: nowrap;
}
.price-badge.free {
    background: #e0f5ea;
    color: #0f7a4a;
}
.price-badge.app {
    background: #e6effa;
    color: #1a5ca8;
}
.tool-body p {
    margin: 4px 0 0;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.4;
}

.tool-arrow {
    flex-shrink: 0;
    font-size: 1.3rem;
    color: var(--sea);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.tool-card:hover .tool-arrow,
.tool-card:focus-visible .tool-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Footer ---------- */

footer {
    text-align: center;
    padding: 30px 20px 50px;
    color: var(--muted);
    font-size: 0.85rem;
    position: relative;
    z-index: 2;
}
footer a { color: var(--sea); font-weight: 500; }

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.82rem;
}
.legal-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.legal-links a:hover, .legal-links a:focus-visible { color: var(--sea); }
.legal-links span { color: var(--muted); opacity: 0.5; }

@media (max-width: 480px) {
    .hero { padding: 56px 18px 80px; }
    .tool-card { padding: 14px; gap: 12px; }
    .tool-icon { width: 52px; height: 52px; border-radius: 13px; }
}

/* ---------- Preisseite ---------- */

.hero-small { padding-bottom: 70px; }
.back-link {
    display: inline-block;
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-decoration: none;
}
.back-link:hover { color: #fff; }

.steps-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: -30px auto 30px;
    max-width: 980px;
    position: relative;
    z-index: 2;
}
.step {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.08);
}
.step-num {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sea);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}
.step strong { color: var(--deep); display: block; margin-bottom: 3px; }
.step p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }

.email-box {
    max-width: 980px;
    margin: 0 auto 26px;
    background: #fff;
    border-radius: var(--radius);
    padding: 18px 20px;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.08);
}
.email-box label { display: block; margin-bottom: 8px; color: var(--deep); font-size: 0.92rem; }
.email-box input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.5px solid #dde6e9;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}
.email-box input:focus { outline: none; border-color: var(--sea); }
.email-box .pack-meta { margin: 8px 0 0; }

.section-title {
    max-width: 980px;
    margin: 0 auto 14px;
    color: var(--deep);
    font-size: 1.15rem;
}

.bundle-card {
    max-width: 980px;
    margin: 0 auto 34px;
    background: linear-gradient(135deg, var(--deep), var(--sea));
    border-radius: var(--radius);
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: #fff;
    box-shadow: 0 12px 30px rgba(6, 56, 82, 0.25);
}
.bundle-label {
    display: inline-block;
    background: var(--accent, #3ddc84);
    color: #063852;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.bundle-info h2 { color: #fff; font-size: 1.3rem; margin: 0 0 6px; }
.bundle-info p { margin: 0 0 14px; color: rgba(255,255,255,0.82); font-size: 0.88rem; max-width: 480px; }
.bundle-price { font-family: 'Space Grotesk', sans-serif; font-size: 1.8rem; font-weight: 700; }
.bundle-price-note {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: rgba(255,255,255,0.75);
    margin-top: 2px;
}

.price-module-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    background: #fff;
    border-radius: var(--radius);
    padding: 20px 16px;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.08);
}
.price-module-card .tool-icon { width: 56px; height: 56px; }
.price-module-card .tool-body h2 { justify-content: center; font-size: 1rem; }
.price-module-card .tool-body p { font-size: 0.82rem; margin: 4px 0 0; }
.price-module-card.free { opacity: 0.9; }

.paypal-form { width: 100%; margin-top: 4px; }
.btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    background: var(--sea);
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { background: var(--deep); }
.btn.secondary { background: #fff; color: var(--sea); border: 1.5px solid var(--sea); }
.btn.secondary:hover { background: var(--foam); }
.paypal-btn {
    width: 100%;
    background: #0070ba;
    border: none;
}
.paypal-btn:hover { background: #005ea6; }

.why-intro {
    max-width: 760px;
    margin: -10px auto 34px;
    background: #fff;
    border-radius: var(--radius);
    padding: 22px 26px;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.08);
    position: relative;
    z-index: 2;
}
.why-intro p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink, #0b1f2e);
}
.why-intro strong { color: var(--deep); }

.price-module-card .why-text {
    font-size: 0.84rem;
    line-height: 1.5;
    color: var(--ink, #0b1f2e);
    text-align: left;
    margin: 6px 0 8px;
}
.price-module-card .what-text {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--muted);
    text-align: left;
    margin: 0 0 10px;
}
.price-module-card .what-text strong { color: var(--deep); }

.withdrawal-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f3;
    cursor: pointer;
}
.withdrawal-consent input {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}
.withdrawal-consent span {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--muted);
}
.withdrawal-consent a { color: var(--sea); }

/* ---------- Rechtstexte (AGB, Widerrufsbelehrung) ---------- */

.legal-content {
    max-width: 760px;
    margin: -20px auto 40px;
    background: #fff;
    border-radius: var(--radius);
    padding: 30px 34px;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.08);
    position: relative;
    z-index: 2;
}
.legal-content h2 {
    color: var(--deep);
    font-size: 1.05rem;
    margin: 28px 0 10px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink, #0b1f2e);
    margin: 0 0 12px;
}
.legal-content ul { margin: 0 0 12px; padding-left: 22px; }
.legal-content li { font-size: 0.9rem; line-height: 1.6; margin-bottom: 6px; }
.legal-content a { color: var(--sea); }
.legal-content hr { border: none; border-top: 1px solid #eef2f3; margin: 30px 0; }
.legal-address {
    background: var(--sand, #f7f3ea);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem !important;
}
.legal-placeholder-block {
    background: #fdf3dc;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.88rem !important;
    color: #a3701f !important;
}
.legal-stand { color: var(--muted); font-size: 0.82rem !important; margin-top: 30px; }

@media (max-width: 480px) {
    .legal-content { padding: 22px 18px; }
}

.sso-tip {
    max-width: 980px;
    margin: 0 auto 26px;
    background: #eef7f4;
    border: 1px solid #cfe8de;
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--ink, #0b1f2e);
}
.sso-tip strong { color: var(--deep); }

/* ---------- Kaufoptionen: Web / Web+App ---------- */

.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
}
.purchase-option {
    border: 1px solid #eef2f3;
    border-radius: 10px;
    padding: 10px;
}
.po-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 6px;
    text-align: center;
}

.bundle-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}
.bundle-option {
    flex: 1;
    min-width: 220px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 14px;
}

/* ---------- Demo-Zugang ---------- */

.demo-box {
    max-width: 980px;
    margin: -30px auto 34px;
    background: #fff;
    border: 1.5px solid #cfe0e6;
    border-radius: var(--radius);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.08);
    position: relative;
    z-index: 2;
}
.demo-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.demo-text { flex: 1; min-width: 220px; }
.demo-text h2 {
    font-size: 1.05rem;
    color: var(--deep);
    margin: 0 0 4px;
}
.demo-text p {
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
}
.demo-text strong { color: var(--deep); }

.demo-creds {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.demo-cred {
    background: var(--sand, #f7f3ea);
    border-radius: 10px;
    padding: 8px 16px;
    text-align: center;
    min-width: 110px;
}
.demo-cred-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    margin-bottom: 2px;
}
.demo-cred-value {
    display: block;
    font-family: 'Space Grotesk', monospace;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--sea);
}

@media (max-width: 480px) {
    .demo-box { flex-direction: column; text-align: center; margin-top: -20px; }
}

/* ---------- Installierbarkeits-Hinweis ---------- */

.install-note {
    max-width: 900px;
    margin: 0 auto 30px;
    background: #fff;
    border: 1.5px solid #cfe0e6;
    border-radius: var(--radius);
    padding: 18px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(6, 56, 82, 0.06);
}
.install-note-icon { font-size: 1.8rem; flex-shrink: 0; }
.install-note strong { color: var(--deep); }
.install-note p { margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
