/* Square Concept – Thomas Engelbrecht */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --creme: #F6F2EB;
  --sand: #E7DCCB;
  --taube: #7E9AB5;
  --blau: #2D4A66;
  --blau-mittel: #4F6E8C;
  --blau-hell: #E3EAF1;
  --text: #23303D;
  --text-leise: #55606B;
  --weiss: #FFFDF9;
  --nacht: #23303D;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-l: 24px;
  --radius-m: 18px;
  --radius-s: 12px;
  --wrap: 1200px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--taube); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; margin: 0; color: var(--text); }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sec { padding: 96px 0; }
.band { background: var(--weiss); border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blau); color: var(--creme); padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }

/* Abschnittsköpfe */
.kicker { display: block; font-size: 15px; font-weight: 600; color: var(--blau-mittel); }
.h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.015em; margin: 8px 0 16px; }
.lead { font-size: 19px; color: var(--text-leise); max-width: 680px; }

/* Buttons */
.btn, .btn-line {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 26px; border-radius: 999px;
  font: 500 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn { background: var(--blau); color: var(--creme); border: 0; }
.btn:hover { background: var(--text); color: var(--creme); }
.btn-line { background: transparent; color: var(--blau); border: 1.5px solid var(--blau); }
.btn-line:hover { background: var(--blau); color: var(--creme); }

.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--sand); color: var(--text); font-size: 14px;
}
.label {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
  background: var(--blau-hell); color: var(--blau);
}
.label--sand { background: var(--sand); color: var(--text); }
.label--taube { background: var(--taube); color: var(--weiss); }
.label--blau { background: var(--blau); color: var(--weiss); }

.card { background: var(--weiss); border: 1px solid var(--sand); border-radius: var(--radius-l); padding: 28px; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--creme); border-bottom: 1px solid var(--sand);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg { width: 44px; height: auto; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-family: var(--font-head); font-weight: 600; font-size: 20px; }
.brand-name span { font-size: 12px; letter-spacing: .08em; color: var(--text-leise); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav-links a:hover { color: var(--blau); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 15px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--sand);
  background: var(--weiss); color: var(--text); cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--creme); border-bottom: 1px solid var(--sand); padding: 8px 32px 20px;
  }
  .nav-links a { display: block; padding: 12px 0; font-size: 17px; }
  .site-header.is-open .nav-links { display: flex; }
  .nav .btn { display: none; }
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; padding-top: 24px; }
.hero-text { display: flex; flex-direction: column; gap: 24px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(44px, 6vw, 72px); line-height: 1.03; letter-spacing: -0.02em; }
.hero h1 .zeile2 { color: var(--blau); }
.hero .lead { font-size: 20px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { font-size: 14px; color: var(--text-leise); }

.hero-bild { position: relative; height: 600px; }
.hero-bild .flaeche { position: absolute; left: 0; right: 0; bottom: 0; height: 470px; border-radius: 44px 44px 0 0; background: var(--taube); }
.hero-bild .akzent-1 { position: absolute; left: -26px; bottom: 420px; width: 96px; height: 96px; border-radius: 24px; background: var(--blau); }
.hero-bild .akzent-2 { position: absolute; right: 28px; bottom: 500px; width: 40px; height: 40px; border-radius: 11px; background: var(--sand); }
.hero-bild picture { position: absolute; right: 0; bottom: 0; width: 100%; height: 590px; }
.hero-bild img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 8px; }
  .hero-text { padding-bottom: 24px; }
  .hero-bild { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-bild .flaeche { height: 340px; }
  .hero-bild .akzent-1 { left: -8px; bottom: 300px; width: 64px; height: 64px; border-radius: 16px; }
  .hero-bild .akzent-2 { bottom: 360px; }
  .hero-bild picture { height: 430px; }
}

/* Kennst du das? */
.situationen { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.situation { background: var(--creme); border-radius: var(--radius-l); padding: 28px; border: 1px solid var(--sand); }
.situation .stufe { font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--blau-mittel); margin-bottom: 10px; }
.uebergang { margin-top: 36px; font-size: 19px; }

