@font-face {
  font-family: "Fraunces";
  src: url("schrift/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("schrift/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --kreide: #f6f3ec;
  --weiss: #fffdf8;
  --tinte: #14213b;
  --tinte-weich: #47506a;
  --linie: #dcd6c8;
  --blau: #2f5be0;
  --gelb: #f7cf17;
  --rot: #e8401c;
  --breite: 1140px;
  --rand: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--kreide);
  color: var(--tinte);
  font-family: "Figtree", system-ui, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; border-radius: 4px; }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf .innen { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.marke svg { width: 46px; height: auto; flex: none; }
.marke b { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.18rem; font-weight: 600; line-height: 1.1; }
.marke small { display: block; font-size: 0.76rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--tinte-weich); }
.kopf nav { display: flex; gap: 26px; }
.kopf nav a { text-decoration: none; font-weight: 500; font-size: 0.98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.kopf nav a:hover { border-color: var(--gelb); }

.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  background: var(--tinte); color: var(--weiss);
  font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease;
}
.knopf:hover { background: var(--blau); transform: translateY(-1px); }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf.hell { background: transparent; color: var(--tinte); box-shadow: inset 0 0 0 2px var(--tinte); }
.knopf.hell:hover { background: var(--tinte); color: var(--weiss); }
.kopf .knopf { padding: 10px 18px; font-size: 0.95rem; }

