/* IntegraKids – statisches Stylesheet (ersetzt WordPress/Elementor) */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  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;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  --primary: #156092;
  --text: #0f4061;
  --lime: #cafc05;
  --lime-dark: #95b908;
  --sky: #bbd6e7;
  --ice: #f2faff;
  --line: #d5dde3;
  --muted: #5d6b76;
  --white: #fff;
  --radius: 25px;
  --radius-lg: 40px;
  --shadow: 0 10px 30px rgba(15, 64, 97, .08);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--text); }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--ice { background: var(--ice); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--lime { background: var(--lime); color: var(--text); border-color: var(--text); }
.btn--lime:hover { background: #d9ff47; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--white); }
.btn--dark { background: var(--text); color: var(--white); }
.btn--dark:hover { background: var(--primary); }

/* Header – schräge Form wie im Original */
.site-header { position: relative; z-index: 50; height: var(--hh); --hh: 140px; }
.header-bg { position: absolute; inset: 0 0 auto 0; height: 116px; background: var(--lime); pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 100% 112px, 50% 62px, 0 112px); }
.header-wedge { position: absolute; left: 0; top: 0; width: 300px; height: 140px; pointer-events: none; }
.header-inner { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 15px clamp(16px, 4vw, 50px) 0; }
.logo { display: block; margin-left: clamp(0px, 1vw, 10px); margin-top: -8px; }
.logo img { width: 240px; }
.nav { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { display: block; white-space: nowrap; padding: 8px 14px; color: var(--text); text-decoration: none; font-weight: 500; border-radius: 999px; }
.nav a:not(.btn):hover { background: rgba(15, 64, 97, .08); }
.nav .btn { white-space: nowrap; padding: 10px 24px; margin-left: 24px; box-shadow: 0 4px 10px rgba(15, 64, 97, .25); }
.header-actions { display: none; }
.nav-toggle { background: none; border: 0; padding: 6px; cursor: pointer; color: var(--text); }
.nav-toggle svg { width: 30px; height: 30px; display: block; }

@media (max-width: 1080px) {
  .site-header { --hh: 88px; }
  .header-bg { height: 88px; clip-path: polygon(0 0, 100% 0, 100% 86px, 50% 52px, 0 86px); }
  .header-wedge { display: none; }
  /* Blauer Keil auf dem Handy: unterhalb des Logo-Untertitels */
  .site-header::after { content: ""; position: absolute; left: 0; top: 0; width: 80px; height: 90px; background: var(--text);
    clip-path: polygon(0 62px, 80px 76px, 0 86px); pointer-events: none; }
  .header-inner { z-index: 1; align-items: flex-start; padding-top: 8px; }
  .logo { margin-left: 0; margin-top: 0; }
  .logo img { width: 130px; }
  .header-actions { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
  .header-actions .btn { padding: 9px 20px; box-shadow: 0 4px 10px rgba(15, 64, 97, .25); }
  .nav {
    position: absolute; top: 84px; left: 0; right: 0; margin: 0; background: var(--lime); flex-direction: column; align-items: stretch;
    padding: 12px 16px 24px; gap: 4px; box-shadow: 0 12px 20px rgba(0,0,0,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s ease, opacity .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; }
  .nav a:not(.btn) { padding: 12px 14px; font-size: 18px; }
  .nav .btn { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: #f5f1ee url("../img/hero-hintergrund.webp") center / cover no-repeat;
  margin-top: calc(-1 * var(--hh, 140px));
  padding: calc(140px + clamp(8px, 3vw, 40px)) 0 clamp(56px, 8vw, 110px);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
.pill {
  display: inline-block; padding: 8px 18px; border-radius: 999px; background: var(--sky);
  color: var(--text); font-weight: 500; font-size: 16px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p { font-size: 20px; max-width: 540px; color: #33495a; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-visual img { width: 100%; max-width: 520px; margin-left: auto; }
@media (max-width: 1080px) {
  .hero { margin-top: -88px; padding-top: calc(88px + 28px); }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual img { max-width: 340px; margin: 0 auto; }
}

/* Über mich */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.about-block + .about-block { margin-top: 28px; }
.about-block h2 { font-size: clamp(26px, 3vw, 34px); }
.about-block:not(:first-child) h2 { font-size: 24px; color: var(--primary); }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about-photo { max-width: 420px; } }

/* Leistungen */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 64, 97, .12); }
.card .icon {
  width: 60px; height: 60px; display: grid; place-items: center; font-size: 30px;
  background: var(--ice); border-radius: 18px; margin-bottom: 18px;
}
.card p { color: var(--muted); margin: 0; font-size: 17px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Workshops */
.workshops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.workshop { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.workshop-tag { display: block; background: var(--primary); color: var(--white); padding: 14px 32px; font-weight: 700; letter-spacing: .08em; font-size: 15px; }
.workshop:nth-child(2) .workshop-tag { background: var(--text); }
.workshop-body { padding: 32px; }
.workshop-meta { color: var(--primary); font-weight: 600; }
.workshop-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.workshop h4 { font-size: 18px; margin-bottom: 8px; }
.workshop ul { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; }
.workshop li + li { margin-top: 4px; }
.workshop-note { text-align: center; max-width: 760px; margin: 40px auto 0; }
.workshop-note .btn { margin-top: 12px; }
@media (max-width: 900px) { .workshops, .workshop-cols { grid-template-columns: 1fr; } }

/* Zitat */
.quote { background: var(--text); color: var(--white); text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 900px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 300; line-height: 1.5; }
.quote cite { display: block; margin-top: 20px; font-style: normal; color: var(--lime); font-weight: 600; font-size: 16px; letter-spacing: .05em; }

/* Qualifikationen */
.quals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.qual { background: var(--white); border-radius: var(--radius); padding: 28px; border-left: 6px solid var(--lime); box-shadow: var(--shadow); }
.qual h3 { font-size: 20px; }
.qual p { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 960px) { .quals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .quals { grid-template-columns: 1fr; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.profile { background: var(--primary); color: var(--white); border-radius: var(--radius-lg); padding: 40px 32px; text-align: center; }
.profile img.avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; border: 4px solid var(--lime); }
.profile h2 { color: var(--white); font-size: 30px; margin-bottom: 4px; }
.profile h3 { color: var(--lime); font-size: 18px; font-weight: 500; }
.profile p { color: #dcecf7; }
.profile .links { display: grid; gap: 12px; margin-top: 24px; }
.profile .btn { width: 100%; }
.profile .btn--outline { color: var(--white); border-color: var(--white); }
.profile .btn--outline:hover { background: var(--white); color: var(--text); }

.form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form h3 { font-size: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 500; font-size: 16px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: #fbfdff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.field textarea { min-height: 140px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.consent input { margin-top: 5px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; font-weight: 500; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 28px 20px; } }

/* Footer */
.site-footer { background: var(--text); color: #cfe0ec; padding: 48px 0 32px; font-size: 16px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.site-footer img { width: 170px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--lime); }

.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--lime); color: var(--text); display: grid; place-items: center; text-decoration: none;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s ease; font-size: 22px; font-weight: 700;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

/* Rechtstexte */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 32px; }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal h3 { font-size: 20px; margin-top: 28px; }
.legal p, .legal li { color: #33495a; }
.notice { background: #fff8d6; border: 1px solid #f0d86b; border-radius: 16px; padding: 16px 20px; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
