/* ─── FocusDesign Praxen & Heilberufe Style ───
   Theme: Medical Sage & Hygienic Light
   Colors: Soft Hygienic Off-White (#f8faf9), Deep Slate (#0f172a), Clinical Teal (#0d9488)
   Fonts: Plus Jakarta Sans
───────────────────────────────────────────── */

:root {
    /* Color Palette */
    --clr-bg: #f8faf9;
    --clr-bg-alt: #ffffff;
    --clr-card-bg: #ffffff;
    --clr-card-border: rgba(15, 23, 42, 0.08);
    
    --clr-text: #0f172a;
    --clr-text-dim: #475569;
    --clr-text-muted: #64748b;
    
    --clr-accent: #0d9488;
    --clr-accent-hover: #0f766e;
    --clr-accent-light: rgba(13, 148, 136, 0.08);
    --clr-accent-glow: rgba(13, 148, 136, 0.25);
    --clr-mint: #2dd4bf;
    
    --clr-dark-bg: #0f172a;
    --clr-dark-card: #1e293b;
    --clr-dark-border: rgba(255, 255, 255, 0.1);

    /* Spacing & Radii */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --radius-signature: 36px 0 36px 36px;

    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

section {
    padding: var(--space-16) 0;
}

/* ─── Header & Nav ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px var(--space-6);
    background: rgba(248, 250, 249, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--clr-card-border);
    transition: all 0.3s ease;
}

header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -0.3px;
    color: var(--clr-text);
    text-transform: uppercase;
}

.logo-text {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--clr-text);
}

.logo-mark {
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.logo-mark::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #0d9488 0%, #2dd4bf 100%);
    border-radius: 5px;
    top: 2px;
    left: 2px;
    transform: rotate(8deg);
    box-shadow: 0 0 10px rgba(13, 148, 136, 0.3);
    transition: transform 0.4s ease;
}

.logo-mark::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(15, 23, 42, 0.3);
    border-radius: 3px;
    top: 11px;
    left: 11px;
    transform: rotate(-6deg);
    transition: transform 0.4s ease;
}

.logo:hover .logo-mark::before { transform: rotate(22deg) scale(1.08); }
.logo:hover .logo-mark::after { transform: rotate(-20deg) scale(1.08); }

.logo-dot {
    color: var(--clr-accent);
}

.nav-minimal {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-cta {
    background: var(--clr-accent);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px var(--clr-accent-glow);
}

.nav-cta:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--clr-accent-glow);
}

/* ─── Buttons ─── */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 30px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.hero-cta-btn.primary {
    background: var(--clr-accent);
    color: #ffffff;
    box-shadow: 0 8px 24px var(--clr-accent-glow);
}

.hero-cta-btn.primary:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--clr-accent-glow);
}

.hero-cta-btn.secondary {
    background: var(--clr-bg-alt);
    color: var(--clr-text);
    border: 1px solid var(--clr-card-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hero-cta-btn.secondary:hover {
    border-color: var(--clr-accent);
    transform: translateY(-3px);
    color: var(--clr-accent);
}

/* ─── Hero Section ─── */
#hero {
    padding-top: 140px;
    padding-bottom: var(--space-16);
    background: radial-gradient(circle at 85% 15%, rgba(13, 148, 136, 0.07) 0%, transparent 60%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

/* Schlichte Eyebrow statt Pill-Chip (20.08., Muster von Gastro/Makler).
   Der Chip mit Hintergrund + Rahmen nahm mobil zwei Zeilen plus Rahmenhoehe
   ein und schob das Mockup aus dem ersten Viewport. */
.hero-eyebrow {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
    margin-bottom: var(--space-4);
    text-align: left;
}

.hero-eyebrow > svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}

.hero-title {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: var(--space-5);
    color: var(--clr-text);
}

.highlight-accent {
    color: var(--clr-accent);
    position: relative;
    display: inline-block;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--clr-text-dim);
    margin-bottom: var(--space-8);
    max-width: 540px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin-bottom: var(--space-6);
}

.hero-usps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--clr-text-dim);
}

