/**
 * Praxis Dr. med. Qassim Al Saadawi - Main Stylesheet
 * Mobile-First Design - Built for 320px+ devices
 */

/* ========================================
   CSS VARIABLES
   ======================================== */

:root {
  /* Colors */
  --primary: #0c5b7a;
  --primary-dark: #073449;
  --primary-light: #e6f3f7;
  --accent: #f7b500;
  --accent-soft: #fff7e0;
  --text-dark: #0f172a;
  --text-muted: #6b7280;
  --text-white: #ffffff;
  --bg-page: #f3f4f6;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --border-muted: #d1d5db;
  
  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Font Sizes */
  --font-xs: 11px;
  --font-sm: 13px;
  --font-base: 16px;
  --font-lg: 18px;
  --font-xl: 22px;
  --font-2xl: 26px;
  --font-3xl: 32px;
  --font-4xl: 44px;
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 26px;
  --radius-full: 999px;
  
  /* Shadows */
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.18);
  --shadow-card: 0 18px 40px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.1);
  
  /* Transitions */
  --transition-fast: 160ms ease-out;
  --transition-base: 250ms ease-out;
  
  /* Focus Ring */
  --focus-ring: 0 0 0 3px rgba(14, 165, 233, 0.4);
}

/* ========================================
   FONTS - LOCAL HOSTING (DSGVO COMPLIANT)
   ======================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.woff2") format("woff2");
}

/* ========================================
   BASE STYLES - MOBILE FIRST (320px+)
   ======================================== */

* {
  scroll-margin-top: 65px;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

*:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}

.praxis-page {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: radial-gradient(circle at top, #e0f2fe 0, #f9fafb 45%, #f3f4f6 100%);
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body.mobile-menu-open {
  overflow: hidden;
}

.praxis-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ========================================
   HEADER - MOBILE
   ======================================== */

.praxis-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.praxis-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  flex-wrap: wrap;
  position: relative;
}

.praxis-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: 1;
}

.praxis-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, #ffffff 0, #bae6fd 45%, #0ea5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
  flex-shrink: 0;
}

.praxis-logo-text {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.praxis-logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  display: none;
}

/* Mobile Menu Toggle */
.praxis-mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  padding: var(--space-sm);
  cursor: pointer;
  z-index: 100;
  position: relative;
  order: 3;
  margin-left: auto;
}

.praxis-hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  position: relative;
  transition: background 0.3s ease;
}

.praxis-hamburger::before,
.praxis-hamburger::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  position: absolute;
  left: 0;
  transition: transform 0.3s ease;
}

.praxis-hamburger::before {
  top: -8px;
}

.praxis-hamburger::after {
  top: 8px;
}

.praxis-mobile-menu-toggle.active .praxis-hamburger {
  background: transparent;
}

.praxis-mobile-menu-toggle.active .praxis-hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.praxis-mobile-menu-toggle.active .praxis-hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Navigation */
.praxis-nav {
  display: none;
  position: fixed;
  top: 57px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: var(--space-lg);
  gap: 0;
  z-index: 99;
  animation: slideDown 0.3s ease-out;
  height: calc(100vh - 57px);
}

.praxis-nav.active {
  display: flex;
}

.praxis-nav a.praxis-nav-link {
  text-decoration: none;
  color: var(--text-dark);
  padding: var(--space-md) var(--space-md);
  font-size: 18px;
  border-bottom: 1px solid #e5e7eb;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.praxis-nav a.praxis-nav-link:hover {
  color: var(--primary);
}

.praxis-nav a.praxis-nav-link:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 4px;
  border-radius: 4px;
}

.praxis-nav-cta {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 2px solid #e5e7eb;
}

.praxis-phone-pill {
  font-size: 15px;
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  border-radius: 999px;
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(12, 91, 122, 0.08));
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
  text-decoration: none;
  color: var(--primary);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
  width: 100%;
  line-height: 1;
}

.praxis-phone-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.25);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(12, 91, 122, 0.12));
  border-color: var(--primary-dark);
}

