/* ============================================================
   Abnehmspritze Frankfurt — Stylesheet
   ============================================================ */

:root {
    --navy: #1f3a5f;
    --navy-dark: #16283f;
    --navy-light: #2e5588;
    --blue: #3f7cc0;
    --blue-soft: #e8f0fa;
    --blue-mist: #f4f8fd;
    --accent: #4f9d9d;
    --ink: #1b2733;
    --ink-soft: #47576a;
    --line: #dfe7f0;
    --white: #ffffff;
    --bg: #ffffff;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(31, 58, 95, .06);
    --shadow-md: 0 12px 34px rgba(31, 58, 95, .12);
    --maxw: 1160px;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-head: 'Lora', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy-light); }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: 22px;
}

.container.narrow { max-width: 820px; }

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: 10px 16px;
    z-index: 200;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin: .2em 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .7em; }
h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; color: var(--navy-dark); }
p { margin: 0 0 1.1em; color: var(--ink-soft); }
.center-title { text-align: center; margin-bottom: 1.6em; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
    gap: 18px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.22rem;
    color: var(--navy);
    text-decoration: none;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
}
.brand-accent { color: var(--accent); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: inline-block;
    padding: 8px 12px;
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .96rem;
    border-radius: 8px;
    transition: color .18s, background .18s;
}
.main-nav a:hover { color: var(--navy); background: var(--blue-mist); }
.main-nav a.nav-cta {
    background: var(--navy);
    color: #fff;
    padding-inline: 18px;
}
.main-nav a.nav-cta:hover { background: var(--navy-light); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, box-shadow .2s, background .2s;
    border: 2px solid transparent;
}
.btn-primary {
    background: var(--navy);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--blue-mist); }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(180deg, var(--blue-mist), #fff);
    padding: 46px 0 60px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}
.eyebrow {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}
.hero .lead { font-size: 1.12rem; color: var(--ink); }
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 26px 0 18px;
}
.hero-note {
    font-size: .86rem;
    color: var(--ink-soft);
    background: var(--blue-soft);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--blue);
    margin-bottom: 0;
}
.hero-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}

/* ---------- Sections ---------- */
.section { padding: 62px 0; }
.section-alt { background: var(--blue-mist); }

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.feature-reverse .feature-media { order: 2; }
.feature-media img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
}

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 10px;
    color: var(--ink-soft);
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f3a5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.two-col {
    columns: 2;
    column-gap: 36px;
    list-style: none;
    padding: 0;
    margin: 0 0 1.2em;
}
.two-col li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 9px;
    break-inside: avoid;
    color: var(--ink-soft);
}
.two-col li::before {
    content: "";
    position: absolute;
    left: 0; top: 11px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

.note-inline {
    background: var(--blue-soft);
    border-left: 3px solid var(--blue);
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    color: var(--navy-dark);
    font-weight: 500;
    margin-top: 6px;
}

/* ---------- Criteria cards ---------- */
.criteria-cards {
    display: flex;
    align-items: stretch;
    gap: 18px;
    flex-wrap: wrap;
    margin: 26px 0;
}
.criteria-card {
    flex: 1 1 240px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.criteria-value {
    display: block;
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}
.criteria-unit { font-size: .9rem; color: var(--accent); font-weight: 600; }
.criteria-card p { margin: 10px 0 0; font-size: .95rem; }
.criteria-or {
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    font-size: .85rem;
    letter-spacing: .1em;
}

/* ---------- Steps ---------- */
.steps {
    list-style: none;
    counter-reset: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--blue));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 14px;
}
.step h3 { margin: 0 0 .4em; }
.step p { margin: 0; font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 52px 18px 22px;
    font-weight: 600;
    color: var(--navy);
    position: relative;
    font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 22px; top: 50%;
    width: 12px; height: 12px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .25s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item summary:hover { background: var(--blue-mist); }
.faq-answer { padding: 0 22px; }
.faq-answer p { margin: 0 0 18px; }

/* ---------- CTA section ---------- */
.cta-section {
    background: linear-gradient(160deg, var(--blue-mist), #fff);
}

/* ---------- Author ---------- */
.author-section { background: var(--navy); }
.author-section h2, .author-section .review-badge { color: #fff; }
.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #bcd4f0;
    margin-bottom: 8px;
}
.review-badge::before {
    content: "";
    width: 18px; height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234f9d9d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E") center / contain no-repeat;
}
.author-card {
    display: flex;
    gap: 26px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    padding: 30px;
    margin-top: 20px;
}
.author-avatar {
    flex: 0 0 auto;
    width: 116px; height: 116px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    border: 3px solid rgba(255, 255, 255, .25);
    box-shadow: var(--shadow-md);
}
.author-body p { color: #d7e3f2; }
.author-name {
    font-family: var(--font-head);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 4px;
}
.author-role { color: #a9c3e0 !important; margin-bottom: 14px; }
.text-link { color: #8fd0d0; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.review-date { font-size: .85rem; color: #91a9c6 !important; margin-top: 12px; margin-bottom: 0; }

/* ---------- Disclaimer ---------- */
.disclaimer { padding: 46px 0; background: #fbfcfe; }
.disclaimer h2 { font-size: 1.3rem; }
.disclaimer p { font-size: .95rem; }

/* ---------- Sources ---------- */
.sources { padding-left: 20px; margin: 0; }
.sources li { margin-bottom: 12px; color: var(--ink-soft); font-size: .95rem; }
.sources a { color: var(--navy-light); word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--navy-dark);
    color: #c4d3e6;
    padding: 40px 0 34px;
    text-align: center;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 22px;
    margin-bottom: 20px;
}
.footer-nav a {
    color: #d6e2f1;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
}
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-note { font-size: .9rem; color: #9fb4cf; max-width: 640px; margin: 0 auto 14px; }
.footer-copy { font-size: .85rem; color: #7f97b6; margin: 0; }
.footer-copy a { color: #a9c3e0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .hero-media { order: -1; }
    .feature { grid-template-columns: 1fr; gap: 28px; }
    .feature-reverse .feature-media { order: -1; }
    .feature-media { order: -1; }
    .steps { grid-template-columns: 1fr 1fr; }

    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        inset: 68px 0 auto 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .main-nav.open { max-height: 460px; }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 18px 20px; gap: 2px; }
    .main-nav a { padding: 12px 14px; font-size: 1rem; }
    .main-nav a.nav-cta { text-align: center; margin-top: 8px; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding: 44px 0; }
    .two-col { columns: 1; }
    .steps { grid-template-columns: 1fr; }
    .author-card { flex-direction: column; text-align: center; align-items: center; }
    .criteria-or { padding: 6px 0; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