.hero-usps-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-usps-list svg {
    color: var(--clr-accent);
    flex-shrink: 0;
}

.hero-mockup-wrap {
    position: relative;
    text-align: center;
}

.hero-mockup-img {
    max-width: 100%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-mockup-wrap:hover .hero-mockup-img,
.hero-mockup-wrap.scroll-active .hero-mockup-img {
    transform: translateY(-8px) scale(1.02);
    box-shadow: none;
}

.floating-badge {
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    background: var(--clr-dark-bg);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--clr-accent);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── Target Strip / Trust Bar ─── */
.target-strip {
    background: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-card-border);
    border-bottom: 1px solid var(--clr-card-border);
    padding: var(--space-6) 0;
    text-align: center;
}

.target-strip-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--clr-text-muted);
    margin-bottom: var(--space-3);
}

.target-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-text);
}

.target-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.target-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    line-height: 1;
}

/* ─── Benefits Section ─── */
.section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--clr-accent);
    margin-bottom: var(--space-2);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: var(--space-4);
}

.section-sub {
    font-size: 1.05rem;
    color: var(--clr-text-dim);
    max-width: 680px;
    margin-bottom: var(--space-10);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: var(--space-6);
}

.benefit-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: var(--space-8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488 0%, #2dd4bf 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.25);
    border-color: rgba(13, 148, 136, 0.3);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(45, 212, 191, 0.18) 100%);
    border: 1px solid rgba(13, 148, 136, 0.15);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
    border-color: transparent;
}

.benefit-badge {
    align-self: flex-start;
    display: inline-block;
    background: rgba(13, 148, 136, 0.08);
    color: #0f766e;
    border: 1px solid rgba(13, 148, 136, 0.15);
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.benefit-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: var(--space-2);
    color: var(--clr-text);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--clr-text-dim);
    line-height: 1.55;
}

/* ─── Praxis Features & Modules ─── */
.features-section {
    background: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-card-border);
    border-bottom: 1px solid var(--clr-card-border);
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.feature-content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
}

.feature-content p {
    color: var(--clr-text-dim);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--space-5);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text);
}

.feature-list svg {
    color: var(--clr-accent);
    flex-shrink: 0;
}

.praxis-module-box {
    background: var(--clr-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.praxis-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-4);
    border-bottom: 1px solid var(--clr-card-border);
    padding-bottom: 10px;
}

.praxis-tab-btn {
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-text-dim);
    background: var(--clr-bg-alt);
    border: 1px solid var(--clr-card-border);
    transition: all 0.2s ease;
}

.praxis-tab-btn.active {
    background: var(--clr-accent);
    color: #ffffff;
    border-color: var(--clr-accent);
}

.praxis-module-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.praxis-module-card {
    background: var(--clr-bg-alt);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-card-border);
}

.praxis-module-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--clr-text);
}

.praxis-module-card p {
    font-size: 0.82rem;
    color: var(--clr-text-muted);
    margin: 0;
}

/* ─── Stats Row ─── */
.stats-section {
    padding: var(--space-10) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: var(--space-6);
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--clr-accent);
    margin-bottom: var(--space-1);
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--clr-text-dim);
    font-weight: 600;
}

/* ─── Referenzen ─── */
.ref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: var(--space-8);
}

.ref-card {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.ref-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.ref-card-body {
    padding: var(--space-6);
}

.ref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-3);
}

.ref-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--clr-bg);
    color: var(--clr-text-dim);
}

.ref-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: var(--space-2);
}

.ref-desc {
    font-size: 0.9rem;
    color: var(--clr-text-dim);
    margin-bottom: var(--space-4);
    line-height: 1.5;
}

/* ─── Theodoros Owner Card ─── */
.theo-card {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: var(--radius-signature);
    padding: var(--space-8);
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: var(--space-6);
    align-items: center;
    margin-top: var(--space-12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.theo-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--clr-accent);
}