.praxis-phone-pill:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.praxis-phone-pill span:first-child {
  font-size: 17px;
}

/* ========================================
   BUTTONS - MOBILE
   ======================================== */

.praxis-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) var(--space-lg);
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0ea5e9, #0c5b7a);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
  cursor: pointer;
  transform: translateY(0);
  transition: transform 140ms ease-out, box-shadow 140ms ease-out, filter 140ms ease-out;
  width: 100%;
}

.praxis-btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.55);
}

.praxis-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 14px 35px rgba(30, 64, 175, 0.4);
}

.praxis-btn-primary:focus-visible {
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.55), var(--focus-ring);
}

.praxis-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  color: var(--text-dark);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--transition-fast), border-color var(--transition-fast);
  width: 100%;
}

.praxis-btn-ghost:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.praxis-btn-ghost:active {
  background: #f1f5f9;
  transform: scale(0.98);
}

.praxis-btn-ghost:focus-visible {
  border-color: #0ea5e9;
  box-shadow: var(--focus-ring);
}

/* ========================================
   HERO SECTION - MOBILE
   ======================================== */

.praxis-hero {
  padding: var(--space-lg) 0 var(--space-2xl);
}

.praxis-hero-inner {
  position: relative;
  overflow: hidden;
}

.praxis-hero {
  overflow: hidden;
}

.praxis-hero-glow {
  position: absolute;
  inset: -80px 0 40%;
  background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.25), transparent 55%),
              radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  filter: blur(4px);
}

.praxis-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  z-index: 1;
}

.praxis-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  margin-top: 10px;
  backdrop-filter: blur(12px);
  flex-wrap: wrap;
  text-align: center;
}

.praxis-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
  flex-shrink: 0;
}

.praxis-pill-label {
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.praxis-hero-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.praxis-hero-title span {
  color: var(--primary);
}

.praxis-hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.praxis-hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 12px;
  color: #92400e;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.praxis-hero-highlight span:first-child {
  font-size: 14px;
}

.praxis-hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.praxis-hero-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.praxis-hero-meta strong {
  color: var(--primary);
}

.praxis-hero-stack {
  position: relative;
}

.praxis-hero-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: var(--space-lg);
}

.praxis-hero-photo img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.praxis-hero-card-bg {
  display: none;
}

.praxis-hero-card {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid #e5e7eb;
  z-index: 1;
  overflow: hidden;
}

.praxis-hero-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.15), transparent 55%);
  opacity: 0.7;
  z-index: -1;
}

.praxis-hero-card-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.praxis-hero-card-title {
  font-size: 14px;
  font-weight: 700;
}

.praxis-hero-card-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.praxis-badge-soft {
  font-size: 10px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: var(--primary-dark);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-weight: 600;
  letter-spacing: 0.01em;
  display: inline-block;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.praxis-hours-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  font-size: 12px;
  margin-bottom: var(--space-md);
}

.praxis-hours-col h4 {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.praxis-hours-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.praxis-hours-day {
  color: var(--text-muted);
  flex-shrink: 0;
}

.praxis-hours-time {
  font-weight: 600;
  color: var(--text-dark);
  text-align: right;
  word-break: break-word;
  flex: 1;
  min-width: 0;
}

.praxis-pill-now {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  font-size: 11px;
  color: #15803d;
  font-weight: 600;
}

.praxis-pill-now-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.praxis-location {
  padding: var(--space-md) 0;
  font-size: 12px;
  line-height: 1.7;
}

.praxis-location strong {
  display: block;
  margin-bottom: var(--space-xs);
  font-size: 12px;
  color: var(--text-dark);
}

.praxis-location a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration var(--transition-fast);
}

.praxis-location a:hover {
  text-decoration: underline;
  color: var(--primary-dark);
}

.praxis-location a:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
  border-radius: 2px;
}

.praxis-location-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* ========================================
   SECTIONS - MOBILE
   ======================================== */

