@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500&family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --ink: #14201C;
  --pine: #1C3B36;
  --pine-light: #2F5B52;
  --amber: #B8763E;
  --paper: #F6F4EF;
  --paper-2: #EFEBE2;
  --line: rgba(20,32,28,0.12);
  --muted: #5B6862;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- Header ---- */
.sp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,244,239,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.sp-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; }
.sp-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fraunces', Georgia, serif; font-size: 1rem; font-weight: 500; color: var(--pine);
}
.sp-brand-dot {
  width: 26px; height: 26px; background: var(--pine); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sp-navlinks { display: flex; gap: 28px; align-items: center; font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 1rem; font-weight: 500; }
.sp-navlinks a { color: var(--ink); transition: color 0.15s; }
.sp-navlinks a:hover, .sp-navlinks a.active { color: var(--pine); }
.sp-navlinks a.active { font-weight: 600; }
.sp-nav-cta {
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.88rem; font-weight: 500;
  background: var(--pine); color: var(--paper); padding: 9px 18px; border-radius: 2px; transition: background 0.15s;
}
.sp-nav-cta:hover { background: var(--pine-light); }

/* ---- Eyebrow ---- */
.eyebrow {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--amber); }

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--pine); color: var(--paper); padding: 13px 24px; border-radius: 2px;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.92rem; font-weight: 500;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--pine-light); }
.btn-secondary {
  display: inline-block;
  border: 1px solid var(--line); padding: 13px 24px; border-radius: 2px;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.92rem; font-weight: 500;
  color: var(--ink); transition: border-color 0.15s;
}
.btn-secondary:hover { border-color: var(--pine); color: var(--pine); }