/* Bühne */
.buehne { padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 100px); overflow: hidden; }
.buehne .innen { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.ueberzeile { font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--tinte-weich); margin-bottom: 20px; }
.buehne h1 { font-size: clamp(2.7rem, 7.4vw, 5.3rem); }
.buehne h1 em { font-style: italic; font-weight: 500; position: relative; white-space: nowrap; z-index: 0; }
.buehne h1 em::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.12em; right: -0.14em; top: 0.16em; bottom: 0.02em;
  background: var(--gelb); filter: url(#pinsel);
  animation: streichen 0.9s 0.25s cubic-bezier(0.6, 0, 0.2, 1) both;
}
.striche { display: flex; flex-direction: column; gap: 7px; width: min(300px, 62%); margin: 26px 0 28px; }
.striche i { display: block; height: 11px; filter: url(#pinsel); animation: streichen 0.7s cubic-bezier(0.6, 0, 0.2, 1) both; }
.striche i:nth-child(1) { background: var(--blau); animation-delay: 0.7s; }
.striche i:nth-child(2) { background: var(--gelb); width: 82%; animation-delay: 0.85s; }
.striche i:nth-child(3) { background: var(--rot); width: 64%; animation-delay: 1s; }
@keyframes streichen { from { clip-path: inset(-40% 100% -40% -5%); } to { clip-path: inset(-40% -5% -40% -5%); } }
.buehne .text > p { font-size: 1.2rem; max-width: 34em; color: var(--tinte-weich); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.bildgruppe { position: relative; padding: 0 0 56px 0; max-width: 560px; justify-self: center; width: 100%; }
.bildgruppe::before {
  content: ""; position: absolute; inset: 9% -7% 4% 14%;
  background: var(--blau); filter: url(#pinsel-gross);
}
.bildgruppe img { position: relative; border: 8px solid var(--weiss); box-shadow: 0 18px 40px -18px rgba(20, 33, 59, 0.45); }
.bildgruppe .haupt { width: 88%; aspect-ratio: 4 / 3; object-fit: cover; }
.bildgruppe .neben { position: absolute; right: 0; bottom: 0; width: 38%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Zahlen */
.zahlen { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); background: var(--weiss); }
.zahlen .innen { display: grid; grid-template-columns: repeat(3, 1fr); }
.zahlen div { padding: 26px 12px 24px; text-align: center; border-left: 1px solid var(--linie); }
.zahlen div:first-child { border-left: 0; }
.zahlen b { display: block; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.7rem, 4.4vw, 2.7rem); font-weight: 600; line-height: 1.1; }
.zahlen span { font-size: 0.92rem; color: var(--tinte-weich); }

/* Abschnitte */
.abschnitt { padding: clamp(60px, 9vw, 116px) 0; }
.abschnitt-kopf { max-width: 40em; margin-bottom: clamp(32px, 5vw, 56px); }
.abschnitt h2 { font-size: clamp(2rem, 4.8vw, 3.2rem); margin-bottom: 16px; }
.abschnitt-kopf p { color: var(--tinte-weich); font-size: 1.12rem; margin: 0; }
.schilde { display: flex; gap: 5px; margin-bottom: 18px; }
.schilde i { width: 14px; height: 17px; border-radius: 0 0 8px 8px; }
.schilde i:nth-child(1) { background: var(--blau); }
.schilde i:nth-child(2) { background: var(--gelb); transform: translateY(4px); }
.schilde i:nth-child(3) { background: var(--rot); }

/* Leistungen */
.leistungen { display: grid; gap: 22px; }
.gruppe { background: var(--weiss); border: 1px solid var(--linie); padding: 30px 28px 26px; position: relative; }
.gruppe::before { content: ""; position: absolute; left: 28px; top: -7px; width: 92px; height: 13px; background: var(--farbe); filter: url(#pinsel); }
.gruppe h3 { font-size: 1.6rem; margin: 6px 0 18px; }
.gruppe ul { list-style: none; margin: 0; padding: 0; }
.gruppe li { padding: 13px 0; border-top: 1px solid var(--linie); font-weight: 600; }
.gruppe li span { display: block; font-weight: 400; font-size: 0.95rem; color: var(--tinte-weich); }

/* Urlaub */
.urlaub { background: var(--tinte); color: var(--weiss); position: relative; overflow: hidden; }
.urlaub::after { content: ""; position: absolute; right: -40px; bottom: -22px; width: min(46vw, 520px); height: 74px; background: var(--rot); filter: url(#pinsel-gross); opacity: 0.95; }
.urlaub .innen { position: relative; z-index: 1; max-width: 900px; }
.urlaub h2 { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
.urlaub h2 em { font-style: italic; font-weight: 500; color: var(--gelb); }
.urlaub p { font-size: 1.18rem; max-width: 34em; margin: 22px 0 30px; color: #d7dbe6; }
.urlaub .knopf { background: var(--gelb); color: var(--tinte); }
.urlaub .knopf:hover { background: var(--weiss); }

/* Projekte */
.galerie { columns: 2; column-gap: 14px; }
.galerie button { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--linie); cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.galerie img { width: 100%; transition: transform 0.5s ease; }
.galerie button:hover img { transform: scale(1.04); }

dialog.lupe { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
dialog.lupe::backdrop { background: rgba(14, 22, 40, 0.9); }
dialog.lupe img { max-width: 96vw; max-height: 86vh; width: auto; border: 6px solid var(--weiss); }
dialog.lupe .leiste { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
dialog.lupe .leiste button { border: 0; border-radius: 999px; min-width: 48px; height: 48px; padding: 0 18px; background: var(--weiss); color: var(--tinte); font: inherit; font-weight: 600; cursor: pointer; }

/* Über uns */
.ueber .innen { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.ueber .text p { max-width: 36em; }
.ueber .unterschrift { font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.3rem; margin-top: 26px; }
.ueber .unterschrift small { display: block; font-family: "Figtree", sans-serif; font-style: normal; font-size: 0.9rem; color: var(--tinte-weich); }
.flotte { grid-column: 1 / -1; position: relative; margin-bottom: clamp(36px, 5vw, 64px); }
.flotte::before { content: ""; position: absolute; left: -3%; right: 30%; bottom: -16px; height: 46px; background: var(--gelb); filter: url(#pinsel-gross); }
.flotte img { position: relative; width: 100%; border: 8px solid var(--weiss); box-shadow: 0 18px 40px -20px rgba(20, 33, 59, 0.45); }
figure { margin: 0; }

/* Kontakt */
.kontakt { background: var(--weiss); border-top: 1px solid var(--linie); }
.kontakt .innen { display: grid; gap: 36px; }
.kontakt .gross { font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 6.4vw, 3.5rem); font-weight: 600; text-decoration: none; line-height: 1.1; display: inline-block; border-bottom: 5px solid var(--gelb); }
.kontakt .gross:hover { border-color: var(--rot); }
.kontakt dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; }
.kontakt dt { color: var(--tinte-weich); }
.kontakt dd { margin: 0; font-weight: 600; }
.kontakt address { font-style: normal; margin-bottom: 22px; }

/* Fuß */
.fuss { background: var(--tinte); color: #c9cfdd; font-size: 0.95rem; padding: 34px 0 96px; }
.fuss .innen { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
.fuss a { color: var(--weiss); }
.fuss nav { display: flex; gap: 22px; }

.anruf-leiste { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; justify-content: center; box-shadow: 0 12px 28px -10px rgba(20, 33, 59, 0.6); }

/* Rechtsseiten */
.recht { padding: clamp(40px, 7vw, 80px) 0; }
.recht .innen { max-width: 780px; }
.recht h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-bottom: 28px; }
.recht h2 { font-size: 1.45rem; margin: 34px 0 10px; }
.recht mark { background: #fde98c; padding: 1px 5px; }

/* Einblenden */
.kommt { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.kommt.da { opacity: 1; transform: none; }

@media (max-width: 859px) {
  .kopf nav, .kopf .knopf { display: none; }
}
@media (min-width: 640px) {
  .galerie { columns: 3; }
}
@media (min-width: 860px) {
  .buehne .innen { grid-template-columns: 1.08fr 0.92fr; }
  .leistungen { grid-template-columns: repeat(3, 1fr); }
  .galerie { columns: 4; column-gap: 16px; }
  .ueber .innen { grid-template-columns: 0.8fr 1.2fr; }
  .kontakt .innen { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
  .anruf-leiste { display: none; }
  .fuss { padding-bottom: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kommt { opacity: 1; transform: none; transition: none; }
  .buehne h1 em::before, .striche i { animation: none; }
  .galerie img { transition: none; }
}
@media print {
  .kopf, .anruf-leiste, .knoepfe { display: none; }
  .kommt { opacity: 1; transform: none; }
}

/* Ablauf */
.ablauf { background: var(--weiss); border-top: 1px solid var(--linie); }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px 26px; counter-reset: schritt; }
.schritte li { counter-increment: schritt; border-top: 3px solid var(--tinte); padding-top: 16px; }
.schritte li::before { content: counter(schritt); display: block; font-family: "Fraunces", Georgia, serif; font-size: 3rem; font-weight: 600; line-height: 1; margin-bottom: 12px; }
.schritte li:nth-child(1) { border-color: var(--blau); }
.schritte li:nth-child(2) { border-color: var(--gelb); }
.schritte li:nth-child(3) { border-color: var(--rot); }
.schritte b { display: block; font-size: 1.15rem; margin-bottom: 6px; }
.schritte span { color: var(--tinte-weich); font-size: 0.98rem; }

/* Fragen und Einsatzgebiet */
.fragen { background: var(--weiss); border-top: 1px solid var(--linie); }
.fragen .innen { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.fragen h3.klein { font-family: "Figtree", sans-serif; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--tinte-weich); margin: 34px 0 14px; line-height: 1.4; }
.orte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.orte li { border: 1px solid var(--linie); background: var(--kreide); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; font-weight: 500; }
.fragen details { border-top: 1px solid var(--linie); }
.fragen details:last-child { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; font-weight: 600; font-size: 1.1rem; position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: "Fraunces", Georgia, serif; font-size: 1.8rem; font-weight: 400; line-height: 1; color: var(--blau); }
.fragen details[open] summary::after { content: "\2212"; }
.fragen details p { color: var(--tinte-weich); max-width: 38em; margin: 0 0 20px; }
.kontakt .knoepfe { margin-top: 24px; }

@media (min-width: 560px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px) {
  .schritte { grid-template-columns: repeat(4, 1fr); }
  .fragen .innen { grid-template-columns: 0.8fr 1.2fr; }
}
