:root {
  /* ARZTBRIEF.AI ACTUAL BLUE PALETTE */
  --primary: #4A6B8A;
  --primary-dark: #3D5A75;
  --primary-darker: #314A60;
  --primary-light: #6B89A8;
  --primary-bg: #EEF3F8;
  --primary-bg-2: #F8FAFC;
  /* Green ONLY for checkmarks */
  --check-green: #22C55E;
  --accent: #F59E0B;
  --warning: #DC2626;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.04), 0 1px 3px rgba(15,23,42,0.05);
  --shadow-md: 0 4px 6px rgba(15,23,42,0.04), 0 10px 15px -3px rgba(15,23,42,0.07);
  --shadow-lg: 0 20px 25px -5px rgba(15,23,42,0.08), 0 10px 10px -5px rgba(15,23,42,0.04);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--gray-900); background: var(--gray-50); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: 'Inter', sans-serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--gray-900); }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; font-weight: 700; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }
p { color: var(--gray-600); }

.page-switcher { position: sticky; top: 0; z-index: 1000; background: var(--gray-900); color: white; padding: 0.6rem 1.5rem; display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; flex-wrap: wrap; }
.page-switcher .group-label { opacity: 0.55; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0.4rem 0 0.6rem; }
.page-switcher .group-label:first-child { margin-left: 0; }
.page-switcher a { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 0.35rem 0.85rem; border-radius: 6px; cursor: pointer; font-family: inherit; font-size: 0.8rem; font-weight: 500; transition: all 0.15s; text-decoration: none; display: inline-block; }
.page-switcher a:hover { background: rgba(255,255,255,0.08); }
.page-switcher a.active { background: var(--primary); color: white; border-color: var(--primary); }
.page-switcher .right { margin-left: auto; opacity: 0.5; font-size: 0.72rem; }

/* Logo: round avatar icon (doctor) + text */
.logo-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; fill: white; }
.logo { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; font-size: 1.4rem; color: var(--gray-900); cursor: pointer; letter-spacing: -0.02em; text-decoration: none; }

.site-header { background: white; border-bottom: 1px solid var(--gray-200); padding: 1rem 0; position: sticky; top: 41px; z-index: 100; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a, .nav-links .dropdown-trigger { color: var(--gray-700); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.15s; cursor: pointer; }
.nav-links a:hover, .nav-links .dropdown-trigger:hover { color: var(--primary-darker); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: 100%; left: 0; background: white; border: 1px solid var(--gray-200); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 0.5rem; min-width: 240px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 0.18s; margin-top: 0.5rem; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 0.55rem 0.85rem; border-radius: 6px; font-size: 0.92rem; color: var(--gray-700); }
.nav-dropdown-menu a:hover { background: var(--primary-bg); color: var(--primary-darker); }

/* Buttons in arztbrief.ai style: rounded, primary blue, UPPERCASE for primary CTAs */
.btn { display: inline-block; padding: 0.85rem 1.75rem; background: var(--primary); color: white; text-decoration: none; border-radius: 10px; font-weight: 600; font-size: 0.92rem; transition: all 0.15s; border: none; cursor: pointer; font-family: inherit; letter-spacing: 0; }
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-large { padding: 1rem 2rem; font-size: 0.95rem; }
.btn-cta { text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; padding: 1.1rem 2.25rem; font-size: 0.88rem; }
.btn-outline { background: white; color: var(--gray-900); border: 1.5px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary-darker); background: var(--primary-bg); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.eyebrow { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-darker); font-weight: 600; margin-bottom: 1rem; display: inline-block; padding: 0.4rem 0.9rem; background: var(--primary-bg); border-radius: 999px; }

.hero { padding: 4rem 0 4rem; background: var(--gray-50); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { margin-bottom: 1.5rem; color: var(--gray-900); text-align: center; }
.hero-grid h1 { text-align: left; }
.hero h1 .highlight { color: var(--primary); }
.hero-sub { font-size: 1.15rem; color: var(--gray-600); margin-bottom: 2rem; max-width: 540px; line-height: 1.65; }
.hero-cta-row { display: flex; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 1.25rem; align-items: center; font-size: 0.88rem; color: var(--gray-700); flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: 0.4rem; font-weight: 500; }
.hero-trust-item::before { content: '✓'; color: var(--check-green); font-weight: 700; }

.hero-visual { background: white; border: 1px solid var(--gray-200); border-radius: 16px; padding: 1.75rem; box-shadow: var(--shadow-sm); }
.hero-visual h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-darker); margin-bottom: 1rem; font-weight: 700; }
.spec-row { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-100); font-size: 0.95rem; }
.spec-row:last-child { border-bottom: none; }
.spec-row .label { color: var(--gray-600); }
.spec-row .value { font-weight: 600; color: var(--gray-900); }

