/* ======================================
   Dr. Vogt & Dr. Pohl – Osteoporose Kiel
   Static Site Styles
   ====================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-50: #f0fdfa;
    --primary-100: #ccfbf1;
    --primary-200: #99f6e4;
    --primary-500: #14b8a6;
    --primary-600: #0d9488;
    --primary-700: #0f766e;
    --primary-800: #115e59;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --green-100: #dcfce7;
    --green-600: #16a34a;
    --blue-50: #eff6ff;
    --blue-600: #2563eb;
    --amber-50: #fffbeb;
    --amber-500: #f59e0b;
    --red-50: #fef2f2;
    --red-200: #fecaca;
    --red-800: #991b1b;
    --green-50: #f0fdf4;
    --green-200: #bbf7d0;
    --green-800: #166534;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--slate-900);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

img {
    max-width: 100%;
    display: block;
}

/* --- Layout --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.content-width {
    max-width: 1024px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: white;
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow 0.3s ease;
}

.nav.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-600);
}

.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--slate-600);
}

.nav-mobile-btn svg {
    width: 24px;
    height: 24px;
}

.nav-mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid var(--slate-200);
    padding: 0.5rem 1rem 1rem;
}

.nav-mobile-menu.open {
    display: block;
}

.nav-mobile-menu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--slate-600);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-mobile-menu a:hover {
    color: var(--primary-600);
}

/* --- Hero --- */
.hero {
    padding-top: 80px;
    background: linear-gradient(to bottom, white, var(--slate-50));
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 6rem 0 8rem;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
}

.hero-text {
    flex: 0 0 55%;
    min-width: 0;
}

.hero-image-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: visible;
}

.hero-bone {
    width: 130%;
    max-width: 620px;
    transform: rotate(30deg) translateY(-10px);
    opacity: 0.92;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
    mix-blend-mode: multiply;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-50);
    color: var(--primary-700);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--slate-900);
}

.hero h1 strong {
    font-weight: 600;
    color: var(--primary-600);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--slate-600);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 1024px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--slate-200), transparent);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary-600);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-700);
}

.btn-outline {
    background: white;
    color: var(--slate-700);
    border: 1px solid var(--slate-300);
}

.btn-outline:hover {
    background: var(--slate-50);
}

.btn-submit {
    width: 100%;
    background: var(--primary-600);
    color: white;
    padding: 1rem 2rem;
}

.btn-submit:hover {
    background: var(--primary-700);
}

/* --- Section Headings --- */
.section-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--slate-900);
}

.section-heading strong {
    font-weight: 600;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* --- Info Box (border-left highlight) --- */
.info-box {
    border-left: 4px solid var(--primary-600);
    padding: 1rem 1.5rem;
    background: var(--primary-50);
}

.info-box-amber {
    border-left-color: var(--amber-500);
    background: var(--amber-50);
}

.info-box-blue {
    border-left-color: var(--blue-600);
    background: var(--blue-50);
}

.info-box p {
    color: var(--slate-700);
    line-height: 1.7;
}

.info-box .label {
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 1rem;
}

.info-box .highlight {
    font-weight: 600;
    color: var(--primary-600);
}

/* --- CTA Box (teal background) --- */
.cta-box {
    background: var(--primary-600);
    color: white;
    border-radius: 0.5rem;
    padding: 3rem;
}

.cta-box h3 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta-box p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--primary-100);
}

.cta-box strong {
    color: white;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-item h4 {
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--slate-600);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon-green {
    background: var(--green-100);
    color: var(--green-600);
}

.feature-icon-primary {
    background: var(--primary-100);
    color: var(--primary-600);
}

/* --- Two Column Grid --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/* --- Risk Factors Grid --- */
.risk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem 2rem;
    margin-bottom: 3rem;
}

.risk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--slate-700);
    padding: 0.5rem 0;
}

.risk-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-600);
    border-radius: 9999px;
    flex-shrink: 0;
}

/* --- Consequences list --- */
.consequence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.consequence-grid p {
    color: var(--primary-100);
}

/* --- Cost Items --- */
.cost-item {
    display: flex;
    gap: 1rem;
}

.cost-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.cost-item h4 {
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.cost-item p {
    color: var(--slate-600);
}

/* --- Contact Section --- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.contact-info-item .icon {
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
}

.contact-info-item h3 {
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.contact-info-item p,
.contact-info-item a {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-info-item a:hover {
    color: var(--primary-600);
}

/* --- Form --- */
.form-card {
    max-width: 896px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    padding: 2rem 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--slate-300);
    border-radius: 0.25rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: white;
    color: var(--slate-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.form-group textarea {
    resize: none;
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 1rem;
}

.form-status {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem;
}

.form-status.success {
    display: flex;
    background: var(--green-50);
    color: var(--green-800);
    border: 1px solid var(--green-200);
}

.form-status.error {
    display: flex;
    background: var(--red-50);
    color: var(--red-800);
    border: 1px solid var(--red-200);
}

/* --- Footer --- */
.footer {
    background: var(--slate-900);
    color: var(--slate-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 4rem 0 3rem;
}

.footer h3 {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-sub {
    color: var(--slate-400);
    margin-bottom: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-item a:hover {
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a:hover {
    color: white;
}

/* --- Legal Pages --- */
.legal-page {
    padding-top: 80px;
}

.legal-content {
    padding: 6rem 0;
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 4rem;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.legal-content h3 {
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.legal-section {
    border-top: 1px solid var(--slate-200);
    padding-top: 3rem;
    margin-top: 3rem;
}

.legal-content p {
    color: var(--slate-700);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--slate-700);
}

.legal-content ul li {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.legal-content a {
    color: var(--primary-600);
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-box {
    background: var(--slate-50);
    border-radius: 0.25rem;
    padding: 1.5rem;
}

.legal-box p {
    margin-bottom: 0;
}

.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.rights-card {
    background: var(--slate-50);
    border-radius: 0.25rem;
    padding: 1rem;
}

.rights-card h4 {
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 0.25rem;
}

.rights-card p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* --- Backgrounds --- */
.bg-white { background: white; }
.bg-slate { background: var(--slate-50); }

/* --- Spacing helpers --- */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .feature-grid,
    .risk-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .nav-links {
        display: none;
    }

    .nav-mobile-btn {
        display: block;
    }

    .hero-content {
        padding: 4rem 0 5rem;
    }

    .hero-inner {
        flex-direction: column;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-text {
        flex: none;
        width: 100%;
    }

    .hero-image-wrap {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .feature-grid,
    .grid-2,
    .grid-3,
    .contact-info-grid,
    .footer-grid,
    .risk-grid,
    .consequence-grid,
    .rights-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}