/* PhysioDesk.de — Hauptstylesheet */
:root {
  --primary: #0D9488;
  --primary-dark: #0a7669;
  --primary-light: #14b8a8;
  --primary-bg: #f0fdfa;
  --accent: #1E3A5F;
  --accent-light: #2d5a8e;
  --white: #ffffff;
  --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;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { color: var(--gray-900); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { color: var(--gray-600); line-height: 1.7; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

/* ── NAVIGATION ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; color: var(--accent);
  text-decoration: none;
}
.nav-brand .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem; font-weight: 800;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--gray-600); transition: color 0.2s; }
.nav-links a:hover { color: var(--primary); }

.nav-cta {
  display: flex; align-items: center; gap: 12px;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.2s; text-decoration: none;
}
.btn-primary {
  background: var(--primary); color: white;
}
.btn-primary:hover {
  background: var(--primary-dark); color: white;
  transform: translateY(-1px); box-shadow: 0 4px 12px rgba(13,148,136,0.4);
}
.btn-outline {
  background: transparent; color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary-bg); color: var(--primary-dark);
}
.btn-white {
  background: white; color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--gray-50); transform: translateY(-1px); color: var(--primary-dark);
}
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--gray-700); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0a4a44 0%, #0D9488 40%, #14b8a8 70%, #2dd4bf 100%);
  padding: 100px 5% 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-text h1 { color: white; margin-bottom: 12px; }
.hero-tagline { font-size: 1.2rem; color: rgba(255,255,255,0.85); margin-bottom: 24px; font-style: italic; }
.hero-text p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 40px; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: white; line-height: 1; }
.hero-stat .label { font-size: 0.8rem; color: rgba(255,255,255,0.7); margin-top: 4px; }

.hero-visual {
  position: relative;
}
.hero-dashboard {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.3s;
}
.hero-dashboard:hover { transform: perspective(1000px) rotateY(-4deg) rotateX(1deg); }
.dash-header {
  background: var(--accent);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: #ef4444; }
.dash-dot.yellow { background: #f59e0b; }
.dash-dot.green { background: #22c55e; }
.dash-title { color: white; font-size: 0.85rem; font-weight: 600; margin-left: 8px; }
.dash-body { padding: 20px; background: var(--gray-50); }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.dash-card {
  background: white; border-radius: 10px; padding: 14px;
  border-left: 3px solid var(--primary); box-shadow: var(--shadow-sm);
}
.dash-card .dc-num { font-size: 1.5rem; font-weight: 800; color: var(--accent); }
.dash-card .dc-label { font-size: 0.72rem; color: var(--gray-500); margin-top: 2px; }
.dash-patients {
  background: white; border-radius: 10px; padding: 14px; box-shadow: var(--shadow-sm);
}
.patient-row {
  display: flex; align-items: center; gap: 10px; padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.78rem;
}
.patient-row:last-child { border-bottom: none; }
.p-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.65rem; font-weight: 700; flex-shrink: 0;
}
.p-info { flex: 1; }
.p-name { font-weight: 600; color: var(--gray-800); }
.p-diag { color: var(--gray-400); font-size: 0.7rem; }
.p-badge {
  padding: 2px 8px; border-radius: 20px; font-size: 0.65rem; font-weight: 600;
}
.badge-gkv { background: #dcfce7; color: #16a34a; }
.badge-priv { background: #dbeafe; color: #2563eb; }
.badge-wl { background: #fef9c3; color: #ca8a04; }

/* ── SECTIONS ── */
section { padding: 80px 5%; }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: var(--primary-bg); color: var(--primary);
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.section-header p { max-width: 600px; margin: 16px auto 0; font-size: 1.05rem; }

/* ── USPs ── */
.usp-section { background: var(--gray-50); }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.usp-card {
  background: white; border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); transition: all 0.3s;
  border-top: 3px solid transparent;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--primary); }
.usp-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  background: var(--primary-bg); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 20px;
}
.usp-card h4 { margin-bottom: 10px; }
.usp-card p { font-size: 0.9rem; }