.theo-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.theo-role {
    font-size: 0.85rem;
    color: var(--clr-accent);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.theo-quote {
    font-size: 0.95rem;
    color: var(--clr-text-dim);
    line-height: 1.6;
}

/* ─── Pricing Section ─── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: var(--space-8);
    align-items: stretch;
}

.pricing-card {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid var(--clr-accent);
    box-shadow: 0 16px 40px var(--clr-accent-glow);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: var(--clr-accent);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-type {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-text-muted);
    margin-bottom: 4px;
}

.pricing-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: var(--space-3);
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-text);
    line-height: 1;
}

.pricing-amount span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--clr-text-dim);
}

.pricing-monthly {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--clr-accent);
    margin: 6px 0 var(--space-5) 0;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--clr-text-dim);
    margin-bottom: var(--space-6);
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--space-8);
    font-size: 0.9rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features svg {
    color: var(--clr-accent);
    flex-shrink: 0;
}

.pricing-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

/* ─── FAQ ─── */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    max-width: 840px;
    margin: 0 auto;
}

.faq-item {
    background: var(--clr-card-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--space-5) var(--space-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    color: var(--clr-text);
}

.faq-question svg {
    transition: transform 0.3s ease;
    color: var(--clr-accent);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-6) var(--space-5) var(--space-6);
    font-size: 0.95rem;
    color: var(--clr-text-dim);
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ─── Contact Section (Dark Block) ─── */
#contact {
    background: var(--clr-dark-bg);
    color: #ffffff;
    position: relative;
}

#contact .section-label {
    color: var(--clr-mint);
}

#contact .section-title {
    color: #ffffff;
}

#contact .section-sub {
    color: rgba(255, 255, 255, 0.7);
}

.contact-wrap {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.quiz-trigger-btn {
    background: var(--clr-accent);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 18px 36px;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px var(--clr-accent-glow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: var(--space-6);
}

.quiz-trigger-btn:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--clr-accent-glow);
}

/* ─── Quiz Modal ─── */
.quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quiz-overlay.active {
    opacity: 1;
    visibility: visible;
}

.quiz-overlay {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(8, 12, 22, 0.82);
}

.quiz-container {
    background: linear-gradient(180deg, #152132 0%, #0d1524 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    width: 100%;
    max-width: 590px;
    max-height: 92dvh;
    overflow-y: auto;
    padding: clamp(20px, 5vw, 36px);
    position: relative;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(13, 148, 136, 0.2);
    color: #ffffff;
}

.quiz-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.quiz-step-counter {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #2dd4bf;
}

.quiz-step-counter strong {
    color: #ffffff;
    font-weight: 800;
}

.quiz-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.quiz-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.quiz-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0d9488 0%, #2dd4bf 100%);
    width: 25%;
    border-radius: 99px;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.5);
}

.quiz-step {
    display: none;
    animation: quizStepFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    font-size: clamp(1.2rem, 3.5vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #ffffff;
    margin-bottom: 6px;
}

.quiz-step p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 22px;
    line-height: 1.45;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: var(--space-6);
}

.quiz-options.quiz-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 520px) {
    .quiz-options.quiz-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    user-select: none;
}

.quiz-options.quiz-grid-2x2 .quiz-option {
    padding: 15px 14px;
    gap: 12px;
    align-items: center;
    min-height: 74px;
}

.quiz-options.quiz-grid-2x2 .quiz-option span:last-child {
    font-size: 0.9rem;
    line-height: 1.35;
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(45, 212, 191, 0.4);
    transform: translateY(-1px);
}

.quiz-option:has(input:checked),
.quiz-option.is-selected {
    background: rgba(13, 148, 136, 0.16) !important;
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 1px #0d9488, 0 8px 20px -4px rgba(13, 148, 136, 0.3) !important;
    color: #ffffff !important;
}

.quiz-opt-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #2dd4bf;
    transition: all 0.2s ease;
}