.praxis-section {
  padding: var(--space-2xl) 0;
  overflow: hidden;
}

.praxis-section:nth-of-type(even):not(.praxis-no-bg) {
  background: radial-gradient(circle at top left, #eff6ff 0, #f9fafb 45%, #f3f4f6 100%);
}

.praxis-section-header {
  margin-bottom: var(--space-lg);
}

.praxis-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: var(--space-sm);
}

.praxis-h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.praxis-h2 span {
  color: var(--primary);
}

.praxis-section-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ========================================
   CARDS - MOBILE
   ======================================== */

.praxis-cards-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

.praxis-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  cursor: default;
}

.praxis-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(148, 163, 184, 0.45);
  border-color: #cbd5e1;
}

.praxis-card:focus-within {
  border-color: #0ea5e9;
  box-shadow: 0 20px 50px rgba(148, 163, 184, 0.45), var(--focus-ring);
}

.praxis-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, #eff6ff 0, #bfdbfe 55%, #2563eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  margin-bottom: var(--space-md);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.4);
}

.praxis-card-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.praxis-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   SERVICES LIST - MOBILE
   ======================================== */

.praxis-services-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.praxis-service-category {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 20px rgba(148, 163, 184, 0.12);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.praxis-service-category:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(148, 163, 184, 0.2);
  border-color: #cbd5e1;
}

.praxis-service-category-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--primary-light);
}

.praxis-service-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.praxis-service-items li {
  font-size: 12px;
  color: var(--text-muted);
  padding: var(--space-xs) 0 var(--space-xs) 18px;
  position: relative;
  line-height: 1.5;
}

.praxis-service-items li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
  font-size: 13px;
}

/* ========================================
   TWO-COLUMN & GRIDS - MOBILE (Single Column)
   ======================================== */

.praxis-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
}

.praxis-taglist {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.praxis-tag {
  font-size: 11px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.06);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

/* ========================================
   STEPS - MOBILE
   ======================================== */

.praxis-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

.praxis-step {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 26px rgba(148, 163, 184, 0.18);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.praxis-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(148, 163, 184, 0.3);
  border-color: #cbd5e1;
}

.praxis-step-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.praxis-step-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.praxis-step-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ========================================
   TEAM - MOBILE
   ======================================== */

.praxis-team {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
}

.praxis-team-card {
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  border: 1px solid #dbeafe;
  box-shadow: var(--shadow-card);
}

.praxis-doctor-row {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-md);
}

.praxis-doc-avatar {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: radial-gradient(circle at 20% 0, #ffffff 0, #bae6fd 45%, #0ea5e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.4);
  flex-shrink: 0;
}

.praxis-doc-name {
  font-size: 15px;
  font-weight: 700;
}

.praxis-doc-role {
  font-size: 12px;
  color: var(--text-muted);
}

.praxis-doc-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.praxis-team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.praxis-team-tags span {
  font-size: 10px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.praxis-doc-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.praxis-team-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.35);
  order: -1;
}

.praxis-team-photo img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* ========================================
   TESTIMONIALS - MOBILE
   ======================================== */

.praxis-testimonials {
  background: radial-gradient(circle at top left, #1e293b 0, #020617 55%, #020617 100%);
  color: #e5e7eb;
  border-radius: 26px;
  padding: var(--space-lg) var(--space-lg);
  position: relative;
  overflow: hidden;
}

.praxis-testimonials::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.praxis-testimonials-inner {
  position: relative;
  z-index: 1;
}

.praxis-testimonials-header {
  margin-bottom: var(--space-lg);
}

.praxis-testimonials-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: #ffffff;
  line-height: 1.2;
}

.praxis-testimonials-info {
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.6;
}

.praxis-testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