/* ---- Homepage: Hero ---- */
.sp-hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.sp-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.sp-hero h1 { font-size: clamp(2.3rem, 3.5vw, 3.3rem); line-height: 1.07; text-wrap: balance; }
.sp-hero p.lead { margin-top: 22px; font-size: 1.08rem; color: var(--muted); max-width: 480px; line-height: 1.65; }
.sp-hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.sp-hero-stats { background: var(--pine); border-radius: 3px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.sp-hero-stat { display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(246,244,239,0.14); padding-top: 18px; }
.sp-hero-stat:first-child { border-top: none; padding-top: 0; }
.sp-hero-stat-icon {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(217,185,138,0.4);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.sp-hero-stat-icon svg { width: 19px; height: 19px; stroke: #D9B98A; fill: none; stroke-width: 1.6; }
.sp-hero-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.7rem; font-weight: 600; color: #D9B98A; line-height: 1.1; }
.sp-hero-stat-label { font-size: 0.85rem; color: #C9D6D1; margin-top: 3px; max-width: 220px; }
.sp-hero-visual {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px;
  min-height: 360px; overflow: hidden;
}
#sp-map { width: 100%; height: 100%; min-height: 360px; }
.leaflet-popup-content-wrapper { border-radius: 2px; }

/* ---- Homepage: Standorte ---- */
.sp-standorte { padding: 80px 0; }
.sp-section-head { margin-bottom: 44px; }
.sp-section-head h2 { font-size: 1.9rem; }
.sp-section-head p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; max-width: 580px; }
.sp-location-item {
  display: grid; grid-template-columns: 2.6fr 1.6fr auto;
  gap: 40px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.sp-location-item:last-child { border-bottom: 1px solid var(--line); }
.sp-loc-region {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: 7px;
}
.sp-loc-name { font-family: 'Fraunces', Georgia, serif; font-size: 1.4rem; font-weight: 500; margin-bottom: 8px; }
.sp-loc-addr { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.sp-loc-phone { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.sp-loc-hours { padding-top: 2px; }
.sp-loc-row { display: flex; gap: 12px; font-size: 0.88rem; color: var(--muted); margin-bottom: 7px; align-items: baseline; }
.sp-loc-day {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); font-weight: 500; min-width: 46px; flex-shrink: 0;
}
.sp-loc-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; padding-top: 2px; }
.sp-loc-book {
  display: inline-block; white-space: nowrap;
  background: var(--pine); color: var(--paper);
  padding: 10px 20px; border-radius: 2px;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.86rem; font-weight: 500;
  transition: background 0.15s;
}
.sp-loc-book:hover { background: var(--pine-light); }
.sp-loc-more {
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.84rem; color: var(--muted);
  display: flex; align-items: center; gap: 5px; transition: color 0.15s;
}
.sp-loc-more::after { content: "→"; }
.sp-loc-more:hover { color: var(--pine); }

/* ---- Homepage: Services ---- */
.sp-services { background: var(--pine); padding: 72px 0; }
.sp-services-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: center; }
.sp-services h2 { color: var(--paper); font-size: 1.75rem; line-height: 1.2; }
.sp-services .eyebrow { color: #D9B98A; }
.sp-services .eyebrow::before { background: #D9B98A; }
.sp-services p { margin-top: 16px; font-size: 0.95rem; color: rgba(246,244,239,0.6); line-height: 1.65; }
.sp-svc-list { display: grid; grid-template-columns: 1fr 1fr; }
.sp-svc-item {
  padding: 18px 24px; border-bottom: 1px solid rgba(246,244,239,0.1);
  font-size: 0.9rem; color: rgba(246,244,239,0.75);
  display: flex; align-items: center; gap: 10px;
}
.sp-svc-item:nth-child(odd) { border-right: 1px solid rgba(246,244,239,0.15); }
.sp-svc-item:nth-last-child(-n+2) { border-bottom: none; }
.sp-svc-item::before { content: ""; width: 4px; height: 4px; background: var(--amber); border-radius: 50%; flex-shrink: 0; }

/* ---- Subpage: Page Hero ---- */
.page-hero { padding: 64px 0 52px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--pine); }
.page-hero h1 { font-size: clamp(2rem, 3.2vw, 2.8rem); max-width: 680px; text-wrap: balance; }
.page-hero p.lead { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 600px; line-height: 1.65; }
.page-hero-cta { margin-top: 28px; }

/* ---- Subpage: Notice Banner ---- */
.notice-banner { background: var(--paper-2); border-left: 3px solid var(--amber); padding: 18px 24px; margin: 32px 0 0; }
.notice-label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: 10px;
}
.notice-entry { font-size: 0.92rem; color: var(--ink); line-height: 1.6; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.notice-entry:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.notice-date { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 4px; }

/* ---- Subpage: Content Grid ---- */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: 64px; padding: 64px 0 100px; align-items: start; }

/* ---- Subpage: Leistungen ---- */
.leistungen h2 { font-size: 1.5rem; margin-bottom: 32px; }
.leistung-group { margin-bottom: 48px; }
.leistung-group-label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--amber); font-weight: 600; margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.leistung-list { list-style: none; }
.leistung-list li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line);
  font-size: 0.96rem; color: var(--ink);
}
.leistung-list li::before { content: ""; width: 5px; height: 5px; background: var(--pine); border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.leistung-list li .tag {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); padding: 2px 7px; border: 1px solid var(--line); border-radius: 2px; white-space: nowrap;
}

/* ---- Subpage: Team ---- */
.team-section { margin-top: 56px; }
.team-section h2 { font-size: 1.5rem; margin-bottom: 28px; }
.team-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.team-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px;
  padding: 24px 16px; text-align: center;
}
.team-card img {
  width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: top center;
  margin: 0 auto 14px; display: block; border: 1px solid var(--line); background: var(--paper-2);
}
.team-card .role {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.72rem; color: var(--amber); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.4;
}
.team-card h4 { font-family: 'Fraunces', Georgia, serif; font-size: 1rem; margin-top: 5px; font-weight: 500; }
.team-card-4 img { width: 100px; height: 100px; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--line); border: 1px solid var(--line);
}
.team-avatar svg { width: 44px; height: 44px; color: var(--muted); }
.team-avatar-sm { width: 100px; height: 100px; }
.team-avatar-sm svg { width: 38px; height: 38px; }