.quiz-opt-icon svg {
    width: 20px;
    height: 20px;
}

.quiz-option:hover .quiz-opt-icon,
.quiz-option:has(input:checked) .quiz-opt-icon,
.quiz-option.is-selected .quiz-opt-icon {
    background: rgba(13, 148, 136, 0.3);
    border-color: rgba(45, 212, 191, 0.5);
    color: #ffffff;
    transform: scale(1.05);
}

.quiz-option input[type="radio"],
.quiz-option input[type="checkbox"] {
    accent-color: #0d9488;
    width: 19px;
    height: 19px;
    cursor: pointer;
    flex-shrink: 0;
}

.quiz-input {
    width: 100%;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.quiz-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.quiz-input:focus {
    outline: none;
    background: rgba(13, 148, 136, 0.06);
    border-color: #0d9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
}

.quiz-error {
    color: #f87171;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
    display: none;
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-6);
    gap: 12px;
}

.quiz-btn-prev {
    color: rgba(255, 255, 255, 0.6);
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.quiz-btn-prev:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.quiz-btn-next,
.quiz-btn-submit {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    color: #ffffff;
    border: none;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.2px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-btn-next:hover,
.quiz-btn-submit:hover {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
    transform: translateY(-1px);
}

/* ─── Footer ─── */
footer {
    background: #090d16;
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-10) 0 var(--space-8) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    list-style: none;
    margin-bottom: var(--space-6);
}

.footer-links a:hover {
    color: #ffffff;
}

/* Legal Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    color: var(--clr-text);
    border-radius: var(--radius-lg);
    max-width: 680px;
    width: 100%;
    max-height: 80dvh;
    overflow-y: auto;
    padding: var(--space-8);
    position: relative;
    text-align: left;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.4rem;
    color: var(--clr-text-muted);
}

/* ==========================================================================
   MOBILE HERO (20.08.) - Muster von gastronomie/ + immobilienmakler/
   Ziel: das Mockup soll auf dem Handy im ersten Viewport auftauchen, nicht
   erst nach Eyebrow + H1 + Sub + CTAs + USP-Liste. Dafuer wird der Textblock
   komprimiert, die .hero-usps-list mobil ausgeblendet und stattdessen
   .mobile-hero-usps UNTER dem Mockup gezeigt.
   ========================================================================== */
.mobile-hero-usps {
    display: none;
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 992px) {
    #hero {
        padding-top: 108px;
        padding-bottom: var(--space-10);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-6);
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 1.2px;
        margin-bottom: var(--space-3);
    }

    .hero-title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        letter-spacing: -1px;
        line-height: 1.18;
        margin-bottom: var(--space-3);
    }

    .hero-sub {
        font-size: 0.95rem;
        line-height: 1.5;
        margin: 0 auto var(--space-5) auto;
    }

    .hero-actions {
        justify-content: center;
        margin-bottom: 0;
    }

    /* Die Bullet-Liste wandert unter das Mockup (siehe .mobile-hero-usps) */
    .hero-usps-list {
        display: none;
    }

    .hero-mockup-wrap {
        max-width: 340px;
        margin: 0 auto;
    }

    .mobile-hero-usps {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        width: 100%;
        max-width: 420px;
        margin: var(--space-8) auto 0 auto;
        text-align: left;
    }

    .mobile-usp-item {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .mobile-usp-item > svg {
        color: var(--clr-accent);
        flex-shrink: 0;
        margin-top: 3px;
    }

    .mobile-usp-info strong {
        display: block;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--clr-text);
        margin: 0 0 2px 0;
    }

    .mobile-usp-info p {
        font-size: 0.85rem;
        color: var(--clr-text-muted);
        margin: 0;
        line-height: 1.4;
    }

    .feature-row {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--space-6);
    }

    .theo-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .theo-img {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    section {
        padding: var(--space-10) 0;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-btn {
        width: 100%;
    }

    .pricing-card {
        padding: var(--space-6);
    }

    .floating-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
        bottom: -10px;
    }
}

