@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&display=swap");

/* ==========================================================================
   CN-Dessous – Zentrale Styles (style.css)
   Stand: 2026-02-09
   ========================================================================== */

/* -----------------------------
   1) Design-Tokens
   ----------------------------- */
:root{
  --bg: #fff7f9;
  --surface: #ffffff;
  --surface-2: #fff0f4;
  --text: #1f1f24;
  --muted: #5c5c67;
  --line: rgba(31,31,36,0.12);

  --brand: #b3124b;
  --brand-2: #f06aa2;
  --shadow: rgba(31,31,36,0.10);

  --btn-green: #2e7d32;
  --btn-green-hover: #2e7d32;
  --btn-text: #ffffff;

  --radius: 16px;
  --radius-lg: 22px;
  --max: 1100px;
  --gap: 18px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", var(--font);
  --lineh: 1.55;
}

/* -----------------------------
   2) Reset / Basis
   ----------------------------- */
*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  line-height:var(--lineh);
  color:var(--text);
  background:var(--bg);
}
img{ max-width:100%; display:block; }
a{ color:var(--brand); text-decoration:none; }

/* -----------------------------
   3) Container
   ----------------------------- */
.container,
main{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}
main{ padding:24px 0 44px; }

/* MOBILE: Ränder deutlich schmaler */
@media (max-width: 720px){
  .container,
  main{
    width: calc(100% - 16px);
  }
}

/* -----------------------------
   4) Header / Navigation
   ----------------------------- */
header{
  background: rgba(255,255,255,0.9);
  border-bottom:1px solid var(--line);
}
header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

/* -----------------------------
   5) Typografie
   ----------------------------- */
h1,h2,h3{
  font-family:var(--font-head);
  margin:0 0 12px 0;
  line-height:1.2;
}
h1{ font-size:clamp(28px,4vw,44px); }
h2{ font-size:clamp(22px,3vw,32px); }
h3{ font-size:clamp(18px,2.4vw,24px); }

/* -----------------------------
   6) Buttons
   ----------------------------- */
.btn,
button.btn,
input[type="submit"]{
  background:var(--btn-green);
  color:#fff;
  border:0;
  border-radius:14px;
  padding:12px 18px;
  font-weight:700;
  cursor:pointer;
}

/* -----------------------------
   7) KURSE – RESPONSIVE KACHELN
   ----------------------------- */
.termine{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:18px;
  margin-top:20px;
}

.termin-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  box-shadow:0 10px 22px var(--shadow);
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}

.termin-card .aktion{
  grid-column:1 / -1;
  margin-top:8px;
}

/* MOBILE: echte Ein-Spalten-Kacheln */
@media (max-width: 720px){
  .termine{
    grid-template-columns: 1fr;
  }
  .termin-card{
    grid-template-columns: 1fr;
  }
}

/* -----------------------------
   8) Footer
   ----------------------------- */
footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  margin-top:40px;
}
/* ================================
   Kontaktformular
   ================================ */

/* Formular selbst */
#kontaktformular,
#kontaktformular form {
    width: 100%;
}

/* Labels sauber links */
#kontaktformular label {
    display: block;
    margin: 0 0 6px 0;
    font-weight: 500;
}

/* ALLE Eingabefelder exakt gleich behandeln */
#kontaktformular input,
#kontaktformular textarea,
#kontaktformular select {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 0 16px 0;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.4;
}

/* Einheitliche Höhe für Text / E-Mail */
#kontaktformular input[type="text"],
#kontaktformular input[type="email"] {
    height: 44px;
}

/* Nachrichtenfeld: groß + KEIN Anfasser */
#kontaktformular textarea {
    min-height: 180px;
    resize: none !important;
}

/* Checkbox-Zeile */
#kontaktformular input[type="checkbox"] {
    width: auto !important;
    margin-right: 8px;
}
