/* ============================================================
   CALCUBROS – Stylesheet
   Colors: #ffffff | #608e45 (green) | #102a37 (dark)
   ============================================================ */

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #102a37;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

/* [hidden] muss immer gewinnen, auch gegen display:flex/inline-flex-Klassen wie .btn */
[hidden] { display: none !important; }

img, svg { display: block; }

address { font-style: normal; }

/* ── CSS Variables ── */
:root {
  --green: #608e45;
  --green-dark: #4f7538;
  --green-light: #eef5e9;
  --dark: #102a37;
  --dark-mid: #1e3f50;
  --white: #ffffff;
  --gray-50: #f8fafb;
  --gray-100: #eef1f3;
  --gray-200: #d8dee2;
  --gray-500: #7a8d96;
  --gray-700: #3d5560;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 4px rgba(16,42,55,.06);
  --shadow: 0 4px 20px rgba(16,42,55,.10);
  --shadow-lg: 0 12px 40px rgba(16,42,55,.14);
  --transition: 0.22s ease;
  --section-gap: 96px;
  --container: 1160px;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
  text-align: center;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(96,142,69,.35);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* ── Section shared ── */
.section {
  padding: var(--section-gap) 0;
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section__sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin: 0 auto;
}

.highlight {
  color: var(--green);
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav__logo-calc { color: var(--dark); }
.nav__logo-bros { color: var(--green); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover {
  color: var(--dark);
  background: var(--gray-100);
}

.nav__link--cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--green-dark) !important;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Burger open state */
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 68px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 50%, #1a4a3a 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(96,142,69,.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(96,142,69,.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 100px;
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  background: rgba(96,142,69,.2);
  border: 1px solid rgba(96,142,69,.4);
  color: #a8d08e;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero__title .highlight {
  color: #8fc96d;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 38px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__actions .btn--outline {
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.hero__actions .btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat__number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat__label {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.stat__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll-hint span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  margin: 0 auto;
  animation: scrollHint 1.8s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { opacity: 0.5; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* ================================================================
   ANGEBOT
   ================================================================ */
.angebot {
  background: var(--white);
}

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

.card--feature {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card--feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--green);
  stroke: var(--green);
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.card__text {
  font-size: 0.97rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ================================================================
   FÄCHER
   ================================================================ */
.faecher {
  background: var(--gray-50);
}

.subjects {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.subject {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.subject:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green);
}

.subject__icon {
  width: 56px;
  height: 56px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: background var(--transition);
}

.subject:hover .subject__icon {
  background: var(--green);
}

.subject__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--green);
  transition: stroke var(--transition);
}

.subject:hover .subject__icon svg {
  stroke: var(--white);
}

.subject__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.subject__desc {
  font-size: 0.87rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ================================================================
   ZEITEN
   ================================================================ */
.zeiten {
  background: var(--dark);
}

.zeiten .section__tag {
  background: rgba(96,142,69,.15);
  color: #a8d08e;
}

.zeiten .section__title {
  color: var(--white);
}

.zeiten .section__sub {
  color: rgba(255,255,255,.55);
}

.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.schedule__day {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: border-color var(--transition);
}

.schedule__day:hover {
  border-color: rgba(96,142,69,.5);
}

.schedule__day-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.schedule__day-header svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  flex-shrink: 0;
}

.schedule__day-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.schedule__slots {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 16px 20px;
  transition: background var(--transition);
}

.slot:hover {
  background: rgba(96,142,69,.15);
}

.slot__time {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.slot__duration {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  background: rgba(96,142,69,.15);
  padding: 4px 12px;
  border-radius: 50px;
}

.zeiten__note {
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255,255,255,.45);
}

/* ================================================================
   PREISE
   ================================================================ */
.preise {
  background: var(--white);
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price-card--featured {
  background: var(--dark);
  border-color: var(--dark);
}

.price-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.price-card__header {
  margin-bottom: 28px;
}

.price-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.price-card--featured .price-card__title {
  color: rgba(255,255,255,.6);
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-card__number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.price-card--featured .price-card__number {
  color: var(--white);
}

.price-card__unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-500);
}

.price-card--featured .price-card__unit {
  color: rgba(255,255,255,.6);
}

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.price-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--gray-700);
}

.price-card--featured .price-card__features li {
  color: rgba(255,255,255,.8);
}

.price-card__features li svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  flex-shrink: 0;
}

