/* wauwauwow! — Stylesheet
   Farben aus dem bestehenden Logo/Auftritt abgeleitet (Teal + Orange), Schrift: Poppins (lokal
   eingebunden, kein Google-Fonts-Request zur Laufzeit -> keine Cookie-Einwilligung nötig). */

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #2f9c8a;
  --teal-dark: #1f6f62;
  --teal-light: #e9f7f3;
  --orange: #ef5b0c;
  --orange-dark: #c6480a;
  --sand: #f6d9a8;
  --ink: #2b2b2b;
  --muted: #6b6b6b;
  --bg: #fffdf9;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 60, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.6em;
  color: var(--teal-dark);
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink); }

/* Lesbarkeit: Silbentrennung (lang="de") und ruhigere Zeilenumbrüche */
p, li {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
h1, h2, h3, h4 { text-wrap: balance; }

a { color: var(--teal-dark); }

ul { padding-left: 1.2em; }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(47, 156, 138, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--teal-dark);
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.brand-name {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
}

.brand-name span { color: var(--orange); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  background: var(--teal-light);
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--teal-dark);
  position: relative;
  transition: 0.2s;
}
.nav-toggle-label span::before { content: ""; position: absolute; top: -8px; }
.nav-toggle-label span::after { content: ""; position: absolute; top: 8px; }

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 32px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

.hero-image {
  width: 100%;
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(239, 91, 12, 0.3);
  transition: transform 0.15s ease, background 0.15s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.btn.secondary {
  background: var(--white);
  color: var(--teal-dark);
  box-shadow: none;
  border: 2px solid var(--teal);
}

.btn.secondary:hover {
  background: var(--teal-light);
}

/* ---------- Sections ---------- */

section { padding: 48px 0; }

.section-alt {
  background: var(--teal-light);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards + h2 {
  margin-top: 44px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card .emoji {
  font-size: 2rem;
}

.card a.more {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  color: var(--orange);
}

.card a.more:hover { text-decoration: underline; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.price-box {
  background: var(--white);
  border: 2px dashed var(--sand);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 24px 0;
}

.price-box .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--orange);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}

.price-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(43,43,43,0.08);
}

.price-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  padding-left: 16px;
}

.notice {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-weight: 600;
  color: #5a3f0c;
}

.cert-details {
  margin: 28px 0;
}

.cert-details summary {
  display: inline-flex;
  list-style: none;
}

.cert-details summary::-webkit-details-marker,
.cert-details summary::marker {
  display: none;
  content: "";
}

.cert-details[open] summary {
  margin-bottom: 20px;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.cert-grid img {
  max-width: 220px;
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card a { text-decoration: none; font-weight: 600; }

.contact-card .emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
}
.contact-card .icon-line {
  color: var(--teal-dark);
}
.contact-card .icon-line svg { display: inline-block; vertical-align: top; }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--teal-dark);
  color: #eafaf5;
  padding: 40px 0 24px;
  margin-top: 40px;
}

footer.site-footer a { color: #eafaf5; }

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  font-size: 0.85rem;
  color: #bfe3da;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .container { padding: 0 20px; }
  .hero p.lead { font-size: 1.05rem; }
  .hero .container,
  .two-col {
    grid-template-columns: 1fr;
  }
  .hero .hero-image { order: -1; }
  .hero { padding-bottom: 12px; }
  section { padding: 24px 0; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  nav.main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  nav.main-nav ul {
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  .nav-toggle:checked ~ nav.main-nav {
    max-height: 480px;
  }
  .nav-toggle-label { display: block; }
}
