/*
Theme Name: Praxis an der Schanze
Theme URI: https://example.com/
Author: OpenAI
Description: WordPress theme based on the Praxis an der Schanze website mockup.
Version: 1.1.0
Text Domain: praxis-an-der-schanze
*/

/* ═══════════════ TOKENS ═══════════════ */
:root {
  --white:       #FFFFFF;
  --bone:        #FAF8F5;
  --sand:        #F3EDE2;
  --sand-deep:   #E5DAC8;
  --linen:       #EDE5D3;
  --stone:       #C8B99A;
  --teal:        #2A6B5E;
  --teal-dark:   #1D5248;
  --teal-light:  #4A9B8A;
  --teal-pale:   #EAF3F1;
  --teal-mid:    #C5DDD9;
  --charcoal:    #1E2B28;
  --ink:         #2C3830;
  --mid:         #5A6660;
  --muted:       #8E9E99;
  --rule:        #DCE7E4;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

/* ══════════════════════════════════════
   TOP BAR + NAV
══════════════════════════════════════ */
.topbar {
  background: var(--teal);
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.topbar a { color: rgba(255,255,255,0.75); text-decoration: none; }
.topbar a:hover { color: white; }
.topbar-items { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 7px; }

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 1px 12px rgba(30,43,40,0.06);
}

.nav-logo { display: flex; align-items: center; gap: 14px; }

.nav-logo-icon {
  width: 40px; height: 36px;
  background: var(--teal);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 7px 8px;
}

.nav-logo-text { line-height: 1.2; }
.nav-logo-text .line1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--teal-dark);
  letter-spacing: 0.01em;
}
.nav-logo-text .line2 {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 400;
  color: var(--mid);
  padding: 6px 14px;
  border-radius: 4px;
  transition: all 0.15s;
}
.nav-links a:hover { color: var(--teal); background: var(--teal-pale); }
.nav-cta {
  background: var(--teal) !important;
  color: white !important;
  font-weight: 500 !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

/* Gradient overlay: transparent at top, dark at bottom for text legibility */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,35,30,0.15) 0%,
    rgba(20,35,30,0.35) 40%,
    rgba(20,35,30,0.72) 75%,
    rgba(20,35,30,0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 6% 0;
  max-width: 700px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(42,107,94,0.85);
  border: 1px solid rgba(74,155,138,0.6);
  color: white;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-mid);
}

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.08;
  color: white;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
h1 em { font-style: italic; color: var(--teal-mid); }

.hero-lead {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-primary {
  background: var(--teal);
  color: white;
  padding: 13px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  background: rgba(255,255,255,0.08);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.15); }

/* Stats bar pinned to the bottom of the hero */
.hero-stats-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.h-stat { padding: 22px 6%; background: rgba(0,0,0,0.25); backdrop-filter: blur(8px); }
.h-stat-num { font-family: 'Cormorant Garamond', serif; font-size: 34px; font-weight: 300; color: white; line-height: 1; display: block; }
.h-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; display: block; line-height: 1.4; }

/* ══════════════════════════════════════
   TRUST BAR
══════════════════════════════════════ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 18px 6%;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mid);
  font-size: 13px;
}

.trust-icon {
  width: 30px; height: 30px;
  background: var(--teal-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.trust-divider { width: 1px; height: 24px; background: var(--rule); flex-shrink: 0; }

/* ══════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════ */
.section-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-kicker::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--charcoal);
}
h2 em { font-style: italic; color: var(--teal); }

.section-intro {
  font-size: 15.5px;
  color: var(--mid);
  line-height: 1.75;
  max-width: 640px;
  margin-top: 16px;
  font-weight: 300;
}

h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400; color: var(--charcoal); }

/* ══════════════════════════════════════
   PRAXIS
══════════════════════════════════════ */
#praxis { padding: 96px 6%; background: var(--white); }

.praxis-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.feature-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  background: linear-gradient(180deg, var(--white) 0%, #FCFBF8 100%);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 22px;
  min-height: 146px;
  box-shadow: 0 10px 22px rgba(30,43,40,0.03);
}

