/* ==========================================================================
   KiJu Praxis Noel - Complete Stylesheet
   Psychotherapy Practice for Children & Youth
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Primary (Gold/Orange — from logo "Praxis") */
  --color-primary: #f29400;
  --color-primary-light: #fef5e7;
  --color-primary-dark: #c97a00;

  /* Secondary (Dark Blue — from logo "Ki") */
  --color-secondary: #172983;
  --color-secondary-light: #e8ecf5;
  --color-secondary-dark: #0f1c5c;

  /* Accent (Red — from logo "Ju") */
  --color-accent: #e2001a;
  --color-accent-light: #fde8ea;
  --color-accent-dark: #b80015;

  /* Highlight (Light Blue — from logo "Noel") */
  --color-highlight: #2eaadc;
  --color-highlight-light: #e6f4fb;
  --color-highlight-dark: #1e8ab5;

  /* Neutrals */
  --color-background: #fafaf8;
  --color-surface: #ffffff;
  --color-text: #2d3436;
  --color-text-light: #636e72;
  --color-text-lighter: #9ca3af;
  --color-border: #e5e7eb;

  /* Fonts */
  --font-heading: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Spacing */
  --nav-height: 5rem;
  --section-padding-y: 5rem;
  --container-max: 1200px;
  --container-padding: 1.5rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Border radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. @font-face Declarations (DSGVO-compliant, self-hosted)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   3. Reset & Base Styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  color: var(--color-text);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-secondary-dark);
}

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
}

/* --------------------------------------------------------------------------
   4. Utility / Layout
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.text-center {
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  min-height: 44px;
  min-width: 44px;
}

.nav-logo:hover {
  color: var(--color-text);
}

.nav-logo img {
  height: 2.5rem;
  width: auto;
}

/* Desktop nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color var(--transition-fast);
  padding: 0.5rem 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
}

/* Individual nav link underline colors */
.nav-links a:nth-child(1)::after { background-color: var(--color-secondary); }
.nav-links a:nth-child(2)::after { background-color: var(--color-accent); }
.nav-links a:nth-child(3)::after { background-color: var(--color-primary); }

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

/* CTA Button in nav */
.nav-cta {
  display: none;
  align-items: center;
  padding: 0.625rem 1.5rem;
  background-color: var(--color-highlight);
  color: var(--color-surface) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  min-height: 44px;
}

.nav-cta:hover {
  background-color: var(--color-highlight-dark);
  color: var(--color-surface) !important;
  transform: translateY(-1px);
}

/* Hamburger button */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0.5rem;
  color: var(--color-text);
  position: relative;
  z-index: 60;
}

.nav-hamburger svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* When menu is open, show X icon */
.nav-hamburger .icon-close {
  display: none;
}

.nav-hamburger.is-open .icon-menu {
  display: none;
}

.nav-hamburger.is-open .icon-close {
  display: block;
}

/* Mobile menu overlay (sits outside nav, covers entire screen) */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-menu a:hover {
  color: var(--color-secondary);
}

.mobile-menu .nav-cta-mobile {
  margin-top: 1rem;
  padding: 0.875rem 2rem;
  background-color: var(--color-highlight);
  color: var(--color-surface) !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1.125rem;
  min-height: 48px;
}

.mobile-menu .nav-cta-mobile:hover {
  background-color: var(--color-highlight-dark);
  color: var(--color-surface) !important;
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background: linear-gradient(
    135deg,
    var(--color-primary-light) 0%,
    var(--color-background) 50%,
    var(--color-secondary-light) 100%
  );
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: 5rem;
}