/* Wachstumspfad */
.pfad { position: relative; margin-top: 56px; }
.pfad::before { content: ""; position: absolute; left: 32px; right: 32px; top: 31px; height: 3px; border-radius: 3px; background: var(--taube); }
.pfad-stufen { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pfad-stufe { display: flex; flex-direction: column; gap: 18px; }
.pfad-nr {
  width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 26px; font-weight: 600;
}
.pfad-nr--1 { background: var(--sand); color: var(--text); }
.pfad-nr--2 { background: var(--taube); color: var(--weiss); }
.pfad-nr--3 { background: var(--blau); color: var(--weiss); }
.pfad-stufe .card { flex: 1; display: flex; flex-direction: column; }
.pfad-stufe h3 { font-size: 24px; margin-bottom: 8px; }
.pfad-stufe .card > p { color: var(--text-leise); margin-bottom: 16px; }
.pfad-meta { font-size: 14px; color: var(--text-leise); margin-top: auto; }
.pfad-meta strong { color: var(--text); }
.pfad-meta + .pfad-meta { margin-top: 6px; }

@media (max-width: 900px) {
  .pfad::before { left: 31px; right: auto; top: 32px; bottom: 32px; width: 3px; height: auto; }
  .pfad-stufen { grid-template-columns: 1fr; }
}

.fundament {
  margin-top: 24px; background: var(--blau); color: var(--creme); border-radius: var(--radius-l);
  padding: 28px 32px; display: flex; gap: 24px; align-items: center;
}
.fundament-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--taube); flex: none; display: flex; align-items: center; justify-content: center; }
.fundament h3 { color: var(--weiss); font-size: 22px; margin-bottom: 4px; }
.fundament p { color: #DCE3EA; }
.pfad-cta { margin-top: 40px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pfad-cta p { font-size: 19px; max-width: 620px; }
@media (max-width: 600px) { .fundament { flex-direction: column; align-items: flex-start; } }

/* Referenzen */
.ref-gross { padding: 0; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 36px; }
.ref-gross .ref-bild img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: top left; }
.ref-gross .ref-text { padding: 36px; }
.ref-gross h3 { font-size: 28px; margin: 14px 0 4px; }
.ref-claim { font-family: var(--font-head); font-size: 19px; color: var(--blau); margin-bottom: 18px; }
.ref-gross .ref-text p:not(.ref-claim) { font-size: 15px; color: var(--text-leise); margin-bottom: 10px; }
.ref-gross strong { color: var(--text); }
.ref-labels { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) { .ref-gross { grid-template-columns: 1fr; } .ref-gross .ref-bild img { min-height: 220px; } }

.ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; }
.ref-karte { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.ref-karte img { width: 100%; height: 200px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--sand); }
.ref-karte .ref-text { padding: 26px; }
.ref-karte h3 { font-size: 22px; margin: 12px 0 2px; }
.ref-karte .ref-claim { font-family: var(--font-body); font-size: 16px; font-weight: 500; margin-bottom: 10px; }
.ref-karte p:not(.ref-claim) { font-size: 15px; color: var(--text-leise); }
.ref-link { display: inline-block; margin-top: 12px; font-size: 14px; }

/* Ablauf */
.ablauf { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.ablauf-nr { font-family: var(--font-head); font-size: 48px; font-weight: 600; color: var(--taube); line-height: 1; }
.ablauf h3 { font-size: 21px; margin: 10px 0 6px; }
.ablauf p { color: var(--text-leise); font-size: 16px; }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; margin-top: 40px; }
.preis { display: flex; flex-direction: column; gap: 14px; }
.preis--hervor { border: 2px solid var(--taube); padding: 27px; }
.preis .label { align-self: flex-start; }
.preis h3 { font-size: 24px; }
.preis-fuer { font-size: 15px; color: var(--text-leise); min-height: 72px; }
.preis-betrag { font-family: var(--font-head); font-size: 34px; font-weight: 600; color: var(--blau); line-height: 1.2; }
.preis ul { margin: 0; padding-left: 20px; font-size: 15px; color: var(--text-leise); flex: 1; }
@media (max-width: 640px) { .preis-fuer { min-height: 0; } }

.betreuung {
  margin-top: 24px; border-radius: var(--radius-l); padding: 24px 28px; background: var(--sand);
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.betreuung h3 { font-size: 20px; margin-bottom: 4px; }
.betreuung p { font-size: 15px; color: var(--text-leise); }
.betreuung .preis-betrag { font-size: 26px; }
.steuerhinweis { margin-top: 18px; font-size: 14px; color: var(--text-leise); }

/* Über mich */
.ueber { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ueber-bild { position: relative; height: 520px; }
.ueber-bild .flaeche { position: absolute; left: 0; right: 0; bottom: 0; height: 400px; border-radius: 40px; background: var(--sand); }
.ueber-bild .akzent { position: absolute; right: -18px; top: 30px; width: 70px; height: 70px; border-radius: 18px; background: var(--taube); }
.ueber-bild picture { position: absolute; right: 0; bottom: 0; width: 100%; height: 510px; }
.ueber-bild img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom; border-radius: 0 0 40px 0; }
.ueber-text p { font-size: 18px; color: var(--text-leise); margin-bottom: 16px; }
.zaehler { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 28px; max-width: 420px; }
.zaehler div { background: var(--creme); border-radius: var(--radius-m); padding: 18px; }
.zaehler strong { display: block; font-family: var(--font-head); font-size: 32px; font-weight: 600; color: var(--blau); line-height: 1.2; }
.zaehler span { font-size: 14px; color: var(--text-leise); }
.zaehler .hell { background: var(--blau-hell); }
@media (max-width: 860px) {
  .ueber { grid-template-columns: 1fr; gap: 32px; }
  .ueber-bild { height: 420px; max-width: 460px; width: 100%; margin: 0 auto; }
  .ueber-bild .flaeche { height: 320px; }
  .ueber-bild picture { height: 410px; }
  .ueber-bild .akzent { right: 0; }
}

/* FAQ */
.faq { max-width: 900px; }
.faq-liste { margin-top: 28px; border-top: 1px solid var(--sand); }
.faq details { border-bottom: 1px solid var(--sand); padding: 22px 0; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-size: 20px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--taube); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; color: var(--text-leise); }