.feature-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.feature-eyebrow::before {
  content: '';
  width: 18px;
  height: 1.5px;
  background: var(--teal-mid);
  border-radius: 999px;
}

.feature-card strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

.feature-card span {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--mid);
}

.praxis-note-card {
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px;
  position: sticky;
  top: 96px;
}

.praxis-note-card h3 {
  font-size: 28px;
  line-height: 1.15;
  margin: 10px 0 16px;
}

.praxis-note-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.8;
}

.praxis-highlights {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.praxis-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
  line-height: 1.65;
}

.praxis-highlights li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 600;
  flex-shrink: 0;
}

.rooms-section { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--rule); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 40px;
}

.room-col { background: var(--white); padding: 28px 22px; }

.room-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 300;
  color: var(--teal-mid);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.room-col h4 { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; color: var(--charcoal); margin-bottom: 8px; }
.room-col p  { font-size: 12.5px; color: var(--mid); line-height: 1.65; margin-bottom: 14px; }

.room-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.room-tag { background: var(--teal-pale); color: var(--teal-dark); font-size: 10.5px; font-weight: 500; padding: 3px 9px; border-radius: 3px; }

.room-col.community { background: var(--teal); }
.room-col.community .room-num { color: rgba(255,255,255,0.2); }
.room-col.community h4 { color: white; }
.room-col.community p  { color: rgba(255,255,255,0.65); }
.room-col.community .room-tag { background: rgba(255,255,255,0.15); color: white; }

/* ══════════════════════════════════════
   STANDORT
══════════════════════════════════════ */
#standort {
  background: var(--sand);
  padding: 96px 6%;
  border-top: 1px solid var(--sand-deep);
  border-bottom: 1px solid var(--sand-deep);
}

.standort-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }

.standort-text p { font-size: 15px; color: var(--ink); line-height: 1.8; margin-top: 20px; font-weight: 300; }

.quote-box {
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  margin-top: 28px;
  background: rgba(255,255,255,0.6);
  border-radius: 0 6px 6px 0;
}
.quote-box p { font-size: 13.5px; color: var(--ink); font-style: italic; line-height: 1.7; margin-top: 0 !important; }
.quote-box cite { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; font-style: normal; letter-spacing: 0.05em; text-transform: uppercase; }

.info-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; color: var(--teal); font-size: 13px; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid rgba(42,107,94,0.3);
  padding-bottom: 2px; transition: border-color 0.2s;
}
.info-link:hover { border-color: var(--teal); }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.stat-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.stat-card .num { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 300; color: var(--teal); line-height: 1; display: block; }
.stat-card .lbl { font-size: 11.5px; color: var(--mid); margin-top: 6px; line-height: 1.4; }

.transport-grid { display: grid; gap: 8px; margin-top: 20px; }

.transport-row {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 6px;
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
}
.t-badge { background: var(--teal); color: white; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; padding: 4px 9px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; text-transform: uppercase; }
.transport-row strong { font-size: 13.5px; font-weight: 500; color: var(--ink); display: block; }
.transport-row span   { font-size: 12px; color: var(--mid); }

/* ══════════════════════════════════════
   KARTE
══════════════════════════════════════ */
#karte { background: var(--white); padding: 0 6%; border-bottom: 1px solid var(--rule); }

.karte-header {
  padding: 72px 0 48px;
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px;
}

.map-wrap {
  border-radius: 8px; overflow: hidden;
  border: 1px solid var(--rule); height: 400px;
  position: relative; margin-bottom: 72px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

.address-chip {
  position: absolute; top: 20px; left: 20px;
  background: white; border: 1px solid var(--rule);
  border-radius: 6px; padding: 10px 16px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex; align-items: center; gap: 8px;
}

/* ══════════════════════════════════════
   GEBÄUDE
══════════════════════════════════════ */
#gebaeude { background: var(--bone); padding: 96px 6%; border-bottom: 1px solid var(--sand-deep); }

.gallery-layout {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 8px;
}

.gallery-cell { background: var(--sand-deep); border-radius: 6px; overflow: hidden; }
.gallery-cell.span2 { grid-row: span 2; }

.gallery-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--mid); font-size: 13px; text-align: center; padding: 24px;
}
.gallery-inner .g-icon { font-size: 28px; }
.gallery-inner strong { color: var(--ink); font-size: 14px; font-weight: 500; display: block; }
.gallery-inner a { color: var(--teal); font-size: 12px; }