/* ── MODULES ── */
.modules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.module-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); display: flex; gap: 20px;
  transition: all 0.3s;
  border: 1px solid var(--gray-200);
}
.module-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); }
.module-icon {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0; color: white;
}
.module-body h4 { margin-bottom: 8px; }
.module-body p { font-size: 0.88rem; margin-bottom: 12px; }
.module-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600;
  background: var(--gray-100); color: var(--gray-600);
}

/* ── COMPLIANCE ── */
.compliance-section { background: var(--accent); color: white; }
.compliance-section .section-header h2 { color: white; }
.compliance-section .section-header p { color: rgba(255,255,255,0.75); }
.compliance-section .section-badge { background: rgba(255,255,255,0.15); color: white; }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.compliance-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius); padding: 28px;
  text-align: center;
}
.compliance-card .ci { font-size: 2.5rem; margin-bottom: 14px; }
.compliance-card h4 { color: white; margin-bottom: 8px; }
.compliance-card p { color: rgba(255,255,255,0.7); font-size: 0.88rem; }

/* ── PRICING ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card {
  background: white; border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow); text-align: center;
  border: 2px solid var(--gray-200);
  transition: all 0.3s; position: relative;
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13,148,136,0.1), var(--shadow-xl);
  transform: scale(1.05);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white;
  padding: 4px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: 700;
}
.pricing-name { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin-bottom: 8px; }
.pricing-price { font-size: 3rem; font-weight: 900; color: var(--accent); line-height: 1; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--gray-500); }
.pricing-desc { color: var(--gray-500); font-size: 0.85rem; margin: 12px 0 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li {
  padding: 8px 0; font-size: 0.88rem; color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  display: flex; align-items: center; gap: 10px;
}
.pricing-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.pricing-features li.no::before { content: '✗'; color: var(--gray-300); }
.pricing-features li.no { color: var(--gray-400); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ── TESTIMONIALS ── */
.testi-section { background: var(--gray-50); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.testi-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; }
.testi-text { font-style: italic; color: var(--gray-600); margin-bottom: 18px; font-size: 0.92rem; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.85rem;
}
.testi-info strong { font-size: 0.9rem; color: var(--gray-800); display: block; }
.testi-info span { font-size: 0.78rem; color: var(--gray-500); }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  text-align: center; color: white;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.trust-badges { display: flex; justify-content: center; gap: 24px; margin-top: 32px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.75); font-size: 0.85rem; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900); color: rgba(255,255,255,0.7);
  padding: 60px 5% 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-brand .nav-brand { color: white; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; }
.footer-col h5 { color: white; font-size: 0.9rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-light); }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: gap;
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); margin-left: 20px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }

/* ── LEGAL PAGES ── */
.legal-hero { background: var(--gray-100); padding: 100px 5% 40px; }
.legal-hero h1 { font-size: 2rem; }
.legal-content { max-width: 800px; margin: 0 auto; padding: 60px 5%; }
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--accent); border-bottom: 2px solid var(--primary-bg); padding-bottom: 8px; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-content p, .legal-content li { font-size: 0.95rem; margin-bottom: 12px; color: var(--gray-700); }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content ul li, .legal-content ol li { margin-bottom: 6px; }
.legal-content .highlight-box {
  background: var(--primary-bg); border-left: 4px solid var(--primary);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}
.legal-content .warning-box {
  background: #fff7ed; border-left: 4px solid #f97316;
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .pricing-card.featured { transform: scale(1); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .usp-grid, .compliance-grid, .pricing-grid, .testi-grid { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { gap: 20px; }
}
@media (max-width: 480px) {
  section { padding: 60px 4%; }
  .hero { padding: 90px 4% 50px; }
  .hero-buttons { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
