/* ============================================
   ORTHOPÄDISCHE PRAXIS DR. PIZULA
   Light, warm, artsy — x-ray illustrations
   on cream & parchment + color blocks
   ============================================ */

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

:root {
  --white: #ffffff;
  --cream: #f8f5f0;
  --cream-2: #f2ede5;
  --parchment: #ebe4d8;
  --warm-gray: #c8bfb0;
  --text: #2a2520;
  --text-light: #6b5f52;
  --text-muted: #9a8e80;

  --xray: #3a6b7a;
  --xray-light: #5a8a98;
  --xray-faint: rgba(58, 107, 122, 0.08);
  --xray-line: #2a5a6a;

  --teal: #2c5f6e;
  --teal-bg: #1e4a56;
  --sand: #d9cdb8;
  --sand-bg: #e8dcc8;
  --dark-block: #1a1f24;
  --warm-block: #f0e6d4;

  --accent: #b8845c;
  --accent-light: #d4a87a;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1180px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
}

::selection { background: var(--xray); color: var(--white); }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* --- Sections --- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xray);
  margin-bottom: 1.25rem;
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 1px;
  background: var(--xray);
  opacity: 0.4;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.section-title em { font-style: italic; color: var(--xray); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 520px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-tag { padding-left: 0; }
.section-header .section-tag::before { display: none; }
.section-header .section-subtitle { margin: 0 auto; }

.section-text {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 1.25rem;
  max-width: 540px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.85rem 1.9rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
  background: none;
}

.btn-primary {
  background: var(--xray);
  color: var(--white);
  border-color: var(--xray);
}

.btn-primary:hover {
  background: var(--text);
  border-color: var(--text);
}

.btn-primary svg { transition: transform 0.3s ease; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  color: var(--text);
  border-color: var(--warm-gray);
}

.btn-ghost:hover { border-color: var(--text); }

.btn-full { width: 100%; justify-content: center; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(248, 245, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 191, 176, 0.3);
  padding: 0.8rem 0;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: column; }

.nav-logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
}

.nav-logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links { display: flex; align-items: center; gap: 2.25rem; }

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-light);
  transition: color 0.3s ease;
}

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

.nav-cta {
  padding: 0.55rem 1.35rem !important;
  border: 1.5px solid var(--xray) !important;
  color: var(--xray) !important;
  font-weight: 500 !important;
  border-radius: 3px;
  transition: all 0.3s ease !important;
}

.nav-cta:hover {
  background: var(--xray) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(248, 245, 240, 0.97);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text);
  transition: color 0.3s ease;
}

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

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 120px 0 80px;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 60px);
  padding-right: clamp(20px, 4vw, 60px);
  gap: 2rem;
}

.hero-content { position: relative; z-index: 2; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--xray);
  margin-bottom: 2rem;
}

.hero-tag-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--xray);
  opacity: 0.35;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero-line {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

.hero-line em { font-style: italic; color: var(--xray); }

.hero-sub {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: center; align-items: center; }

.hero-art-frame {
  background: var(--teal-bg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  position: relative;
}

.hero-art-frame::before {
  content: 'RÖNTGEN';
  position: absolute;
  top: 0.9rem;
  left: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: rgba(180, 220, 230, 0.2);
}

.hero-art-frame::after {
  content: 'L';
  position: absolute;
  top: 0.9rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(180, 220, 230, 0.15);
}

.hero-plate {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  filter: invert(1) contrast(0.85) brightness(1.3) sepia(0.15);
  mix-blend-mode: screen;
  opacity: 0.88;
}

.hero-art-frame .plate-id {
  display: block;
  position: absolute;
  bottom: 0.75rem;
  left: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  color: rgba(180, 220, 230, 0.25);
}

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  padding: 1.25rem 0;
  border-top: 1px solid var(--parchment);
  border-bottom: 1px solid var(--parchment);
  background: var(--cream-2);
}

.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee-dot {
  width: 4px !important;
  height: 4px;
  border-radius: 50%;
  background: var(--warm-gray);
  flex-shrink: 0;
  align-self: center;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Praxis --- */
.praxis { background: var(--white); }

.praxis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.praxis-credentials {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--parchment);
}

.credential:last-child { border-bottom: none; }

.credential-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.credential-value {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 400;
}

/* --- Plate Frames (Gray's Anatomy images) --- */
.plate-frame {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--parchment);
  padding: 1.5rem;
  padding-bottom: 2.5rem;
}

.plate-frame--accent {
  border-color: var(--xray);
  border-width: 2px;
}

.plate-img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.2) contrast(1.05);
}

