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

:root {
  --terrakotta: #C4724A;
  --terrakotta-dark: #A85A35;
  --gruen: #6F7D5B;
  --gruen-dark: #525E3E;
  /* Sektionen wechseln streng ab: --beige, --beige-dark, --beige, …
     --creme ist ausschließlich für Karten AUF den Bändern. */
  --beige: #E9E2D5;
  --beige-dark: #DFD4C2;
  --creme: #F7F2E9;
  --creme-dark: #DFD4C2;
  --braun: #3D2B1F;
  --braun-mid: #7A5C48;
  /* wächst normal mit, ab ~1600px Fensterbreite übernimmt der zweite Wert:
     hält den Inhalt bei max. 1400px, der Rest wird zu Rand links/rechts */
  --pad: max(clamp(1.5rem, 6vw, 6rem), calc((100vw - 1400px) / 2));
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--beige);
  color: var(--braun);
  font-size: 18px;
  line-height: 1.75;
}

/* height:auto sorgt dafür, dass die width/height-Attribute am <img> nur das
   Seitenverhältnis vorgeben (gegen Layout-Springen) und keine feste Pixelhöhe.
   Komponenten wie .photo-grid img, die selbst eine Höhe setzen, überschreiben das. */
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--beige);
  border-bottom: 1px solid var(--creme-dark);
  padding: 0 var(--pad);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--braun);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--braun-mid);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}

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

.nav-links .nav-cta {
  color: var(--terrakotta);
  font-weight: 700;
  border-bottom: 1px solid var(--terrakotta);
  padding-bottom: 1px;
}

/* ── DROPDOWN ── */
.nav-links .chevron {
  font-size: 0.6rem;
  opacity: 0.6;
  margin-left: 2px;
}

.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -1.2rem;
  background: var(--creme);
  border: 1px solid var(--creme-dark);
  border-top: 2px solid var(--terrakotta);
  list-style: none;
  min-width: 210px;
  box-shadow: 0 8px 24px rgba(61,43,31,0.1);
  z-index: 200;
  padding: 0.8rem 0 0.5rem;
  /* Unsichtbarer Puffer oben damit die Maus sicher reinkommt */
  margin-top: 0;
}

/* Lücke zwischen Nav-Item und Dropdown mit Pseudo-Element überbrücken */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.dropdown li a {
  display: block;
  padding: 0.6rem 1.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--braun-mid);
  text-transform: uppercase;
  transition: color 0.15s, background 0.15s;
}

.dropdown li a:hover,
.dropdown li a.active {
  color: var(--terrakotta);
  background: var(--creme-dark);
}

/* mobile group labels */
.mob-group-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terrakotta);
  margin-top: 0.4rem;
  padding-bottom: 0.2rem;
}

.mob-divider {
  border-top: 1px solid var(--creme-dark);
  margin: 0.5rem 0;
}

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

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--braun);
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  background: var(--creme);
  border-bottom: 1px solid var(--creme-dark);
  padding: 1.5rem var(--pad);
  z-index: 99;
  flex-direction: column;
  gap: 1.2rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  text-decoration: none;
  color: var(--braun-mid);
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav-mobile a.active,
.nav-mobile a:hover { color: var(--terrakotta); }

/* ── PAGE HEADER ── */
.page-header {
  padding: clamp(2rem, 3vw, 3rem) var(--pad) 1.5rem;
  border-bottom: 1px solid var(--creme-dark);
}

.page-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terrakotta);
  margin-bottom: 0.6rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--braun);
}

/* ── DIVIDER ── */
.divider {
  border: none;
  border-top: 1px solid var(--creme-dark);
  margin: 0 var(--pad);
}

/* ── SECTION ── */
.section {
  padding: clamp(2rem, 3.5vw, 3.5rem) var(--pad);
}

.label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terrakotta);
  margin-bottom: 0.8rem;
}

.title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--braun);
  margin-bottom: 1.4rem;
}

.body-text {
  color: var(--braun-mid);
  font-size: 1.05rem;
  font-weight: 400;
}

.body-text p + p { margin-top: 1rem; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 1px;
  transition: all 0.2s;
}

.btn-dark { background: var(--gruen); color: var(--creme); }
.btn-dark:hover { background: var(--gruen-dark); }

.btn-ghost { border: 1px solid var(--creme-dark); color: var(--braun-mid); }
.btn-ghost:hover { border-color: var(--braun-mid); color: var(--braun); }

.btn-terra { background: var(--gruen); color: var(--creme); }
.btn-terra:hover { background: var(--gruen-dark); }

.inline-link {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terrakotta);
  text-decoration: none;
  border-bottom: 1px solid var(--terrakotta);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.inline-link:hover { opacity: 0.7; }