.praxis-quote-card {
  background: rgba(30, 41, 59, 0.5);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.praxis-quote-text {
  font-size: 13px;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: var(--space-md);
}

.praxis-quote-name {
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: var(--space-xs);
}

.praxis-quote-meta {
  font-size: 11px;
  color: #94a3b8;
}

/* ========================================
   CTA SECTION - MOBILE
   ======================================== */

.praxis-cta-section {
  background: linear-gradient(135deg, #0ea5e9, #0c5b7a);
  border-radius: 26px;
  padding: var(--space-lg) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.praxis-cta-section::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.praxis-cta-inner {
  position: relative;
  z-index: 1;
}

.praxis-cta-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.praxis-cta-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.praxis-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
}

.praxis-cta-item {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.praxis-cta-item-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xs);
}

.praxis-cta-item-value {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.praxis-cta-item a {
  color: #ffffff;
  text-decoration: none;
}

.praxis-phone-pill--cta {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: var(--space-md) var(--space-lg);
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.praxis-phone-pill--cta:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.praxis-cta-hours {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.praxis-cta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  gap: var(--space-md);
  flex-wrap: wrap;
}

.praxis-cta-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.praxis-cta-row span:first-child {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  min-width: 80px;
  flex-shrink: 0;
}

.praxis-cta-row span:last-child {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-align: right;
  word-break: break-word;
  flex: 1;
  min-width: 0;
}

/* ========================================
   MAP - MOBILE
   ======================================== */

.praxis-map-container {
  width: 100%;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-lg);
}

.praxis-map-placeholder-content {
  text-align: center;
  padding: var(--space-lg);
  max-width: 280px;
}

.praxis-map-placeholder-content h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.praxis-map-placeholder-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

/* ========================================
   FOOTER - MOBILE
   ======================================== */

.praxis-footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: var(--space-xl) 0 var(--space-lg);
}

.praxis-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.praxis-footer h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.praxis-footer p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.praxis-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.praxis-footer a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.praxis-footer a:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
  border-radius: 2px;
}

.praxis-footer-bottom {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: var(--space-sm);
  font-size: 11px;
  color: var(--text-muted);
}

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

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.praxis-hero-grid > * {
  animation: fadeInUp 0.6s ease-out;
}

.praxis-hero-grid > *:nth-child(2) {
  animation-delay: 0.1s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   TABLET - MIN-WIDTH: 641px
   ======================================== */

@media (min-width: 641px) {
  /* Container */
  .praxis-container {
    padding: 0 var(--space-lg);
  }

  /* Typography */
  .praxis-h2 {
    font-size: 26px;
  }

  .praxis-hero-title {
    font-size: 32px;
  }

  /* Sections */
  .praxis-section {
    padding: var(--space-3xl) 0;
  }

  .praxis-hero {
    padding: var(--space-xl) 0 44px;
  }

  /* Buttons - not full width */
  .praxis-btn-primary,
  .praxis-btn-ghost {
    width: auto;
    padding: var(--space-md) var(--space-lg);
    font-size: 15px;
  }

  .praxis-hero-actions {
    flex-direction: row;
    gap: var(--space-md);
  }

  /* Cards - 2 columns */
  .praxis-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  /* Services - 2 columns */
  .praxis-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .praxis-service-category {
    padding: var(--space-lg) var(--space-lg);
  }

  .praxis-service-category-title {
    font-size: 15px;
  }

  .praxis-service-items li {
    font-size: 13px;
  }

  /* Steps - 2 columns */
  .praxis-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .praxis-step {
    padding: var(--space-lg);
  }

  .praxis-step-title {
    font-size: 14px;
  }

  .praxis-step-text {
    font-size: 13px;
  }

  /* Testimonials - 2 columns */
  .praxis-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .praxis-quote-text {
    font-size: 14px;
  }

  /* Map */
  .praxis-map-container {
    height: 320px;
  }

  /* Team Photo */
  .praxis-team-photo img {
    height: 280px;
  }

  /* CTA Grid */
  .praxis-cta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  /* Footer */
  .praxis-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl);
  }

  .praxis-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ========================================
   DESKTOP - MIN-WIDTH: 961px
   ======================================== */