.price-card--featured .btn--primary {
  background: var(--green);
  border-color: var(--green);
}

.price-card .btn--outline {
  border-color: var(--gray-200);
  color: var(--dark);
}

/* ================================================================
   STANDORT
   ================================================================ */
.standort {
  background: var(--gray-50);
}

.standort__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.standort__info .section__tag { margin-bottom: 12px; }
.standort__info .section__title { text-align: left; margin-bottom: 16px; }

.standort__text {
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 28px;
  line-height: 1.7;
}

.standort__address {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.address__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.address__row svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.standort__map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.standort__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ================================================================
   KONTAKT
   ================================================================ */
.kontakt {
  background: var(--white);
}

.kontakt__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.kontakt__channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kontakt__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

a.kontakt__item:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.kontakt__item-icon {
  width: 44px;
  height: 44px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kontakt__item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--green);
}

.kontakt__item-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kontakt__item-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
}

.kontakt__item-value {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--dark);
  word-break: break-all;
}

/* Form */
.kontakt__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Honeypot-Feld: für Menschen unsichtbar, für Spam-Bots noch auffindbar */
.form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.form__group input,
.form__group select,
.form__group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(96,142,69,.12);
}

.form__group input.error,
.form__group select.error,
.form__group textarea.error {
  border-color: #e05252;
}

.form__status {
  font-size: 0.93rem;
  font-weight: 500;
  padding: 0;
  border-radius: 8px;
  text-align: center;
  min-height: 0;
  transition: all var(--transition);
}

.form__status.success {
  color: var(--green-dark);
  background: var(--green-light);
  padding: 14px;
}

.form__status.error {
  color: #c0392b;
  background: #fdf0f0;
  padding: 14px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--dark);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 48px;
  align-items: start;
}

.footer__brand .nav__logo-calc { color: var(--white); }
.footer__brand .nav__logo-bros { color: var(--green); }

.footer__brand > span,
.footer__brand > div {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline;
}

.footer__brand p {
  margin-top: 12px;
  font-size: 0.92rem;
  color: rgba(255,255,255,.45);
  line-height: 1.65;
}

.footer__links,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}

.footer__links a,
.footer__contact a {
  font-size: 0.95rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer__bottom .container {
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer__bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,.3);
  text-align: center;
}

/* ================================================================
   TEAM
   ================================================================ */
.team {
  background: var(--gray-50);
}

.team__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.teacher {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow var(--transition), transform var(--transition);
}

.teacher:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.teacher__photo {
  flex-shrink: 0;
}

.teacher__photo-inner {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--green-light);
  border: 3px dashed var(--green);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  position: relative;
}

.teacher__photo-inner svg {
  width: 80px;
  height: 80px;
}

.teacher__photo-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(255,255,255,0.85);
  padding: 3px 10px;
  border-radius: 50px;
  position: absolute;
  bottom: 18px;
}

.teacher__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}

.teacher__name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.teacher__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
}

.teacher__role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 50px;
}

.teacher__subjects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.teacher__subjects span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 5px 14px;
  border-radius: 50px;
}

.teacher__bio {
  font-size: 0.97rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ================================================================
   EINBLICKE
   ================================================================ */
.einblicke {
  background: var(--white);
}

.einblicke__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto;
  gap: 20px;
  margin-bottom: 28px;
}

.einblick {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.einblick--large {
  grid-row: span 1;
}

.einblick__img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--green-light);
  border: 2px dashed var(--green);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
}

