/* ================================
   NERVENSONOGRAFIE – style.css
   ================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-500: #3b82f6;
    --blue-600: #2563EB;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --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;
    --white: #ffffff;

    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
    --radius: 12px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.6;
    font-size: 16px;
}

/* ================================
   UTILITIES
   ================================ */

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 24px;
}

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

@media (max-width: 900px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ================================
   NAVIGATION
   ================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--slate-900);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.logo-dot {
    color: var(--blue-600);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}

.nav-links a:hover {
    color: var(--blue-600);
    background: var(--blue-50);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: .3s;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px 24px;
        border-bottom: 1px solid var(--slate-200);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
}

/* ================================
   HERO
   ================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 50%, var(--teal-600) 100%);
    position: relative;
    padding-top: 68px;
}

.hero-content {
    text-align: center;
    padding: 80px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--blue-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ================================
   SECTIONS
   ================================ */

.section {
    padding: 96px 0;
}

.section-light { background: var(--slate-50); }
.section-white { background: var(--white); }
.section-blue {
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--slate-900);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--slate-500);
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-tag {
    display: inline-block;
    color: var(--blue-600);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header-white h2 { color: white; }
.section-header-white p { color: rgba(255,255,255,0.75); }
.section-tag-white { color: rgba(255,255,255,0.7); }

/* ================================
   CARDS
   ================================ */

.card {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
    transition: transform .25s, box-shadow .25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-feature h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 16px 0 10px;
}

.card-feature p {
    color: var(--slate-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-50);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--blue-600);
}

/* ================================
   CONDITION CARDS
   ================================ */

.condition-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
    transition: transform .25s, box-shadow .25s;
}

.condition-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.condition-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 14px 0 12px;
}

.condition-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.condition-card li {
    color: var(--slate-600);
    font-size: 0.88rem;
    padding-left: 16px;
    position: relative;
}

.condition-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.condition-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.condition-icon svg {
    width: 22px;
    height: 22px;
}

.condition-icon-blue { background: #dbeafe; }
.condition-icon-blue svg { stroke: #2563EB; }
.condition-icon-teal { background: #ccfbf1; }
.condition-icon-teal svg { stroke: #0d9488; }
.condition-icon-purple { background: #ede9fe; }
.condition-icon-purple svg { stroke: #7c3aed; }
.condition-icon-orange { background: #ffedd5; }
.condition-icon-orange svg { stroke: #ea580c; }
.condition-icon-red { background: #fee2e2; }
.condition-icon-red svg { stroke: #dc2626; }
.condition-icon-green { background: #dcfce7; }
.condition-icon-green svg { stroke: #16a34a; }

/* ================================
   NERVE GRID
   ================================ */

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

@media (max-width: 900px) {
    .nerve-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .nerve-grid { grid-template-columns: 1fr; }
}

.body-region {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
}

.region-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-200);
}

.region-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue-600);
    flex-shrink: 0;
}

.region-dot-teal { background: var(--teal-500); }
.region-dot-purple { background: #7c3aed; }

.nerve-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nerve-item {
    padding: 12px 14px;
    background: var(--slate-50);
    border-radius: 8px;
    border-left: 3px solid var(--blue-200);
}

.nerve-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-800);
    font-style: italic;
    margin-bottom: 3px;
}

.nerve-desc {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ================================
   STEPS
   ================================ */

.steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.steps::before {
    content: '';
    position: absolute;
    left: 36px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: var(--slate-200);
}

.step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 32px 0;
    position: relative;
}

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--blue-600);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px white, 0 0 0 6px var(--blue-100);
}

.step-content {
    flex: 1;
    padding-top: 16px;
}

.step-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--slate-500);
    font-size: 0.95rem;
    line-height: 1.75;
}

@media (max-width: 560px) {
    .steps::before { display: none; }
    .step { flex-direction: column; gap: 16px; }
    .step-number { width: 52px; height: 52px; font-size: 0.9rem; }
}

/* ================================
   COMPARISON
   ================================ */

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

@media (max-width: 900px) {
    .comparison-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
}

.comparison-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(8px);
    transition: background .25s;
}

.comparison-card:hover {
    background: rgba(255,255,255,0.15);
}

.comparison-vs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
}

.vs {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pro-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pro-list li {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.pro-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #86efac;
    font-weight: 700;
}

/* ================================
   INFO BOXES (Normwerte)
   ================================ */

.info-box-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 800px) {
    .info-box-grid { grid-template-columns: 1fr; }
}

.info-box {
    background: white;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-200);
}

.info-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 12px;
}

.info-box > p {
    color: var(--slate-500);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.values-table {
    border: 1px solid var(--slate-200);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.value-row {
    display: grid;
    grid-template-columns: 1.4fr 1.6fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--slate-100);
}

.value-row:last-child { border-bottom: none; }

.value-row span {
    padding: 10px 12px;
    font-size: 0.85rem;
    color: var(--slate-600);
    border-right: 1px solid var(--slate-100);
}

.value-row span:last-child { border-right: none; }

.header-row {
    background: var(--blue-600);
}

.header-row span {
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.value-row:not(.header-row):nth-child(even) {
    background: var(--slate-50);
}

.disclaimer {
    font-size: 0.78rem !important;
    color: var(--slate-400) !important;
    font-style: italic;
    margin-bottom: 0 !important;
}

.sign-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sign-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sign-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sign-icon-red { background: #fee2e2; color: #dc2626; }
.sign-icon-orange { background: #ffedd5; color: #ea580c; }
.sign-icon-yellow { background: #fef9c3; color: #ca8a04; }
.sign-icon-blue { background: #dbeafe; color: #2563EB; }
.sign-icon-purple { background: #ede9fe; color: #7c3aed; }

.sign-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--slate-800);
    margin-bottom: 3px;
}

.sign-item p {
    font-size: 0.83rem;
    color: var(--slate-500);
    line-height: 1.5;
    margin: 0;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 48px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--slate-400);
}

.footer-links h4,
.footer-disclaimer h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: var(--slate-400);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--blue-400, #60a5fa);
}

.footer-disclaimer p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--slate-500);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
    color: var(--slate-500);
    text-decoration: none;
    transition: color .2s;
}

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

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-badge,
.hero-title,
.hero-subtitle,
.hero-actions {
    animation: fadeInUp .7s ease both;
}

.hero-title { animation-delay: .1s; }
.hero-subtitle { animation-delay: .2s; }
.hero-actions { animation-delay: .3s; }

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

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
    .step { padding: 20px 0; }
    .info-box { padding: 24px; }
    .value-row { grid-template-columns: 1fr 1fr; }
    .value-row span:nth-child(2) { display: none; }
}