/* ==========================================================================
   FOOTER – Branchen-Navigation (interne Verlinkung)
   ========================================================================== */
.footer-nav {
    margin: var(--space-6) 0 var(--space-6) 0;
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
    margin-bottom: var(--space-3);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
}

.footer-nav a {
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--clr-accent);
}

@media (max-width: 600px) {
    .footer-nav ul {
        gap: var(--space-2) var(--space-4);
    }
}

/* ==========================================================================
   REFERENZ-KARTEN – Screenshot mit Hover-Scroll
   ========================================================================== */
.ref-img-wrap {
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 16 / 10;
    position: relative;
    background: var(--clr-bg-alt, #f1f5f4);
    container-type: size;
    margin-bottom: 22px;
}

.ref-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.9s ease-out;
}

.ref-card:hover .ref-img-wrap.scroll-on-hover img {
    transform: translateY(calc(-100% + 100cqh));
    transition: transform var(--scroll-dur, 6s) cubic-bezier(0.45, 0.05, 0.55, 0.95) 0.2s;
}

.ref-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.ref-client-hint {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-accent);
}

.ref-live-btn {
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--clr-text);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 99px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ref-live-btn:hover {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #ffffff;
}

@media (hover: none), (max-width: 1024px) {
    .ref-card:hover .ref-img-wrap.scroll-on-hover img {
        transform: none;
        transition: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ref-img-wrap img,
    .ref-card:hover .ref-img-wrap.scroll-on-hover img {
        transition: none;
        transform: none;
    }
}

/* ==========================================================================
   PRAXIS-DEMO – interaktive Modul-Vorschau
   ========================================================================== */
.pd-head {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}

.pd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--clr-accent);
    box-shadow: 0 0 0 4px var(--clr-accent-light);
    flex-shrink: 0;
    animation: pdPulse 2.4s ease-in-out infinite;
}

@keyframes pdPulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--clr-accent-light); }
    50%      { box-shadow: 0 0 0 7px rgba(13, 148, 136, 0.05); }
}

.pd-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--clr-text);
    letter-spacing: -0.01em;
}

/* ─── Tabs ─── */
.praxis-tabs {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 99px;
    margin-bottom: 18px;
}

.praxis-tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    padding: 9px 6px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.praxis-tab-btn:hover { color: var(--clr-text); }

.praxis-tab-btn.active {
    background: #ffffff;
    color: var(--clr-accent);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.10);
}

/* ─── Panels ─── */
.pd-panel { animation: pdFade 0.3s ease; }
.pd-panel[hidden] { display: none; }

@keyframes pdFade {
    from { opacity: 0; transform: translateY(5px); }
    to   { opacity: 1; transform: none; }
}

.pd-step { margin-bottom: 16px; }
.pd-step[hidden] { display: none; }

.pd-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--clr-text-muted);
    margin-bottom: 9px;
}

/* ─── Chips ─── */
.pd-chips { display: flex; gap: 7px; flex-wrap: wrap; }

.pd-chip {
    font-family: inherit;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--clr-text);
    background: #ffffff;
    border: 1px solid var(--clr-card-border);
    padding: 9px 15px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pd-chip:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

.pd-chip.selected {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    color: #ffffff;
}

/* ─── Slots ─── */
.pd-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
}

.pd-slot {
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text);
    background: #ffffff;
    border: 1px solid var(--clr-card-border);
    padding: 10px 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    line-height: 1.35;
}

.pd-slot span {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.pd-slot:hover {
    border-color: var(--clr-accent);
    background: var(--clr-accent-light);
}

.pd-slot:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.pd-slot:disabled:hover {
    border-color: var(--clr-card-border);
    background: #ffffff;
}

/* ─── Inputs ─── */
.pd-input {
    width: 100%;
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--clr-text);
    background: #ffffff;
    border: 1px solid var(--clr-card-border);
    border-radius: 10px;
    padding: 11px 13px;
    margin-bottom: 8px;
    transition: border-color 0.2s ease;
}