/* ══════════════════════════════════════
   ANGEBOT
══════════════════════════════════════ */
#angebot { background: var(--white); padding: 96px 6%; border-top: 1px solid var(--rule); }

.angebot-layout { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }

.angebot-sidebar p { font-size: 15px; color: var(--mid); margin-top: 20px; line-height: 1.75; font-weight: 300; }

.included-list {
  margin-top: 32px;
  background: var(--teal-pale);
  border: 1px solid var(--teal-mid);
  border-radius: 8px;
  padding: 24px;
}
.included-list h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; }
.included-list ul { list-style: none; display: grid; gap: 8px; }
.included-list ul li { font-size: 13px; color: var(--ink); display: flex; gap: 8px; align-items: baseline; }
.included-list ul li::before { content: '✓'; color: var(--teal); font-weight: 600; font-size: 12px; flex-shrink: 0; }

.modell-table { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }

.modell-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  border-bottom: 1px solid var(--rule);
  transition: background 0.15s;
}
.modell-row:last-child { border-bottom: none; }
.modell-row:hover { background: var(--teal-pale); }
.modell-row.highlight { background: var(--teal-pale); border-left: 3px solid var(--teal); }

.modell-letter {
  background: var(--bone);
  display: flex; align-items: center; justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid var(--rule);
}
.modell-row.highlight .modell-letter { background: var(--teal); }

.modell-alpha { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 300; color: var(--stone); line-height: 1; }
.modell-row.highlight .modell-alpha { color: rgba(255,255,255,0.6); }

.modell-content { padding: 24px 28px; }
.modell-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 400; color: var(--charcoal); margin-bottom: 6px; }
.modell-subtitle { font-size: 13px; color: var(--muted); margin-bottom: 14px; }

.modell-features { display: flex; flex-wrap: wrap; gap: 6px; }
.modell-feat { background: var(--bone); border: 1px solid var(--rule); color: var(--mid); font-size: 12px; padding: 3px 10px; border-radius: 4px; }
.modell-row.highlight .modell-feat { background: rgba(42,107,94,0.08); border-color: rgba(42,107,94,0.2); color: var(--teal-dark); }

.modell-price-col {
  padding: 24px 28px;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: center;
  border-left: 1px solid var(--rule); min-width: 150px;
}
.modell-price { font-family: 'Cormorant Garamond', serif; font-size: 15px; color: var(--teal); font-style: italic; }
.modell-badge { background: var(--teal); color: white; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; padding: 3px 8px; border-radius: 3px; margin-bottom: 8px; text-transform: uppercase; }

/* ══════════════════════════════════════
   VORTEILE
══════════════════════════════════════ */
#vorteile { background: var(--teal); padding: 80px 6%; }
#vorteile .section-kicker { color: rgba(255,255,255,0.55); }
#vorteile .section-kicker::before { background: rgba(255,255,255,0.35); }
#vorteile h2 { color: white; }
#vorteile h2 em { color: var(--teal-mid); }

.vorteile-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.1);
  margin-top: 48px; border-radius: 8px; overflow: hidden;
}

.vorteil-card { background: rgba(0,0,0,0.15); padding: 32px 28px; }
.v-num { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 300; color: rgba(255,255,255,0.12); line-height: 1; margin-bottom: 16px; display: block; }
.vorteil-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 400; color: white; margin-bottom: 10px; }
.vorteil-card p { font-size: 13.5px; color: rgba(255,255,255,0.58); line-height: 1.65; }

/* ══════════════════════════════════════
   INFOS
══════════════════════════════════════ */
#infos { background: var(--bone); padding: 96px 6%; border-top: 1px solid var(--sand-deep); }

.infos-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; margin-top: 48px;
}