.section-light { background: var(--gray-50); }
.section-white { background: white; }
.section-primary { background: var(--primary-bg); }
.section-deep { background: var(--gray-900); color: white; }
.section-deep h2, .section-deep h3, .section-deep h4 { color: white; }
.section-deep p { color: rgba(255,255,255,0.75); }

.section-header { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-header p { font-size: 1.1rem; margin-top: 1rem; color: var(--gray-600); }

/* Stats bar matching arztbrief.ai pattern */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2rem; background: white; border: 1px solid var(--gray-200); border-radius: 16px; box-shadow: var(--shadow-sm); margin: -3rem auto 0; max-width: 980px; position: relative; z-index: 5; }
.stat-item { text-align: center; padding: 0.5rem; }
.stat-num { font-size: 2.25rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; letter-spacing: -0.02em; }
.stat-label { font-size: 0.85rem; color: var(--gray-600); margin-top: 0.4rem; font-weight: 500; }

/* Use-cases like arztbrief.ai feature grid: white cards, subtle shadow */
.use-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.use-case { background: white; border: 1px solid var(--gray-200); border-radius: 14px; padding: 1.75rem; transition: all 0.2s; }
.use-case:hover { border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.use-case-icon { width: 44px; height: 44px; background: var(--primary-bg); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.3rem; color: var(--primary-darker); font-weight: 700; }
.use-case h4 { margin-bottom: 0.65rem; font-weight: 700; color: var(--gray-900); }
.use-case p { font-size: 0.95rem; line-height: 1.55; }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.how-step { text-align: center; padding: 1.5rem; }
.how-num { display: inline-flex; width: 56px; height: 56px; background: var(--primary); color: white; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; margin-bottom: 1.25rem; box-shadow: 0 4px 12px rgba(74,107,138,0.3); }
.how-step h4 { margin-bottom: 0.6rem; font-weight: 700; color: var(--gray-900); }
.how-step p { font-size: 0.95rem; }

.specs-block { background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.spec-item { display: grid; grid-template-columns: 200px 1fr 2fr; gap: 1.5rem; padding: 1.5rem 2rem; border-bottom: 1px solid var(--gray-100); align-items: start; }
.spec-item:last-child { border-bottom: none; }
.spec-item:hover { background: var(--gray-50); }
.spec-item h4 { font-weight: 700; font-size: 1.05rem; color: var(--primary-darker); }
.spec-item .spec-headline { font-weight: 600; color: var(--gray-900); }
.spec-item .spec-desc { font-size: 0.95rem; color: var(--gray-600); }

.compare-table { background: white; border-radius: 14px; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }
.compare-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-bottom: 1px solid var(--gray-100); }
.compare-row:last-child { border-bottom: none; }
.compare-cell { padding: 1.1rem 1.5rem; border-right: 1px solid var(--gray-100); font-size: 0.95rem; }
.compare-cell:last-child { border-right: none; }
.compare-row.head .compare-cell { background: var(--gray-50); font-weight: 700; font-size: 0.95rem; color: var(--gray-700); }
.compare-row.head .compare-cell:nth-child(3) { background: var(--primary-bg); color: var(--primary-darker); }
.compare-cell.win { color: var(--gray-900); font-weight: 600; }
.compare-cell.lose { color: var(--gray-500); }
.compare-cell.win::before { content: '✓ '; color: var(--check-green); font-weight: 700; }
.compare-cell.lose::before { content: '— '; opacity: 0.5; }

.datenschutz-toggle { display: inline-flex; background: var(--gray-100); border-radius: 999px; padding: 4px; margin-bottom: 2.5rem; border: 1px solid var(--gray-200); }
.datenschutz-toggle button { background: transparent; border: none; padding: 0.65rem 1.4rem; border-radius: 999px; font-family: inherit; font-size: 0.9rem; font-weight: 600; color: var(--gray-600); cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 0.5rem; }
.datenschutz-toggle button.active { background: var(--primary); color: white; }
.datenschutz-content { display: none; }
.datenschutz-content.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.datenschutz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.datenschutz-card { background: white; border: 1px solid var(--gray-200); border-left: 3px solid var(--primary); padding: 1.5rem 1.75rem; border-radius: 10px; }
.datenschutz-card h4 { font-weight: 700; margin-bottom: 0.5rem; font-size: 1rem; color: var(--gray-900); }
.datenschutz-card p { font-size: 0.92rem; line-height: 1.55; }



.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); padding: 1.5rem 0; }
.faq-item summary { font-size: 1.05rem; font-weight: 600; color: var(--gray-900); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--primary); font-weight: 300; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 1rem; font-size: 0.98rem; line-height: 1.65; }