.pd-input::placeholder { color: var(--clr-text-muted); }

.pd-input:focus {
    outline: none;
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px var(--clr-accent-light);
}

.pd-submit {
    width: 100%;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--clr-accent);
    border: none;
    border-radius: 99px;
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 4px;
}

.pd-submit:hover { background: var(--clr-accent-hover); }

/* ─── Ergebnis ─── */
.pd-result {
    text-align: center;
    padding: 22px 14px 18px;
    animation: pdFade 0.35s ease;
}

.pd-result[hidden] { display: none; }

.pd-check {
    width: 46px;
    height: 46px;
    margin: 0 auto 13px;
    border-radius: 50%;
    background: var(--clr-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pdPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pd-check svg { width: 22px; height: 22px; }

@keyframes pdPop {
    from { transform: scale(0.4); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.pd-result-title {
    font-weight: 800;
    font-size: 0.98rem;
    color: var(--clr-text);
    margin: 0 0 5px;
}

.pd-result-sub {
    font-size: 0.85rem;
    color: var(--clr-text-dim);
    line-height: 1.55;
    margin: 0 0 15px;
}

.pd-reset {
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-accent);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Sprechzeiten ─── */
.pd-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    border-radius: 10px;
    background: var(--clr-accent-light);
    margin-bottom: 14px;
}

.pd-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--clr-text-muted);
    flex-shrink: 0;
}

.pd-status.open .pd-status-dot   { background: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,0.18); }
.pd-status.closed .pd-status-dot { background: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.15); }

.pd-status-text {
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--clr-text);
}

.pd-hours {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.76rem;
}

.pd-hours td {
    padding: 4px 2px;
    border-bottom: 1px solid var(--clr-card-border);
    color: var(--clr-text-dim);
}

.pd-hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.pd-hours tr:last-child td { border-bottom: none; }

.pd-hours tr.today td {
    color: var(--clr-text);
    font-weight: 700;
}

.pd-hint {
    font-size: 0.72rem;
    color: var(--clr-text-muted);
    line-height: 1.4;
    margin: 8px 0 0;
    text-align: center;
}

@media (max-width: 480px) {
    .praxis-tab-btn { font-size: 0.76rem; padding: 8px 4px; }
    .pd-slots { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .pd-dot, .pd-check, .pd-panel, .pd-result { animation: none; }
}

/* ==========================================================================
   FOOTER – Korrekturen (Logo-Farbe + Ausrichtung)
   ========================================================================== */

/* .logo-text erbt sonst var(--clr-text) = Dunkelblau -> auf dunklem Footer unsichtbar */
footer .footer-logo,
footer .footer-logo .logo-text {
    color: #ffffff;
}

footer .footer-logo .logo-dot {
    color: var(--clr-mint, #2dd4bf);
}

/* Innerer Rahmen der Logo-Marke ist dunkel -> auf dunklem Grund aufhellen */
footer .logo-mark::after {
    border-color: rgba(255, 255, 255, 0.35);
}

/* Footer-Inhalt sauber zentrieren */
footer .footer-logo {
    margin-left: auto;
    margin-right: auto;
}

.footer-nav ul {
    justify-content: center;
}

.footer-nav {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

footer .footer-links {
    flex-wrap: wrap;
    padding: 0;
}

footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.25s ease;
}

/* ==========================================================================
   SVG-Icons statt abstrakter Emojis (09.08.)
   Emojis rendern je nach Betriebssystem unterschiedlich -> kein Brand-Look.
   Die Fachrichtungs-Emojis (Zielgruppen-Leiste, Quiz Schritt 1) bleiben,
   weil sie Inhalt sind und nicht UI. Vorbild: Makler-LP nutzt fuer UI nur SVG.
   ========================================================================== */
.benefit-icon svg {
    width: 26px;
    height: 26px;
}

.quiz-opt-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--clr-accent);
}