.info-cell { background: var(--white); padding: 28px 24px; }
.info-cell .i-icon { font-size: 22px; margin-bottom: 14px; display: block; }
.info-cell h5 { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; color: var(--charcoal); margin-bottom: 8px; }
.info-cell p { font-size: 12.5px; color: var(--mid); line-height: 1.65; }
.info-cell.pending { background: #FFFEF9; border-top: 2px solid #D4A84B; }
.info-cell.pending h5 { color: #8B6914; }

/* ══════════════════════════════════════
   KONTAKT
══════════════════════════════════════ */
#kontakt { background: var(--white); padding: 96px 6%; border-top: 1px solid var(--rule); }

.kontakt-layout { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; max-width: 860px; }

.kontakt-info p { font-size: 15px; color: var(--mid); margin-top: 20px; line-height: 1.8; font-weight: 300; }

.contact-list { margin-top: 36px; border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; }

.contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--rule);
}
.contact-row:last-child { border-bottom: none; }
.c-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); min-width: 100px; }
.c-value { font-size: 14px; color: var(--ink); }

.contact-form {
  display: grid;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(30,43,40,0.05);
}

.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 500; color: var(--mid); letter-spacing: 0.03em; }

.contact-form input,
.contact-form textarea {
  background: var(--bone);
  border: 1.5px solid var(--rule);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--ink);
  width: 100%;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(42,107,94,0.08);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.contact-form input:user-invalid,
.contact-form textarea:user-invalid {
  border-color: #B84D4D;
}

.form-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bone);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.checkbox-row label {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--mid);
}

.form-actions {
  display: grid;
  gap: 10px;
}

.form-submit {
  background: var(--teal);
  color: white;
  border: none;
  padding: 15px 32px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.form-submit:hover { background: var(--teal-dark); }
.form-submit:active { transform: translateY(1px); }

.form-note {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.65;
}

.form-status {
  min-height: 20px;
  font-size: 12px;
  color: var(--teal-dark);
  line-height: 1.5;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer { background: var(--charcoal); padding: 48px 6%; }

.footer-inner {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 48px; align-items: start;
}

.footer-brand .line1 { font-family: 'Cormorant Garamond', serif; font-size: 22px; color: white; font-weight: 300; }
.footer-brand .line2 { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.footer-brand .adr { font-size: 13px; color: rgba(255,255,255,0.4); margin-top: 12px; line-height: 1.6; }

.footer-col h6 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }

.footer-bottom {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.28); }

/* ══════════════════════════════════════
   AGNES PROFILE
══════════════════════════════════════ */
#agnes { background: var(--white); padding: 96px 6%; border-top: 1px solid var(--rule); }

.agnes-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.agnes-quote {
  border-left: 3px solid var(--teal);
  padding: 18px 22px;
  margin-top: 28px;
  background: var(--teal-pale);
  border-radius: 0 6px 6px 0;
}
.agnes-quote p {
  font-size: 14px;
  color: var(--ink);
  font-style: italic;
  line-height: 1.75;
}
.agnes-quote cite {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agnes-credentials { display: grid; gap: 32px; }

.cred-block { }

.cred-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}

.cred-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.cred-tag {
  background: var(--bone);
  border: 1px solid var(--rule);
  color: var(--mid);
  font-size: 12.5px;
  padding: 5px 13px;
  border-radius: 4px;
  font-weight: 400;
}
.cred-tag.primary {
  background: var(--teal-pale);
  border-color: var(--teal-mid);
  color: var(--teal-dark);
  font-weight: 500;
}

.timeline { display: grid; gap: 0; }

.tl-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
.tl-item:last-child { border-bottom: none; }

.tl-year {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.tl-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.tl-text span {
  font-size: 12px;
  color: var(--muted);
}



.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--teal-dark);
  color: white;
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  z-index: 200;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.mobile-menu-toggle span {
  width: 18px;
  height: 1.8px;
  border-radius: 999px;
  background: var(--teal-dark);
  display: block;
}
.mobile-nav {
  display: none;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--mid);
}
.mobile-nav.open {
  display: grid;
}