.plate-id {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  position: absolute;
  bottom: 0.7rem;
  left: 1.5rem;
  opacity: 0.6;
}

/* =============================================
   COLOR BLOCKS
   ============================================= */

.color-block {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

/* Teal block */
.color-block--teal {
  background: var(--teal-bg);
  color: var(--white);
}

/* Dark block */
.color-block--dark {
  background: var(--dark-block);
  color: var(--white);
}

/* Sand block */
.color-block--sand {
  background: var(--sand-bg);
  color: var(--text);
}

/* Warm block */
.color-block--warm {
  background: var(--warm-block);
  color: var(--text);
}

/* --- Stats Row --- */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: currentColor;
  opacity: 0.15;
}

/* --- Block Quote (dark block) --- */
.quote-block { padding: clamp(4rem, 7vw, 6rem) 0; }

.block-quote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.block-quote-plate {
  width: clamp(140px, 18vw, 220px);
  flex-shrink: 0;
}

.block-quote-plate img {
  width: 100%;
  height: auto;
  filter: invert(1) contrast(0.7) brightness(1.4) sepia(0.1);
  opacity: 0.35;
}

.block-quote blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
}

.block-quote cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.45;
  font-style: normal;
  letter-spacing: 0.1em;
}

/* --- Sprechzeiten Block (sand) --- */
.sz-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.sz-block-left .section-title {
  margin-bottom: 0.75rem;
}

.sz-block-left p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.sz-row {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(42, 37, 32, 0.08);
}

.sz-day {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.sz-time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-light);
}

.sz-tel {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(42, 37, 32, 0.12);
}

.sz-tel-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.sz-tel span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* =============================================
   ANATOMY GALLERY
   ============================================= */

.anatomy-gallery {
  overflow: hidden;
  position: relative;
}

.anatomy-gallery-track {
  display: flex;
  width: max-content;
}

.anatomy-panel {
  flex: 0 0 auto;
  width: clamp(180px, 18vw, 240px);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.anatomy-panel img {
  width: 85%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.anatomy-panel:hover img {
  transform: scale(1.08);
}

/* Invert images on dark/teal panels */
.anatomy-panel--teal img,
.anatomy-panel--dark img {
  filter: invert(1) contrast(0.75) brightness(1.3) sepia(0.08);
  opacity: 0.7;
}

.anatomy-panel--warm img,
.anatomy-panel--sand img {
  filter: sepia(0.2) contrast(1.05);
  opacity: 0.75;
}

.anatomy-label {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}

/* Panel color variants */
.anatomy-panel--teal {
  background: var(--teal-bg);
  color: rgba(180, 220, 230, 0.65);
}

.anatomy-panel--dark {
  background: var(--dark-block);
  color: rgba(200, 215, 225, 0.55);
}

.anatomy-panel--warm {
  background: var(--warm-block);
  color: var(--xray-line);
}

.anatomy-panel--sand {
  background: var(--sand-bg);
  color: var(--xray-line);
}

/* --- Leistungen --- */
.leistungen { background: var(--cream); }

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--parchment);
  border: 1px solid var(--parchment);
}

.leistung-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  background: var(--white);
  transition: all 0.4s ease;
  position: relative;
  align-items: start;
}

.leistung-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  right: 1.5rem;
  height: 2px;
  background: var(--xray);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.leistung-card:hover { background: var(--cream); }
.leistung-card:hover::after { transform: scaleX(1); }

.leistung-plate {
  width: 100px;
  height: 120px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leistung-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.25) contrast(1.05);
  transition: transform 0.5s ease;
}

.leistung-card:hover .leistung-plate img {
  transform: scale(1.08);
}

.leistung-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--warm-gray);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.leistung-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.leistung-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.leistungen-note {
  margin-top: 2rem;
  text-align: center;
}

.leistungen-note p {
  font-size: 0.88rem;
  color: var(--text-light);
}

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

/* --- Philosophie --- */
.philosophie { background: var(--white); }

.philosophie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: center;
}

.philosophie-principles {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.principle {
  padding-left: 1.25rem;
  border-left: 2px solid var(--parchment);
  transition: border-color 0.3s ease;
}

.principle:hover { border-left-color: var(--xray); }

.principle h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.principle p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Kontakt --- */
.kontakt { background: var(--cream); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 5rem);
  align-items: start;
}

.kontakt-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.kontakt-detail { display: flex; gap: 0.85rem; align-items: flex-start; }

.kontakt-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--xray);
  margin-top: 2px;
  opacity: 0.7;
}

.kontakt-detail strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 0.15rem;
  font-weight: 500;
}

