@font-face { font-family: "Dosis"; src: url("/fonts/dosis-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Dosis"; src: url("/fonts/dosis-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --terracotta: #cd4d19;
  --terracotta-dark: #a83c10;
  --terracotta-light: #d6683b;
  --teal: #00a099;
  --teal-dark: #007d77;
  --teal-light: #26aea8;
  --sand: #faeee5;
  --ink: #1d1d1b;
  --muted: #555;
  --white: #fff;

  --font-head: "Dosis", "Arial Rounded MT", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --radius: 1.25rem;
  --gap: clamp(1.5rem, 4vw, 3rem);
  --width: 72rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 9rem; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--terracotta); }
h3 { font-size: 1.5rem; color: var(--teal-dark); }

p { margin: 0 0 1em; }

a { color: var(--terracotta); text-underline-offset: 0.2em; }
a:hover { color: var(--terracotta-dark); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--sand { background: var(--sand); }
.section--terracotta {
  --dot: clamp(5rem, 10vw, 8rem);
  position: relative;
  overflow-x: clip;
  background: var(--terracotta);
  color: var(--white);
}
.section--terracotta h2 { color: var(--white); }
.section--terracotta > .container { position: relative; z-index: 1; }

/* Bildmarken-Punkte unten rechts, gespiegelt zum Hero */
.section--terracotta::before,
.section--terracotta::after {
  content: "";
  position: absolute;
  background: var(--terracotta-light);
  transform: scaleX(-1);
}
.section--terracotta::before {
  right: calc(var(--dot) * -0.5);
  bottom: calc(var(--dot) * 0.44 + 1rem);
  width: calc(var(--dot) * 1.5);
  aspect-ratio: 112 / 117;
  -webkit-mask: url("/img/brand/form-gross.svg") center / contain no-repeat;
  mask: url("/img/brand/form-gross.svg") center / contain no-repeat;
}
.section--terracotta::after {
  right: -1.25rem;
  bottom: calc(var(--dot) * -0.4);
  width: var(--dot);
  aspect-ratio: 75 / 63;
  -webkit-mask: url("/img/brand/form-klein.svg") center / contain no-repeat;
  mask: url("/img/brand/form-klein.svg") center / contain no-repeat;
}

.split {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
.split--top { align-items: start; }

@media (min-width: 52rem) {
  .split { grid-template-columns: 1fr 1fr; }
  .split > .blob { position: sticky; top: 9rem; }
}

/* Buttons */

.button {
  display: inline-block;
  padding: 0.75em 1.6em;
  border: 0;
  border-radius: 99px;
  background: var(--terracotta);
  color: var(--white);
  font: 600 1.1rem/1.2 var(--font-head);
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.button:hover { background: var(--terracotta-dark); color: var(--white); }
.button--light { background: var(--white); color: var(--teal-dark); }
.button--light:hover { background: var(--sand); color: var(--teal-dark); }
.button--small { padding: 0.55em 1.2em; font-size: 1rem; }

.link {
  font-family: var(--font-head);
  font-weight: 600;
  text-decoration: none;
}
.link::after { content: " →"; }

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(0 0 0 / 0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.header__logo img { height: 5.5rem; width: auto; }

@media (max-width: 60rem) {
  .header__inner { padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .header__logo img { height: 4.25rem; }
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav ul a {
  color: var(--ink);
  font: 500 1.15rem var(--font-head);
  text-decoration: none;
}
.nav ul a:hover,
.nav ul a[aria-current] { color: var(--terracotta); }

.nav-toggle { display: none; }

@media (max-width: 60rem) {
  .nav-toggle {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span:first-child,
  .nav-toggle span:first-child::before,
  .nav-toggle span:first-child::after {
    display: block;
    width: 1.75rem;
    height: 2px;
    margin: auto;
    background: var(--ink);
    position: relative;
    transition: transform 0.2s;
  }
  .nav-toggle span:first-child::before,
  .nav-toggle span:first-child::after { content: ""; position: absolute; }
  .nav-toggle span:first-child::before { top: -8px; }
  .nav-toggle span:first-child::after { top: 8px; }
  .nav-open .nav-toggle span:first-child { background: transparent; }
  .nav-open .nav-toggle span:first-child::before { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:first-child::after { transform: translateY(-8px) rotate(-45deg); }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem clamp(1rem, 4vw, 2rem) 2rem;
    background: var(--white);
    box-shadow: 0 10px 20px rgb(0 0 0 / 0.08);
  }
  .nav ul { flex-direction: column; gap: 1rem; }
  .nav ul a { font-size: 1.4rem; }
  .nav-open .nav { display: flex; }
}

/* Brand shapes */

.blob {
  width: 100%;
  aspect-ratio: 112 / 117;
  object-fit: cover;
  -webkit-mask: url("/img/brand/form-gross.svg") center / contain no-repeat;
  mask: url("/img/brand/form-gross.svg") center / contain no-repeat;
}

/* Hero */

.hero {
  --dot: clamp(8rem, 16vw, 13rem);
  position: relative;
  overflow-x: clip;
  background: var(--teal);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) 0;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  background: var(--teal-light);
}
.hero::before {
  left: -6rem;
  bottom: calc(var(--dot) * 0.44 + 1.5rem);
  width: calc(var(--dot) * 1.5);
  aspect-ratio: 112 / 117;
  -webkit-mask: url("/img/brand/form-gross.svg") center / contain no-repeat;
  mask: url("/img/brand/form-gross.svg") center / contain no-repeat;
}
.hero::after {
  left: -2rem;
  bottom: calc(var(--dot) * -0.4);
  width: var(--dot);
  aspect-ratio: 75 / 63;
  -webkit-mask: url("/img/brand/form-klein.svg") center / contain no-repeat;
  mask: url("/img/brand/form-klein.svg") center / contain no-repeat;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--gap);
  align-items: center;
}
.hero h1 { font-size: clamp(2rem, 7.5vw, 3.6rem); overflow-wrap: break-word; }
.hero__eyebrow { margin: 0 0 0.5rem; font: 500 clamp(1.15rem, 2.5vw, 1.4rem) var(--font-head); }
.hero__claim { margin: 0; font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 0; }
.hero__image { max-width: 30rem; justify-self: center; }

.location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 0.5em 1.2em 0.5em 0.9em;
  border: 2px solid rgb(255 255 255 / 0.7);
  border-radius: 99px;
  color: var(--white);
  font: 500 1.1rem var(--font-head);
  text-decoration: none;
}
.location:hover { color: var(--white); background: rgb(255 255 255 / 0.12); }

@media (max-width: 52rem) {
  .hero__image { max-width: 18rem; }
}

@media (min-width: 52rem) {
  .hero__inner { grid-template-columns: 1.2fr 1fr; }
}

/* Page header */

.page-header {
  position: relative;
  overflow: hidden;
  background: var(--teal);
  color: var(--white);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}
.page-header::after {
  content: "";
  position: absolute;
  right: -3rem;
  top: -2rem;
  width: clamp(8rem, 20vw, 14rem);
  aspect-ratio: 112 / 117;
  background: url("/img/brand/form-gross.svg") center / contain no-repeat;
  filter: invert(1);
  opacity: 0.15;
}
.page-header h1 { margin: 0; }
.lead { margin: 0.75rem 0 0; font-size: clamp(1.2rem, 3vw, 1.5rem); line-height: 1.4; max-width: 40rem; }

/* Home */

.intro {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  font-weight: 300;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 0.1);
}
.card:has(.link:focus-visible) { outline: 3px solid var(--teal); outline-offset: 3px; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.4s; }
.card:hover img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.card__body h2 { font-size: 1.75rem; }
.card__body .link { margin-top: auto; }
.card__body .link::before { content: ""; position: absolute; inset: 0; }
.card__body .link:focus-visible { outline: none; }

.eyebrow {
  margin: 0 0 0.25rem;
  color: var(--teal-dark);
  font: 600 1rem var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Lists */

.checklist { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--terracotta);
}
.section--terracotta .checklist li::before { background: var(--white); }

@media (min-width: 40rem) {
  .checklist--columns { columns: 2; column-gap: 3rem; }
  .checklist--columns li { break-inside: avoid; }
}

.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--sand);
}
.timeline span { color: var(--teal-dark); font: 600 1.05rem var(--font-head); }

@media (max-width: 40rem) {
  .timeline li { grid-template-columns: 1fr; gap: 0; }
}

/* Content pages */

.prose { max-width: 42rem; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose > :first-child { margin-top: 0; }

.box {
  margin: 2.5rem 0;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--sand);
}
.box h2 { margin-top: 0; }
.box > :last-child { margin-bottom: 0; }
.box--teal { background: var(--teal-dark); color: var(--white); }
.box--teal h2 { color: var(--white); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.gallery img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

.workshops { display: grid; gap: 1.5rem; }
.workshop {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 2px solid var(--sand);
}
.workshop > :last-child { margin-bottom: 0; }
.facts {
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--sand);
  list-style: none;
  color: var(--muted);
  font-size: 1rem;
}

.calendly-inline-widget { min-width: 320px; height: 750px; margin-top: 2rem; }

/* Contact */

.contact-list { margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: 0.4rem 0; }
.contact-list span { color: var(--muted); }

@media (max-width: 30rem) {
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
}
.contact__image { border-radius: var(--radius); aspect-ratio: 2 / 1; object-fit: cover; width: 100%; }
.contact__image--large { aspect-ratio: 4 / 3; }

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--white);
}
.form label { display: grid; gap: 0.35rem; font-weight: 500; }
.form input,
.form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #d8d2cc;
  border-radius: 0.6rem;
  font: inherit;
  font-weight: 400;
  background: var(--white);
}
.form input:focus,
.form textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgb(0 160 153 / 0.2); }
.form__note { margin: 0; font-size: 0.95rem; color: var(--muted); }
.form .button { justify-self: start; }

/* Footer */

.footer {
  background: var(--teal-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
  font-size: 1.05rem;
}
.footer a { color: var(--white); }
.footer a:hover { color: var(--sand); }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2.5rem;
}
.footer__logo { width: 10rem; }
.footer__title { color: var(--white); font-size: 1.4rem; }

.certificates { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.certificates a {
  display: flex;
  align-items: center;
  height: 5rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.75rem;
  background: var(--white);
}
.certificates img { max-height: 100%; width: auto; max-width: 9rem; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.25);
  font-size: 0.95rem;
}
.footer__bottom p { margin: 0; }
.footer__bottom ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