@media (min-width: 961px) {
  /* Container */
  .praxis-container {
    padding: 0 var(--space-xl);
  }

  /* Scroll offset for larger header */
  * {
    scroll-margin-top: 80px;
  }

  /* Header - Desktop Navigation */
  .praxis-header-inner {
    padding: var(--space-md) 0;
    flex-wrap: nowrap;
  }

  .praxis-logo-wrap {
    gap: var(--space-md);
  }

  .praxis-logo-circle {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .praxis-logo-text {
    font-size: 15px;
  }

  .praxis-logo-sub {
    display: block;
    font-size: 12px;
  }

  /* Hide mobile menu toggle */
  .praxis-mobile-menu-toggle {
    display: none;
  }

  /* Desktop Navigation */
  .praxis-nav {
    display: flex;
    position: static;
    background: none;
    backdrop-filter: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: var(--space-lg);
    font-size: 14px;
    z-index: auto;
    overflow-y: visible;
    animation: none;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
  }

  .praxis-nav a.praxis-nav-link {
    padding-bottom: 2px;
    font-size: 14px;
    border-bottom: none;
    position: relative;
    padding: 0 0 2px 0;
    font-weight: 500;
    color: var(--text-muted);
  }

  .praxis-nav a.praxis-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5e9, #0c5b7a);
    transition: width var(--transition-fast);
  }

  .praxis-nav a.praxis-nav-link:hover {
    color: var(--primary);
  }

  .praxis-nav a.praxis-nav-link:hover::after {
    width: 100%;
  }

  .praxis-nav-cta {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  .praxis-nav-cta .praxis-phone-pill::after {
    display: none;
  }

  .praxis-phone-pill {
    width: auto;
    padding: 6px 12px;
    font-size: 16px;
    gap: 4px;
    box-shadow: 0 1px 3px rgba(14, 165, 233, 0.1);
  }

  .praxis-phone-pill span:first-child {
    font-size: 16px;
  }

  /* Typography */
  .praxis-h2 {
    font-size: 32px;
  }

  .praxis-hero-title {
    font-size: 44px;
  }

  .praxis-hero-sub {
    font-size: 15px;
    max-width: 520px;
  }

  /* Sections */
  .praxis-section {
    padding: var(--space-3xl) 0;
  }

  .praxis-hero {
    padding: 56px 0 var(--space-2xl);
  }

  .praxis-section-header {
    margin-bottom: var(--space-xl);
  }

  .praxis-kicker {
    font-size: 12px;
  }

  .praxis-section-sub {
    font-size: 14px;
  }

  /* Hero - 2 columns */
  .praxis-hero-grid {
    grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr);
    gap: var(--space-2xl);
    align-items: stretch;
  }

  .praxis-hero-photo img {
    height: 210px;
  }

  .praxis-hero-card {
    padding: var(--space-lg) var(--space-lg) var(--space-lg);
  }

  .praxis-hero-card-bg {
    display: block;
    position: absolute;
    inset: 160px 0 -18px 16px;
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0));
    transform: translateY(10px);
    z-index: 0;
  }

  .praxis-hero-card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .praxis-hours-grid {
    grid-template-columns: 1.3fr 1.1fr;
    gap: var(--space-md);
    font-size: 13px;
  }

  /* Cards - 4 columns */
  .praxis-cards-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  .praxis-card {
    padding: var(--space-lg) var(--space-md);
  }

  .praxis-card-icon {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .praxis-card-title {
    font-size: 15px;
  }

  /* Two Column Layouts */
  .praxis-two-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-3xl);
    align-items: start;
  }

  /* Services - 2 columns (stays 2) */
  .praxis-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  /* Steps - 2 columns */
  .praxis-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl);
  }

  /* Team */
  .praxis-team {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--space-2xl);
    align-items: center;
  }

  .praxis-team-photo {
    order: 0;
  }

  .praxis-team-photo img {
    height: 320px;
  }

  /* Testimonials - 3 columns */
  .praxis-testimonials {
    padding: var(--space-xl) var(--space-xl) var(--space-xl);
  }

  .praxis-testimonials-header h2 {
    font-size: 28px;
  }

  .praxis-testimonials-info {
    font-size: 13px;
  }

  .praxis-testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  /* CTA */
  .praxis-cta-section {
    padding: 40px var(--space-xl);
  }

  .praxis-cta-title {
    font-size: 32px;
  }

  .praxis-cta-sub {
    font-size: 15px;
  }

  .praxis-cta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
  }

  /* Map */
  .praxis-map-container {
    height: 380px;
  }

  /* Footer */
  .praxis-footer {
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .praxis-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-2xl);
  }
}

