/* ===== Self-hosted Nunito (latin + latin-ext, variable font 400–700) ===== */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/nunito-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/nunito-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Variables ===== */
:root {
  --bg: #F7F4EE;
  --bg-alt: #EDE8DF;
  --accent: #2F6F5E;       /* Smaragd/Teal, AA-konform (vormals Salbei #52705A) */
  --accent-dark: #1F4F43;  /* Hover/Fokus, dunklere Variante */
  --warm: #C4956A;
  --text: #2C2C2C;
  --text-muted: #6B6B6B;
  --border: #D8D0C4;
  --card-bg: #FFFFFF;
  --radius: 12px;
  --shadow: 0 2px 16px rgba(44, 44, 44, 0.07);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }

/* ===== Sichtbarer Tastatur-Fokus (WCAG 2.4.7 / BFSG-Basisversicherung) ===== */
:focus-visible {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
  border-radius: 3px;
}
/* Fallback für Browser ohne :focus-visible-Unterstützung */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--accent-dark);
  outline-offset: 2px;
}
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

/* ===== Layout ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-wordmark {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-wordmark:hover { color: var(--accent); }

.page-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.12rem 0.45rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero {
  padding: 7rem 0 6rem;
  background: var(--bg);
}

.hero-content {
  max-width: 680px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  max-width: 580px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

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

/* ===== Leitspruch ===== */
.leitspruch {
  background: var(--bg-alt);
  padding: 3rem 0;
}

.frankl-quote {
  margin: 0 auto;
  padding: 0;
  border: none;
  max-width: 640px;
  text-align: center;
}

.frankl-quote p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 0.5rem;
}

.frankl-quote cite {
  font-size: 0.85rem;
  color: var(--warm);
  font-style: normal;
  letter-spacing: 0.02em;
}

/* ===== Section headers ===== */
.section-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 3rem;
}

/* ===== Workshops ===== */
#workshops { background: var(--bg-alt); }

.workshops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.workshop-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.workshop-card.upcoming {
  background: var(--bg-alt);
  border-style: dashed;
  opacity: 0.75;
}

.workshop-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.workshop-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.workshop-card p {
  font-size: 0.97rem;
  color: var(--text-muted);
  flex: 1;
}

.workshop-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  font-weight: 600;
}

.workshop-meta svg {
  flex-shrink: 0;
}

.workshop-card .btn {
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
}

/* ===== About ===== */
#ueber-mich { background: var(--bg); }

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

.about-image-placeholder {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ===== Contact / Booking ===== */
#kontakt { background: var(--bg-alt); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.contact-intro p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.contact-detail a { color: var(--accent); font-weight: 600; }

/* Form */
.booking-form {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: 0.97rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-weight: 700;
  color: #fff;
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .hero { padding: 4rem 0 3.5rem; }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-placeholder { aspect-ratio: 3/2; }

  .nav-links { gap: 1.25rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

/* ===== Subpages (Impressum / Datenschutz) ===== */
.page-header {
  padding: 5rem 0 3rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}
.prose {
  max-width: 760px;
  padding: 4rem 0 6rem;
}
.prose h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 0.75rem;
  color: var(--text);
}
.prose h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}
.prose p, .prose li {
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
}
.prose ul { padding-left: 1.5rem; }
.prose a { color: var(--accent); font-weight: 600; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1rem;
}
.back-link:hover { color: var(--accent); }

/* ===== Baustelle / Im Aufbau ===== */
.construction { padding: clamp(4rem, 10vw, 8rem) 0; }
.construction .hero-content { max-width: 640px; }
.contact-line {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-size: 1rem; color: var(--text-muted); margin-top: 1.75rem;
}
.contact-line a { color: var(--accent); font-weight: 700; }