/* Decorative blurred circles */
.hero-decoration {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-decoration--primary {
  width: 400px;
  height: 400px;
  background-color: var(--color-primary);
  top: -100px;
  right: -100px;
  opacity: 0.15;
}

.hero-decoration--secondary {
  width: 300px;
  height: 300px;
  background-color: var(--color-secondary);
  bottom: -50px;
  left: -50px;
  opacity: 0.1;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

/* Hero text */
.hero-content {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: rgba(242, 148, 0, 0.1);
  border: 1px solid rgba(242, 148, 0, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-title-highlight {
  color: var(--color-highlight);
}

.hero-subtitle {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero-actions .btn-primary {
  width: 100%;
  max-width: 20rem;
}

.hero-actions .btn-outline {
  width: 100%;
  max-width: 20rem;
}

/* Hero image composition */
.hero-image-wrapper {
  display: none;
}

.hero-images {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-image-main {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
  width: 75%;
}

.hero-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 30%;
}

.hero-image-secondary {
  position: absolute;
  top: 2rem;
  right: 0;
  z-index: 3;
  width: 42%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Decorative accent blocks */
.hero-accent {
  position: absolute;
  z-index: 1;
}

.hero-accent--gold {
  width: 5rem;
  height: 5rem;
  background-color: var(--color-primary);
  opacity: 0.5;
  top: -1.5rem;
  left: -1rem;
  border-radius: var(--radius-xl);
}

.hero-accent--red {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--color-accent);
  opacity: 0.35;
  bottom: -1rem;
  right: 2rem;
  border-radius: var(--radius-lg);
}

/* --------------------------------------------------------------------------
   7. Buttons (shared)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  min-height: 48px;
  min-width: 44px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-surface);
  border-color: var(--color-secondary);
}

.btn-primary:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: var(--color-surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.btn-outline:hover {
  background-color: var(--color-secondary);
  color: var(--color-surface);
  transform: translateY(-1px);
}

.btn-primary-gold {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
}

.btn-primary-gold:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-surface);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. About Section
   -------------------------------------------------------------------------- */
.about {
  background-color: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Portrait on mobile */
.about-portrait-wrapper {
  display: flex;
  justify-content: center;
}

.about-portrait {
  max-width: 220px;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

/* Timeline */
.about-timeline {
  position: relative;
  padding-left: 2rem;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Timeline dot */
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 0.375rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  border: 2px solid var(--color-surface);
  transform: translateX(calc(-50% + 1px));
  z-index: 1;
}

.timeline-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition-base);
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
}

.timeline-year {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.timeline-description {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Services Section
   -------------------------------------------------------------------------- */
.services {
  background-color: var(--color-background);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
  margin-bottom: 1.25rem;
  transition: background-color var(--transition-base), color var(--transition-base);
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card:hover .service-icon {
  background-color: var(--color-secondary);
  color: var(--color-surface);
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* Approach description box */
.approach-box {
  background-color: var(--color-secondary-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
}

.approach-box h3 {
  color: var(--color-secondary-dark);
  margin-bottom: 0.75rem;
}

.approach-box p {
  color: var(--color-text-light);
  line-height: 1.7;
}

/* Group therapy note */
.group-therapy-note {
  background-color: var(--color-primary-light);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
}

.group-therapy-note h4 {
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.group-therapy-note p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. Costs Section
   -------------------------------------------------------------------------- */
.costs {
  background-color: var(--color-surface);
}

/* Main statement banner */
.costs-banner {
  background-color: var(--color-secondary);
  color: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.costs-banner h3 {
  font-size: 1.5rem;
  color: var(--color-surface);
  margin-bottom: 0.5rem;
}

.costs-banner p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* Insurance cards */
.costs-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cost-card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.cost-card h4 {
  margin-bottom: 0.75rem;
}

.cost-card p,
.cost-card ul {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.cost-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.cost-card ul li {
  margin-bottom: 0.375rem;
}

/* Kassenzulassung note */
.costs-note {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  max-width: 36rem;
  margin: 0 auto;
  line-height: 1.7;
}

.costs-note strong {
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   11. Contact Section
   -------------------------------------------------------------------------- */
.contact {
  background-color: var(--color-background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Contact info */
.contact-info {
  order: -1;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 50%;
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-item-text {
  font-size: 0.9375rem;
}

.contact-item-label {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.125rem;
}

.contact-item-value {
  color: var(--color-text-light);
}

.contact-item-value a {
  color: var(--color-secondary);
}

/* Contact form */
.contact-form-wrapper {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.375rem;
}

.contact-form label .required {
  color: var(--color-accent);
  margin-left: 0.125rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 16px; /* Prevents iOS zoom */
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  min-height: 48px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(46, 108, 164, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Privacy warning box */
.privacy-warning {
  background-color: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.6;
}

.privacy-warning strong {
  color: var(--color-accent-dark);
}

/* Consent checkbox */
.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.consent-group input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  min-width: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--color-secondary);
  cursor: pointer;
}

.consent-group label {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
  cursor: pointer;
}

.consent-group label a {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Submit button */
.contact-form .btn-submit {
  width: 100%;
  padding: 0.875rem 1.75rem;
  background-color: var(--color-secondary);
  color: var(--color-surface);
  border: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  min-height: 48px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.contact-form .btn-submit:hover {
  background-color: var(--color-secondary-dark);
  transform: translateY(-1px);
}

.contact-form .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Honeypot */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Success / Error status cards (replace entire form area) */
.form-status-card {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 420px;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  max-width: 560px;
  margin: 2rem auto 0;
}

.form-status-card.visible {
  display: flex;
}

.form-status-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.form-status-card.success .form-status-icon {
  background-color: #ecfdf5;
  color: #059669;
}

.form-status-card.error .form-status-icon {
  background-color: #fef2f2;
  color: #dc2626;
}

.form-status-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 2rem;
  max-width: 440px;
}

.form-status-btn {
  border-radius: 50px;
}

/* --------------------------------------------------------------------------
   12. Location Section
   -------------------------------------------------------------------------- */
.location {
  background-color: var(--color-surface);
}

.location-card {
  background-color: var(--color-secondary-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}

.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-surface);
  margin: 0 auto 1.25rem;
}

.location-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.location-card h3 {
  margin-bottom: 0.5rem;
}

.location-address {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.location-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.location-buttons .btn {
  width: 100%;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--color-text);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 4rem;
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

/* Footer logo */
.footer-brand {
  max-width: 20rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-surface);
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 2.5rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer contact info */
.footer-contact h4 {
  color: var(--color-surface);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
  color: var(--color-surface);
}

/* Footer legal links */
.footer-legal h4 {
  color: var(--color-surface);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-legal-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.footer-legal-links a:hover {
  color: var(--color-surface);
}

/* Footer copyright bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   14. Impressum / Datenschutz Pages
   -------------------------------------------------------------------------- */
.legal-page {
  padding-top: calc(var(--nav-height) + 2rem);
  padding-bottom: var(--section-padding-y);
  min-height: 100vh;
  background-color: var(--color-background);
}

.legal-nav {
  background-color: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.legal-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-nav .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-secondary);
  min-height: 44px;
}

.legal-nav .back-link:hover {
  color: var(--color-secondary-dark);
}

.legal-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.legal-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-secondary-dark);
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.legal-section {
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   15. Scroll Animations
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for children */
.fade-in-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-in-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-in-up:nth-child(4) {
  transition-delay: 0.3s;
}

.fade-in-up:nth-child(5) {
  transition-delay: 0.4s;
}

.fade-in-up:nth-child(6) {
  transition-delay: 0.5s;
}

/* --------------------------------------------------------------------------
   16. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* SM: 640px+ */
@media (min-width: 640px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: auto;
    max-width: none;
  }

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

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

  .location-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .location-buttons .btn {
    width: auto;
  }
}

/* MD: 768px+ */
@media (min-width: 768px) {
  :root {
    --section-padding-y: 6rem;
  }

  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.375rem; }

  /* Navigation: show desktop, hide hamburger */
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .nav-hamburger {
    display: none;
  }

  /* Hero */
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .hero-image-wrapper {
    display: block;
  }

  .hero-accent--gold {
    width: 5.5rem;
    height: 5.5rem;
    top: -1.5rem;
    left: -1.5rem;
  }

  .hero-accent--red {
    width: 4rem;
    height: 4rem;
    bottom: -1.25rem;
    right: 1.5rem;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  /* About: two columns */
  .about-grid {
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
  }

  .about-portrait-wrapper {
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
  }

  .about-portrait {
    max-width: 100%;
    max-height: none;
    width: 100%;
    aspect-ratio: 3 / 4;
  }

  /* Contact: two columns */
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-info {
    order: 0;
  }

  /* Footer: three columns */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  /* Legal content */
  .legal-content h1 {
    font-size: 2.5rem;
  }
}

/* LG: 1024px+ */
@media (min-width: 1024px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }

  .hero-title {
    font-size: 3rem;
  }

  .hero-grid {
    gap: 4rem;
  }

  .hero-accent--gold {
    width: 6rem;
    height: 6rem;
    top: -2rem;
    left: -2rem;
  }

  .hero-accent--red {
    width: 4.5rem;
    height: 4.5rem;
    bottom: -1.5rem;
    right: 1rem;
  }

  /* About larger portrait */
  .about-grid {
    grid-template-columns: 320px 1fr;
    gap: 4rem;
  }

  /* Services: 3 columns */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Costs banner larger text */
  .costs-banner h3 {
    font-size: 1.75rem;
  }

  .costs-banner p {
    font-size: 1.25rem;
  }

  /* Contact form padding */
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   17. Additional Component Styles
   -------------------------------------------------------------------------- */

/* Timeline list (bullet points in timeline cards) */
.timeline-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
}

.timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.timeline-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  opacity: 0.4;
  margin-top: 0.5rem;
}

/* Location card strong name */
.location-card strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.25rem;
}

/* Contact form h3 */
.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Section header centering for label */
.text-center .section-label {
  display: block;
}

/* Costs banner — handle h3 vs p structure */
.costs-banner svg {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  opacity: 0.8;
}

.costs-banner p {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Contact info h3 */
.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   18. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .nav,
  .mobile-menu,
  .nav-hamburger,
  .hero-decoration,
  .contact-form-wrapper,
  .footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 1rem 0;
  }
}