/* ── PLACEHOLDER ── */
.foto-placeholder {
  background: var(--creme-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--braun-mid);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.foto-placeholder svg { opacity: 0.3; }

/* ── GUTSCHEIN BANNER ── */
.gutschein-banner {
  background: var(--braun);
  padding: 2.2rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.gutschein-banner h2 {
  color: var(--creme);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-bottom: 0.3rem;
}

.gutschein-banner p {
  color: rgba(250,247,242,0.6);
  font-size: 1rem;
}

.btn-creme {
  display: inline-block;
  background: var(--creme);
  color: var(--braun);
  padding: 0.85rem 2rem;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 1px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.btn-creme:hover { opacity: 0.85; }

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--creme-dark);
  border: 1px solid var(--creme-dark);
  margin-top: 2.5rem;
}

.testimonial {
  background: var(--creme);
  padding: 2rem 2.5rem;
}

.stars { color: var(--terrakotta); letter-spacing: 0.1em; margin-bottom: 1rem; }

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: var(--braun-mid);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.testimonial-name {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--braun);
}

/* ── PREIS TABLE ── */
.preis-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }

.preis-table tr { border-bottom: 1px solid var(--creme-dark); }

.preis-table td {
  padding: 0.6rem 0;
  font-size: 1rem;
  color: var(--braun-mid);
}

.preis-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--braun);
}

/* ── KURS CARDS ── */
.kurse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--creme-dark);
  border: 1px solid var(--creme-dark);
  margin-bottom: 3rem;
}

.kurs-card {
  background: var(--creme);
  padding: 2.5rem;
}

.kurs-nummer {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terrakotta);
  margin-bottom: 0.4rem;
}

.kurs-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--braun);
  margin-bottom: 0.4rem;
}

.kurs-desc {
  font-size: 1rem;
  color: var(--braun-mid);
  margin-bottom: 1.8rem;
}

.kurs-termine {
  list-style: none;
  margin-bottom: 1.5rem;
}

.kurs-termine li {
  font-size: 1rem;
  color: var(--braun-mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--creme-dark);
  display: flex;
  gap: 0.8rem;
}

.kurs-termine li::before { content: "–"; color: var(--terrakotta); flex-shrink: 0; }

/* ── TWO COL LAYOUT ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.two-col-center { align-items: center; }

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.photo-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── FORM ── */
.form-wrap { display: flex; flex-direction: column; gap: 0; }

.form-field {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--creme-dark);
  padding: 0.9rem 0;
}

.form-field:first-child { border-top: 1px solid var(--creme-dark); }

.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--braun-mid);
  margin-bottom: 0.3rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  border: none;
  background: transparent;
  color: var(--braun);
  outline: none;
  padding: 0;
  width: 100%;
  appearance: none;
}

.form-field textarea { resize: none; min-height: 90px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  border-top: 1px solid var(--creme-dark);
}

.form-row .form-field:first-child { border-top: none; }

.btn-submit {
  align-self: flex-start;
  margin-top: 2rem;
  background: var(--gruen);
  color: var(--creme);
  border: none;
  padding: 0.85rem 2.2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  border-radius: 1px;
}

.btn-submit:hover { background: var(--gruen-dark); }

/* ── EXTRAS GRID ── */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--creme-dark);
  border: 1px solid var(--creme-dark);
}

.extra {
  background: var(--creme);
  padding: 2rem 2.5rem;
}

.extra h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--braun);
  margin-bottom: 0.5rem;
}

.extra p {
  font-size: 1rem;
  color: var(--braun-mid);
  line-height: 1.7;
}

/* ── WHATSAPP BUTTON ── */
.wa-btn {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 0.7rem 1.2rem 0.7rem 0.9rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

@media (max-width: 500px) {
  .wa-btn span { display: none; }
  .wa-btn { padding: 0.85rem; border-radius: 50%; }
}

/* ── FOOTER ── */
footer {
  background: var(--braun);
  color: rgba(250,247,242,0.5);
  padding: 2rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

footer a {
  color: rgba(250,247,242,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: rgba(250,247,242,0.9); }
.footer-links { display: flex; gap: 2rem; }

/* ── INFO BOX ── */
.info-box {
  background: var(--creme-dark);
  border-left: 3px solid var(--terrakotta);
  padding: 1.2rem 1.5rem;
  font-size: 0.95rem;
  color: var(--braun-mid);
  margin-top: 1.5rem;
}

/* ── QUOTE ── */
blockquote.zitat {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--creme-dark);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--braun);
  line-height: 1.6;
}

blockquote.zitat cite {
  display: block;
  margin-top: 0.8rem;
  font-style: normal;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--terrakotta);
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  #about-home .about-img { order: 2; }
  .kurse-grid { grid-template-columns: 1fr; }
  .extras-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; border-top: none; }
  .form-row .form-field:first-child { border-top: 1px solid var(--creme-dark); }
  .gutschein-banner { flex-direction: column; align-items: flex-start; }
  footer { flex-direction: column; }
}

@media (max-width: 500px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── FAQ ── */
.faq-list {
  margin-top: 2.5rem;
  max-width: 780px;
  border-top: 1px solid var(--creme-dark);
}

.faq-item {
  border-bottom: 1px solid var(--creme-dark);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--braun);
  transition: color 0.2s;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terrakotta); }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--terrakotta);
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  padding: 0 2.5rem 1.5rem 0;
  margin: 0;
  color: var(--braun-mid);
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 500px) {
  .faq-item summary { font-size: 1.05rem; }
}