.quiz-opt-icon svg {
    width: 20px;
    height: 20px;
}

.floating-badge > svg {
    width: 16px;
    height: 16px;
    color: var(--clr-accent);
    flex-shrink: 0;
}

/* ==========================================================================
   MODUL-DEMO im Handy-Rahmen (09.08.)
   Die Demo-Logik (.pd-*) bleibt unveraendert - nur der Rahmen ist neu,
   damit sie als Geraet gelesen wird statt als Kasten. Analog zur Gastro-LP.
   ========================================================================== */
.demo-phone {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
    background: var(--clr-dark-bg);
    border-radius: 34px;
    padding: 10px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(15, 23, 42, 0.06);
    height: 580px;
    display: flex;
    flex-direction: column;
}

.demo-phone-screen {
    background: var(--clr-bg-alt);
    border-radius: 26px;
    padding: var(--space-4) var(--space-3) var(--space-3) var(--space-3);
    text-align: left;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.demo-phone-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-card-border);
    border-radius: var(--radius-pill);
    padding: 6px 12px;
    margin-bottom: var(--space-4);
    flex-shrink: 0;
}

.demo-phone-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.demo-phone-url {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    letter-spacing: 0.2px;
}

.demo-brand {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-3);
    border-bottom: 1px solid var(--clr-card-border);
    flex-shrink: 0;
}

.demo-brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.4px;
    color: var(--clr-text);
}

.demo-brand-meta {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--clr-text-muted);
}

.demo-phone-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: auto;
    padding-top: var(--space-3);
    border-top: 1px dashed var(--clr-card-border);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--clr-text-muted);
    text-align: center;
    flex-shrink: 0;
}

.demo-phone-foot svg {
    color: var(--clr-accent);
    flex-shrink: 0;
}

/* Im Rahmen braucht die Box keinen eigenen Rahmen/Schatten mehr */
.demo-phone-screen .praxis-module-box {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.demo-phone-screen .pd-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.demo-phone-screen .pd-panel[hidden] {
    display: none !important;
}

/* Der Punkt sitzt jetzt in der Adressleiste - im Kopf waere er doppelt */
.demo-phone-screen .pd-dot {
    display: none;
}

/* ==========================================================================
   HORIZONTALER UEBERLAUF (09.08.) - gleicher Bug wie auf der Gastro-LP
   Der fixierte Header brauchte auf schmalen Geraeten (<=360px) mehr Platz
   als der Viewport. `overflow-x: hidden` auf body klippt position:fixed
   NICHT, deshalb blieb die Seite zoom- und seitlich scrollbar.
   ========================================================================== */
html {
    overflow-x: hidden;
}

@media (max-width: 480px) {
    header {
        padding: 12px var(--space-4);
    }

    .logo {
        gap: 9px;
        font-size: 1.15rem;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .logo-mark {
        width: 22px;
        height: 22px;
    }

    .logo-mark::before {
        width: 16px;
        height: 16px;
    }

    .logo-mark::after {
        width: 12px;
        height: 12px;
        top: 8px;
        left: 8px;
    }

    .nav-cta {
        padding: 9px 15px;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .floating-badge {
        white-space: normal;
        max-width: calc(100vw - 60px);
        text-align: center;
        line-height: 1.3;
    }
}

/* ==========================================================================
   SIGNATUR-ELEMENT: PULSLINIE (09.08.)
   Pendant zum Warnstreifen der Bau-LP, aber bewusst zurueckhaltend -
   Medizin vertraegt keine verspielte Signatur. Zwei Einsatzorte:
   unter dem Section-Label und als Oberkante der Kontakt-Sektion.
   Kein Kreuz-Motiv: das rote Kreuz ist geschuetzt, ein gruenes ist das
   Apothekenzeichen. Reines CSS, keine zusaetzliche Datei.
   ========================================================================== */

/* --- 1) Pulslinie unter dem Section-Label --- */
.section-label {
    position: relative;
}

.section-label::after {
    content: '';
    display: block;
    width: 62px;
    height: 14px;
    margin: 6px auto 0 auto;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2788%27%20height=%2720%27%20viewBox=%270%200%2088%2020%27%3E%3Cpath%20d=%27M0%2010%20H26%20l5%20-7%20l5%2014%20l5%20-12%20l4%205%20H88%27%20fill=%27none%27%20stroke=%27%230d9488%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.75;
}

/* Auf dunklem Grund die hellere Variante */
#contact .section-label::after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2788%27%20height=%2720%27%20viewBox=%270%200%2088%2020%27%3E%3Cpath%20d=%27M0%2010%20H26%20l5%20-7%20l5%2014%20l5%20-12%20l4%205%20H88%27%20fill=%27none%27%20stroke=%27%232dd4bf%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E");
}

/* --- 2) Kontakt-Sektion: Pulslinie als Oberkante --- */
#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20width=%2788%27%20height=%2720%27%20viewBox=%270%200%2088%2020%27%3E%3Cpath%20d=%27M0%2010%20H26%20l5%20-7%20l5%2014%20l5%20-12%20l4%205%20H88%27%20fill=%27none%27%20stroke=%27%232dd4bf%27%20stroke-width=%272%27%20stroke-linecap=%27round%27%20stroke-linejoin=%27round%27/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    background-size: 88px 16px;
    opacity: 0.5;
}

/* --- 3) Hero: sehr blasses Punktraster (ruhig, "sauberer Raum") --- */
#hero {
    background-image:
        radial-gradient(circle at 85% 12%, rgba(13, 148, 136, 0.10) 0%, transparent 55%),
        radial-gradient(circle, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 26px 26px;
    background-position: 0 0, 0 0;
}

/* ==========================================================================
   KONTAKT-BUTTONS in der Ansprechpartner-Card (20.08.)
   Die Card endete vorher als Sackgasse: Foto, Name, Zitat - und kein Weg
   weiter. Muster 1:1 von der Gastro-/Makler-LP.
   ========================================================================== */
.theo-links {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-5);
}