/* Pricing cards mimicking arztbrief.ai exactly */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; max-width: 880px; margin: 0 auto; }
.pricing-card { background: white; border: 1px solid var(--gray-200); border-radius: 18px; padding: 2.5rem 2rem; position: relative; text-align: left; }
.pricing-card.featured { border: 2px solid var(--primary); }
.pricing-badge { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--primary); color: white; padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); }
.pricing-card h3 { text-align: center; margin-bottom: 1rem; font-size: 1.5rem; }
.pricing-price { text-align: center; margin-bottom: 1.5rem; }
.pricing-price .amount { font-size: 2.5rem; font-weight: 800; color: var(--gray-900); }
.pricing-price .unit { color: var(--gray-500); font-size: 1rem; margin-left: 0.25rem; }
.pricing-features { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.95rem; color: var(--gray-700); }
.pricing-features li::before { content: '✓'; color: var(--check-green); font-weight: 700; flex-shrink: 0; margin-top: 0.1rem; }

.final-cta { background: var(--primary); color: white; padding: 4.5rem 0; text-align: center; }
.final-cta h2 { color: white; margin-bottom: 1rem; }
.final-cta p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.1rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.final-cta .btn { background: white; color: var(--primary-darker); }
.final-cta .btn:hover { background: var(--gray-50); }

.site-footer { background: var(--gray-900); color: rgba(255,255,255,0.6); padding: 3rem 0 2rem; font-size: 0.88rem; }
.site-footer .container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .footer-col h5 { color: white; font-size: 0.82rem; margin-bottom: 1rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.site-footer .logo { color: white; margin-bottom: 0.75rem; font-weight: 800; }
.site-footer p { color: rgba(255,255,255,0.5); font-size: 0.82rem; line-height: 1.5; max-width: 280px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.85rem; cursor: pointer; }
.site-footer a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2rem; padding-top: 1.5rem; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.4); }

.related-block { background: white; border: 1px solid var(--gray-200); border-radius: 16px; padding: 2rem 2.25rem; margin: 0 auto; max-width: 880px; box-shadow: var(--shadow-sm); }
.related-block h4 { font-weight: 700; font-size: 1.15rem; color: var(--gray-900); margin-bottom: 1.25rem; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.related-link { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 10px; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--gray-900); transition: all 0.15s; display: block; cursor: pointer; }
.related-link:hover { border-color: var(--primary); background: var(--primary-bg); transform: translateY(-1px); }
.related-link strong { display: block; color: var(--primary-darker); font-weight: 700; font-size: 1rem; margin-bottom: 0.25rem; }
.related-link small { color: var(--gray-600); font-size: 0.82rem; line-height: 1.4; }
.related-link::after { content: ' →'; color: var(--primary); font-weight: 700; }

.argument-block { background: white; border: 1px solid var(--gray-200); border-radius: 14px; padding: 2.25rem 2.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); }
.argument-block h3 { font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; font-size: 1.3rem; }
.argument-block p { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; color: var(--gray-700); }
.argument-block p:last-child { margin-bottom: 0; }
.argument-block ul { margin: 1rem 0; padding-left: 1.25rem; }
.argument-block ul li { margin-bottom: 0.6rem; color: var(--gray-700); line-height: 1.6; }
.argument-block .pull-quote { font-style: italic; font-size: 1.15rem; color: var(--primary-darker); border-left: 4px solid var(--primary); padding-left: 1.25rem; margin: 1.5rem 0; font-weight: 500; }

.problem-solution { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.problem-card { background: #FEF2F2; border: 1px solid #FECACA; border-radius: 12px; padding: 1.75rem 2rem; }
.problem-card h4 { color: var(--warning); margin-bottom: 0.75rem; font-weight: 700; font-size: 1.05rem; }
.problem-card p { font-size: 0.95rem; line-height: 1.6; color: var(--gray-700); }
.solution-card { background: var(--primary-bg); border: 1px solid #C5D5E5; border-radius: 12px; padding: 1.75rem 2rem; }
.solution-card h4 { color: var(--primary-darker); margin-bottom: 0.75rem; font-weight: 700; font-size: 1.05rem; }
.solution-card p { font-size: 0.95rem; line-height: 1.6; color: var(--gray-800); }

.callout { background: #FFFBEB; border-left: 4px solid var(--accent); padding: 1.25rem 1.75rem; border-radius: 0 8px 8px 0; margin: 1.5rem 0; }
.callout strong { color: var(--gray-900); font-weight: 700; }
.callout p { color: var(--gray-700); font-size: 0.95rem; line-height: 1.6; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .how-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .spec-item { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.25rem 1.5rem; }
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .nav-links { display: none; }
  .datenschutz-grid { grid-template-columns: 1fr; }
  .problem-solution { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .site-footer .container { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .section { padding: 3.5rem 0; }
  .argument-block { padding: 1.75rem 1.5rem; }
}