.kontakt-detail span {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.kontakt-kassen {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--parchment);
}

.kassen-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- Doctolib Link --- */
.doctolib-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
  padding: 1rem;
  border: 1.5px solid var(--parchment);
  background: var(--cream-2);
  font-size: 0.88rem;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.doctolib-link strong { color: var(--xray); font-weight: 600; }
.doctolib-link svg { color: var(--xray); transition: transform 0.3s ease; }

.doctolib-link:hover {
  border-color: var(--xray);
  background: var(--white);
}

.doctolib-link:hover svg { transform: translateX(3px); }

/* --- Form --- */
.kontakt-form {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--parchment);
  background: var(--white);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.15rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.form-optional { font-weight: 300; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: var(--cream);
  border: 1px solid var(--parchment);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-radius: 3px;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--xray);
  box-shadow: 0 0 0 3px rgba(58, 107, 122, 0.08);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239a8e80' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.form-group textarea { resize: vertical; min-height: 90px; }
.form-group textarea::placeholder { color: var(--text-muted); opacity: 0.5; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--xray);
  cursor: pointer;
  margin-top: 2px;
}

.form-checkbox label { margin-bottom: 0; cursor: pointer; font-size: 0.82rem; line-height: 1.5; }
.form-checkbox a { color: var(--xray); text-decoration: underline; text-underline-offset: 2px; }

/* --- Notdienst --- */
.notdienst {
  background: var(--teal-bg);
  padding: 1rem 0;
  text-align: center;
}

.notdienst p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

.notdienst strong {
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
}

/* --- Footer --- */
.footer {
  background: var(--dark-block);
  padding: 3rem 0 2rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 0.2rem; }

.footer-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-sub { font-size: 0.8rem; }

.footer-links { display: flex; gap: 1.75rem; }

.footer-links a {
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-links a:hover { color: rgba(255, 255, 255, 0.85); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p { font-size: 0.75rem; opacity: 0.4; }

/* --- Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].revealed { opacity: 1; transform: translateY(0); }

.hero-content [data-reveal]:nth-child(1) { transition-delay: 0.15s; }
.hero-content [data-reveal]:nth-child(2) { transition-delay: 0.3s; }
.hero-content [data-reveal]:nth-child(3) { transition-delay: 0.45s; }
.hero-content [data-reveal]:nth-child(4) { transition-delay: 0.6s; }
.hero-art[data-reveal] { transition-delay: 0.5s; }

/* --- Responsive --- */

/* Tablet landscape */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 50px;
    gap: 1.5rem;
  }

  .hero-art {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-sub br { display: none; }
  .hero-actions { justify-content: center; }

  .hero-tag {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .leistungen-grid { grid-template-columns: 1fr; }
  .sz-block { grid-template-columns: 1fr; gap: 2rem; }
  .anatomy-panel { width: clamp(150px, 25vw, 200px); }

  .block-quote { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .block-quote-plate { width: 160px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .hero {
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero-art {
    max-width: 280px;
  }

  .hero-line {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  }

  .praxis-grid,
  .philosophie-grid,
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .praxis-visual {
    order: -1;
    max-width: 300px;
    margin: 0 auto;
  }

  .philosophie-visual {
    max-width: 300px;
    margin: 0 auto;
  }

  .stats-row { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 40px; height: 1px; }

  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .section-text { max-width: none; }

  .anatomy-panel { width: clamp(140px, 30vw, 180px); }

  .leistung-card {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
  }
  .leistung-plate { width: 70px; height: 90px; }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 30px;
    gap: 1rem;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-art {
    max-width: 220px;
  }

  .hero-art-frame {
    padding: 0.75rem;
    padding-bottom: 1.75rem;
  }

  .hero-tag {
    font-size: 0.48rem;
    gap: 0.35rem;
    letter-spacing: 0.08em;
  }

  .hero-tag-line { width: 10px; }

  .hero-line {
    font-size: 2rem;
  }

  .hero-sub {
    font-size: 0.85rem;
  }

  .hero-sub br { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn { justify-content: center; font-size: 0.82rem; }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .kontakt-form { padding: 1.25rem; }

  .leistung-card {
    grid-template-columns: 1fr;
  }

  .leistung-plate {
    width: 100%;
    height: 140px;
  }

  .block-quote-plate { width: 120px; }

  .sz-block-left .section-title {
    font-size: 1.6rem;
  }

  .anatomy-panel { width: 140px; }

  .color-block { padding: 2.5rem 0; }

  .section { padding: clamp(50px, 8vw, 100px) 0; }

  .stat-number { font-size: 1.5rem; }
}