/* Kontakt */
.kontakt { background: var(--blau); color: var(--creme); }
.kontakt .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.kontakt .kicker { color: #B9CBDD; }
.kontakt .h2 { color: var(--weiss); }
.kontakt-intro { font-size: 19px; color: #DCE3EA; margin-bottom: 32px; }
.kontakt-wege { display: flex; flex-direction: column; gap: 12px; }
.kontakt-wege a {
  display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 20px; border-radius: 16px;
  background: #3A5A79; color: var(--weiss); text-decoration: none; transition: background-color .2s;
}
.kontakt-wege a:hover { background: #46688A; color: var(--weiss); }
.kontakt-wege a.termin { background: var(--taube); color: var(--text); font-weight: 500; }
.kontakt-wege a.termin:hover { background: #91AAC2; color: var(--text); }
.kontakt-wege svg { flex: none; }
@media (max-width: 860px) { .kontakt .wrap { grid-template-columns: 1fr; gap: 40px; } }

.formular { background: var(--weiss); color: var(--text); border-radius: var(--radius-l); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.formular fieldset { border: 0; padding: 0; margin: 0; }
.formular legend, .formular label.feld { font-size: 14px; font-weight: 600; display: block; margin-bottom: 8px; }
.themen { display: flex; gap: 8px; flex-wrap: wrap; }
.themen input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.themen label {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--sand); font-size: 14px; cursor: pointer; transition: background-color .2s, color .2s;
}
.themen input:checked + label { background: var(--blau); color: var(--creme); }
.themen input:focus-visible + label { outline: 3px solid var(--taube); outline-offset: 2px; }
.formular input[type=text], .formular input[type=email], .formular textarea {
  width: 100%; min-height: 48px; border-radius: var(--radius-s); border: 1px solid var(--sand);
  background: var(--creme); padding: 0 14px; font: 16px var(--font-body); color: var(--text);
}
.formular textarea { padding: 12px 14px; resize: vertical; min-height: 110px; }
.formular input:focus, .formular textarea:focus { outline: 3px solid var(--taube); outline-offset: 1px; border-color: var(--taube); }
.formular .hinweis { font-size: 13px; color: var(--text-leise); }
.formular .btn { width: 100%; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.meldung { border-radius: var(--radius-s); padding: 14px 16px; font-size: 15px; }
.meldung--ok { background: #E4F0E6; color: #1F4D2B; }
.meldung--fehler { background: #F6E3DF; color: #7A2A1C; }
.feld-fehler { font-size: 13px; color: #9A3324; margin-top: 6px; }

/* Fußzeile */
.site-footer { background: var(--nacht); color: #B9C3CE; font-size: 14px; }
.site-footer .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.site-footer strong { color: var(--weiss); font-weight: 500; }
.site-footer nav { display: flex; gap: 20px; align-items: center; }
.site-footer a { color: #B9C3CE; }
.site-footer a:hover { color: var(--weiss); }

/* Rechtstexte */
.rechtstext { max-width: 820px; padding-top: 64px; padding-bottom: 96px; }
.rechtstext h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 32px; }
.rechtstext h2 { font-size: 22px; margin: 36px 0 10px; }
.rechtstext p, .rechtstext li { color: var(--text-leise); }
.rechtstext p + p { margin-top: 10px; }
.todo { background: #FFF3CD; color: #5C4400; padding: 2px 6px; border-radius: 4px; }

@media (max-width: 700px) {
  .wrap { padding: 0 20px; }
  .sec { padding: 64px 0; }
  .card { padding: 22px; }
  .formular { padding: 22px; }
}

.nur-mobil { display: none; }
@media (max-width: 860px) { .nur-mobil { display: block; } }