.einblick__img:hover {
  background: #e2f0d8;
  border-color: var(--green-dark);
}

.einblick__img svg {
  width: 72px;
  height: 72px;
  opacity: 0.7;
}

.einblick--large .einblick__img svg {
  width: 96px;
  height: 96px;
}

.einblick__badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(255,255,255,0.9);
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(96,142,69,0.3);
}

.einblick__caption {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 500;
  padding: 0 4px;
}

.einblicke__hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 1px dashed var(--gray-200);
  border-radius: 10px;
  padding: 14px 20px;
}

.einblicke__hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--gray-500);
  flex-shrink: 0;
}

/* ================================================================
   FOOTER LEGAL ROW
   ================================================================ */
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.35);
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--white);
}

.footer__cookie-link {
  font-family: inherit;
  font-size: 0.85rem;
  color: rgba(255,255,255,.35);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition);
}

.footer__cookie-link:hover {
  color: var(--white);
}

.footer__made-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,.22);
  transition: color var(--transition);
  letter-spacing: 0.01em;
}

.footer__made-link:hover {
  color: rgba(255,255,255,.6);
}

.footer__heart {
  color: #e05252;
  display: inline-block;
  animation: heartbeat 1.6s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.25); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.15); }
  56%       { transform: scale(1); }
}

/* ================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ================================================================ */
.legal-page {
  padding-top: 68px;
  min-height: 100vh;
}

.legal-hero {
  background: var(--dark);
  padding: 64px 0 48px;
}

.legal-hero__tag {
  display: inline-block;
  background: rgba(96,142,69,.15);
  color: #a8d08e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.legal-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.legal-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,.5);
}

.legal-content {
  padding: 64px 0 96px;
  background: var(--white);
}

.legal-content .container {
  max-width: 780px;
}

.legal-block {
  margin-bottom: 48px;
}

.legal-block h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-light);
}