.c-value a {
  color: var(--teal-dark);
  text-decoration: none;
}
.c-value a:hover { text-decoration: underline; }

.legal-section {
  padding: 44px 6%;
  border-top: 1px solid var(--rule);
  background: var(--bone);
}
.legal-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.legal-section p {
  max-width: 760px;
  font-size: 14px;
  color: var(--mid);
}

@media (max-width: 960px) {
  /* Hero */
  #hero { min-height: auto; padding-bottom: 0; }
  .hero-content { padding: 40px 5% 32px; max-width: 100%; }
  .hero-stats-row { grid-template-columns: 1fr 1fr 1fr; }
  .h-stat { padding: 16px 4%; }

  /* Topbar */
  .topbar { flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 5%; font-size: 11px; }
  .topbar-items { gap: 12px; flex-wrap: wrap; }

  /* Nav */
  .nav-links { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
  .mobile-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 5%;
    right: 5%;
    background: var(--white);
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: 0 16px 34px rgba(30,43,40,0.10);
    padding: 10px;
    gap: 4px;
  }
  .mobile-nav a {
    padding: 12px 14px;
    border-radius: 8px;
  }
  .mobile-nav a:hover,
  .mobile-nav a:focus-visible {
    background: var(--teal-pale);
    color: var(--teal-dark);
  }
  nav { padding: 0 5%; height: 58px; }

  /* Trust bar */
  .trust-bar { gap: 16px; padding: 14px 5%; }
  .trust-divider { display: none; }

  /* Sections */
  #praxis, #standort, #agnes, #angebot, #gebaeude, #karte, #infos, #vorteile { padding: 64px 5%; }
  #kontakt { padding: 64px 5%; }

  /* Grids */
  .praxis-layout, .standort-layout, .agnes-layout, .kontakt-layout, .footer-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .praxis-note-card { position: static; top: auto; padding: 24px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .vorteile-grid { grid-template-columns: 1fr 1fr; }
  .infos-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }

  /* Gallery */
  .gallery-layout { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-cell.span2 { grid-row: auto; min-height: 240px; }
  .gallery-cell { min-height: 180px; }

  /* Angebot */
  .angebot-layout { grid-template-columns: 1fr; }
  .modell-row { grid-template-columns: 56px 1fr; }
  .modell-price-col { display: none; }

  /* Agnes timeline */
  .tl-item { grid-template-columns: 76px 1fr; }

  /* Footer */
  footer { padding: 40px 5%; }
  .footer-inner { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  /* Form */
  .form-row2 { grid-template-columns: 1fr; }

  /* Karte */
  #karte { padding: 0 5%; }
  .karte-header { padding: 48px 0 32px; flex-direction: column; align-items: flex-start; }
  .karte-header p { text-align: left; }
  .map-wrap { height: 300px; margin-bottom: 48px; }
}

@media (max-width: 480px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  .h-stat:last-child { display: none; }
  .vorteile-grid, .infos-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px 18px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .trust-item span { font-size: 12px; }
}

/* ══════════════════════════════════════
   WORDPRESS PAGE CONTENT
══════════════════════════════════════ */
.page-shell {
  padding: 72px 6% 88px;
  min-height: 60vh;
}

.page-article {
  max-width: 860px;
  margin: 0 auto;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.entry-content {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.8;
}

.entry-content > * + * {
  margin-top: 1.1em;
}

.entry-content a {
  color: var(--teal);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.2;
}

.entry-content h2 { font-size: 34px; margin-top: 1.5em; }
.entry-content h3 { font-size: 28px; margin-top: 1.4em; }
.entry-content h4 { font-size: 22px; margin-top: 1.3em; }

.entry-content ul,
.entry-content ol {
  padding-left: 1.2em;
}


/* ══════════════════════════════════════
   EDITABLE FRONT PAGE
══════════════════════════════════════ */
.editable-home-shell {
  display: block;
}

.editable-home-shell > * {
  max-width: none;
}

.home.page .entry-content {
  margin: 0;
}

.block-editor-writing-flow .trust-bar,
.block-editor-writing-flow #hero,
.block-editor-writing-flow section {
  max-width: none;
}