/* ---- Sidebar ---- */
.sidebar { position: sticky; top: 88px; }
.sidebar-card { background: var(--paper-2); border: 1px solid var(--line); border-radius: 2px; padding: 28px; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 1.05rem; margin-bottom: 20px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid var(--line); }
.hours-table tr:last-child { border-bottom: none; }
.hours-table td { padding: 9px 0; font-size: 0.9rem; }
.hours-table td:first-child {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); font-weight: 500; width: 52px;
}
.hours-table td:last-child { color: var(--muted); }
.kontakt-list { list-style: none; }
.kontakt-list li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }
.kontakt-list li:last-child { border-bottom: none; }
.kontakt-list .klabel {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink); font-weight: 500; min-width: 56px; flex-shrink: 0; padding-top: 1px;
}
.kontakt-list a { color: var(--pine); }
.kontakt-list a:hover { text-decoration: underline; }
.btn-book {
  display: block; text-align: center;
  background: var(--pine); color: var(--paper);
  padding: 14px 24px; border-radius: 2px;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.92rem; font-weight: 500;
  transition: background 0.15s; margin-top: 4px;
}
.btn-book:hover { background: var(--pine-light); }
.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-link {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.82rem;
  color: var(--muted); border: 1px solid var(--line); border-radius: 2px;
  padding: 7px 12px; transition: border-color 0.15s, color 0.15s;
}
.social-link:hover { border-color: var(--pine); color: var(--pine); }
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 0.86rem;
  color: var(--muted); transition: color 0.15s; margin-top: 16px;
}
.btn-back::before { content: "←"; }
.btn-back:hover { color: var(--pine); }

/* ---- Footer ---- */
.sp-footer { background: #14201C; color: #B9C4BF; padding: 56px 0 28px; }
.sp-footer-grid {
  display: grid; grid-template-columns: 1.5fr 0.8fr 0.8fr;
  gap: 40px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(185,196,191,0.14);
}
.sp-footer-brand { font-family: 'Fraunces', Georgia, serif; color: var(--paper); font-size: 1.08rem; margin-bottom: 10px; }
.sp-footer-desc { font-size: 0.88rem; color: #7C8C86; line-height: 1.6; max-width: 260px; margin-top: 10px; }
.sp-fcol h5 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: #8A9A93; margin-bottom: 14px; font-weight: 500;
}
.sp-fcol a { display: block; margin-bottom: 9px; font-size: 0.88rem; color: #B9C4BF; transition: color 0.15s; }
.sp-fcol a:hover { color: var(--paper); }
.sp-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 0.8rem; color: #7C8C86; flex-wrap: wrap; gap: 10px;
}
.sp-footer-bottom a { color: #8A9A93; margin-left: 16px; }
.sp-footer-bottom a:hover { color: #B9C4BF; }

.sp-navtoggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.4rem; color: var(--ink); padding: 4px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .sp-hero-grid { grid-template-columns: 1fr; }
  .sp-hero-visual { display: none; }
  .sp-navtoggle { display: block; }
  .sp-navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .sp-navlinks.open { display: flex; }
  .sp-navlinks a { padding: 10px 0; width: 100%; }
  .sp-location-item { grid-template-columns: 1fr 1fr; gap: 24px; }
  .sp-loc-actions { align-items: flex-start; }
  .sp-services-inner { grid-template-columns: 1fr; gap: 40px; }
  .sp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .sidebar { position: static; }
  .team-grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .sp-nav { padding: 16px 20px; }
  .sp-hero { padding: 60px 0 52px; }
  .sp-location-item { grid-template-columns: 1fr; }
  .sp-svc-list { grid-template-columns: 1fr; }
  .sp-footer-grid { grid-template-columns: 1fr; }
  .team-grid-2 { grid-template-columns: 1fr; }
}

/* ── Prose pages (Impressum, Datenschutz) ── */
.prose-page {
  max-width: 760px;
  margin: 48px auto 80px;
  color: var(--ink);
  line-height: 1.75;
}
.prose-page h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--pine);
  margin: 2.4rem 0 0.5rem;
}
.prose-page h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.6rem 0 0.4rem;
}
.prose-page p {
  margin: 0 0 1rem;
}
.prose-page ul {
  margin: 0 0 1rem 1.4rem;
}
.prose-page li {
  margin-bottom: 0.3rem;
}
.prose-page a {
  color: var(--pine-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