.legal-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-block p,
.legal-block li {
  font-size: 0.97rem;
  color: var(--gray-700);
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal-block ul {
  list-style: disc;
  padding-left: 22px;
}

.legal-block a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block a:hover {
  color: var(--green);
}

.legal-placeholder {
  display: inline-block;
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 1px 6px;
  font-weight: 600;
  color: #856404;
}

/* ================================================================
   CHALK DECORATIONS
   ================================================================ */
.hero__chalk {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.chalk-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Base chalk text style */
.chalk {
  font-family: 'Caveat', cursive;
  font-size: 44px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.17);
  filter: url(#chalk-rough);
  opacity: 0;
  animation: chalkIn 0.7s ease forwards;
}

.chalk--xs  { font-size: 22px; }
.chalk--sm  { font-size: 32px; }
.chalk--md  { font-size: 40px; }
.chalk--xl  { font-size: 78px; }
.chalk--xxl { font-size: 110px; }

/* Subtle edge elements */
.chalk-edge { fill: rgba(255, 255, 255, 0.08); }

/* Chalk paths (shapes) */
.chalk-path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#chalk-rough);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: chalkDraw 1.4s ease forwards;
}

.chalk-path--thin  { stroke-width: 1.5; }
.chalk-path--curve { stroke-width: 2.8; stroke: rgba(255,255,255,0.20); }

.chalk-dot {
  fill: rgba(255, 255, 255, 0.18);
  filter: url(#chalk-rough);
  opacity: 0;
  animation: chalkIn 0.4s ease forwards;
}

/* ── Keyframes ── */
@keyframes chalkIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes chalkDraw {
  from { stroke-dashoffset: 1; opacity: 0; }
  10%  { opacity: 1; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}

/* ── Staggered delays: text ── */
.ck-1  { animation-delay: 0.10s; }
.ck-2  { animation-delay: 0.30s; }
.ck-3  { animation-delay: 0.50s; }
.ck-4  { animation-delay: 0.70s; }
.ck-5  { animation-delay: 0.90s; }
.ck-6  { animation-delay: 0.55s; }
.ck-7  { animation-delay: 0.20s; }
.ck-8  { animation-delay: 1.60s; }
.ck-9  { animation-delay: 1.10s; }
.ck-10 { animation-delay: 1.30s; }
.ck-11 { animation-delay: 0.40s; }
.ck-12 { animation-delay: 1.50s; }
.ck-13 { animation-delay: 0.80s; }
.ck-14 { animation-delay: 0.60s; }
.ck-ax { animation-delay: 2.10s; }
.ck-ay { animation-delay: 2.10s; }

/* ── Staggered delays: paths / shapes ── */
.cp-1    { animation-delay: 0.90s; animation-duration: 1.6s; }  /* triangle */
.cp-2    { animation-delay: 1.55s; animation-duration: 0.6s; }  /* angle arc */
.cp-dot  { animation-delay: 1.70s; }
.cp-3    { animation-delay: 1.10s; animation-duration: 1.8s; }  /* circle */
.cp-4    { animation-delay: 1.75s; animation-duration: 0.5s; }  /* radius */
.cp-5    { animation-delay: 1.35s; animation-duration: 0.9s; }  /* axes */
.cp-6    { animation-delay: 1.85s; animation-duration: 1.2s; }  /* parabola */

/* Hide chalk on very small screens to avoid clutter */
@media (max-width: 640px) {
  .hero__chalk { display: none; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .subjects {
    grid-template-columns: repeat(3, 1fr);
  }

  .standort__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .standort__map {
    height: 320px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .einblicke__grid {
    grid-template-columns: 1fr 1fr;
  }

  .einblick--large {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .teacher {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .teacher__photo-inner {
    width: 120px;
    height: 120px;
    margin: 0 auto;
  }

  .teacher__info { align-items: center; text-align: center; }
  .teacher__name-row { justify-content: center; }
  .teacher__subjects { justify-content: center; }

  .einblicke__grid {
    grid-template-columns: 1fr;
  }

  .einblick--large { grid-column: span 1; }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  :root {
    --section-gap: 64px;
  }

  /* Nav mobile */
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 20px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    display: block;
    padding: 14px 12px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .nav__link--cta {
    text-align: center;
    margin-top: 8px;
  }

  /* Hero */
  .hero__content { padding-top: 40px; padding-bottom: 80px; }
  .hero__stats { gap: 20px; }
  .stat__number { font-size: 1.6rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }

  /* Cards */
  .cards { grid-template-columns: 1fr; }

  /* Subjects */
  .subjects {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Schedule */
  .schedule { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  /* Kontakt */
  .kontakt__grid { grid-template-columns: 1fr; gap: 36px; }
  .form__row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 480px) {
  .subjects {
    grid-template-columns: 1fr 1fr;
  }

  .hero__stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .stat__divider { display: none; }

  .schedule__day { padding: 24px 20px; }
}

/* ================================================================
   COOKIE BANNER
   ================================================================ */
body.cookie-banner-open { overflow: visible; }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 20px 24px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.cookie-banner__text {
  flex: 1 1 380px;
  min-width: 260px;
}

.cookie-banner__title {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.cookie-banner__text p {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.55;
}

.cookie-banner__text a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__settings {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 8px;
  border-top: 1px solid var(--gray-100);
  margin-top: 4px;
}

.cookie-toggle {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-700);
  cursor: pointer;
}

.cookie-toggle input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 10px 18px;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cookie-banner { padding: 18px 16px; }
  .cookie-banner__actions { flex-direction: column; width: 100%; }
  .cookie-banner__actions .btn { width: 100%; text-align: center; }
}

/* ================================================================
   404 / FEHLERSEITE
   ================================================================ */
.error-content {
  text-align: center;
  max-width: 560px;
}

.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: rgba(96, 142, 69, 0.25);
  line-height: 1;
  margin-bottom: 8px;
}

.error-text {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