/* ========================================
   EXTRA SMALL DEVICES - MAX-WIDTH: 400px
   ======================================== */

@media (max-width: 400px) {
  .praxis-container {
    padding: 0 var(--space-md);
  }

  .praxis-hero-title {
    font-size: 22px;
  }

  .praxis-h2 {
    font-size: 20px;
  }

  .praxis-logo-text {
    font-size: 12px;
  }

  .praxis-section {
    padding: var(--space-xl) 0;
  }

  .praxis-btn-primary,
  .praxis-btn-ghost {
    font-size: 13px;
    padding: var(--space-sm) var(--space-md);
  }
}


/* ========================================
   COOKIE BANNER - DSGVO COMPLIANT
   ======================================== */

.praxis-cookie-banner {
  display: none;
  position: fixed;
  inset-inline: var(--space-md);
  bottom: var(--space-md);
  max-width: 600px;
  margin-inline: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  color: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  font-size: var(--font-sm);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  z-index: 100;
  font-family: "Inter", system-ui, sans-serif;
}

.praxis-cookie-banner h3 {
  font-size: var(--font-base);
  font-weight: var(--font-bold);
  margin-bottom: var(--space-sm);
  color: var(--primary-dark);
}

.praxis-cookie-banner p {
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--text-dark);
}

.praxis-cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.praxis-cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: var(--font-sm);
  font-weight: var(--font-semibold);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  font-family: "Inter", system-ui, sans-serif;
}

.praxis-cookie-btn:hover {
  transform: translateY(-1px);
}

.praxis-cookie-btn:active {
  transform: translateY(0);
}

.praxis-cookie-btn-primary {
  background: var(--primary);
  color: var(--text-white);
}

.praxis-cookie-btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(12, 91, 122, 0.3);
}

.praxis-cookie-btn-secondary {
  background: var(--accent);
  color: var(--primary-dark);
}

.praxis-cookie-btn-secondary:hover {
  background: #e6a800;
  box-shadow: 0 4px 12px rgba(247, 181, 0, 0.3);
}

.praxis-cookie-btn-outline {
  background: transparent;
  border: 1px solid var(--border-muted);
  color: var(--text-dark);
}

.praxis-cookie-btn-outline:hover {
  background: var(--bg-light);
  border-color: var(--primary);
}

.praxis-cookie-link {
  color: var(--primary);
  text-decoration: underline;
  padding: var(--space-sm) var(--space-md);
  display: inline-block;
  font-size: var(--font-sm);
  transition: color var(--transition-fast);
}

.praxis-cookie-link:hover {
  color: var(--primary-dark);
}

.praxis-cookie-detail-section {
  margin-bottom: var(--space-md);
}

.praxis-cookie-checkbox-label {
  display: flex;
  align-items: start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.praxis-cookie-checkbox-label:hover {
  background: var(--bg-light);
}

.praxis-cookie-checkbox-label input[type="checkbox"] {
  margin-top: var(--space-xs);
  cursor: pointer;
}

.praxis-cookie-checkbox-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

.praxis-cookie-checkbox-title {
  font-weight: var(--font-semibold);
  margin-bottom: var(--space-xs);
  color: var(--text-dark);
}

.praxis-cookie-checkbox-desc {
  font-size: var(--font-xs);
  color: var(--text-muted);
  line-height: 1.4;
}