.theo-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-pill);
    transition: all 0.25s ease;
}

.theo-btn svg {
    flex-shrink: 0;
}

.theo-btn.wa {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.22);
}

.theo-btn.wa:hover {
    background: #20ba56;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.theo-btn.tel {
    background: transparent;
    color: var(--clr-text);
    border: 1px solid var(--clr-card-border);
}

.theo-btn.tel:hover {
    background: var(--clr-text);
    color: #ffffff;
    border-color: var(--clr-text);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .theo-links {
        justify-content: center;
    }
}

/* ==========================================================================
   MOBILE QUIZ & PRAXEN POLISH (Smartphones <= 600px)
   ========================================================================== */
@media (max-width: 600px) {
    .quiz-overlay {
        padding: 10px;
        align-items: center;
    }

    .quiz-container {
        padding: 20px 16px;
        border-radius: 20px;
        max-height: 94dvh;
    }

    .quiz-top-bar {
        margin-bottom: 12px;
    }

    .quiz-step-badge {
        font-size: 0.75rem;
        padding: 4px 10px;
    }

    .quiz-close {
        width: 32px;
        height: 32px;
        font-size: 1.15rem;
    }

    .quiz-progress-bar {
        margin-bottom: 18px;
        height: 5px;
    }

    .quiz-step h3 {
        font-size: 1.15rem;
    }

    .quiz-step p {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .quiz-input {
        font-size: 16px !important; /* Prevents auto zoom in iOS Safari */
        padding: 13px 14px;
        border-radius: 10px;
    }

    .quiz-nav {
        margin-top: 18px;
        flex-direction: row;
        gap: 8px;
    }

    .quiz-btn-prev {
        padding: 12px 16px;
        font-size: 0.82rem;
    }

    .quiz-btn-next,
    .quiz-btn-submit {
        padding: 12px 18px;
        font-size: 0.85rem;
        flex: 1;
    }
}
