@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  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: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}
@font-face {
  font-family: "Dancing Script";
  src: url("../fonts/dancing-script-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  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: "Dancing Script";
  src: url("../fonts/dancing-script-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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 {
  --navy: #0e3150;
  --navy-deep: #0b2439;
  --green: #6b8a55;
  --green-dark: #55703f;
  --green-light: #d3dbb8;
  --cream: #eeebe5;
  --cream-light: #f6f4ef;
  --text: #22323f;
  --muted: #56636c;
  --script: "Dancing Script", "Segoe Script", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { overflow-x: clip; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(55rem 38rem at 100% 0%, rgba(107, 138, 85, .13), transparent 62%),
    radial-gradient(40rem 30rem at 0% 100%, rgba(14, 49, 80, .06), transparent 60%),
    var(--cream);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }
.wrap { width: min(100% - 2.5rem, 70rem); margin: 0 auto; }

/* ---------- Hero ---------- */

.hero { padding: clamp(2rem, 5vw, 4rem) 0 1rem; flex: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* Foto mit Pinselstrich */
.portrait { position: relative; margin: 0; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.portrait__frame {
  position: relative;
  border-radius: 48% 48% 28px 28px / 34% 34% 28px 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--green-light);
  box-shadow: 0 30px 60px -30px rgba(14, 49, 80, .45);
}
.portrait__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 20%;
}
.portrait figcaption {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: .98rem;
}
.portrait figcaption strong { color: var(--navy); }

.brush {
  position: absolute;
  right: -14%;
  bottom: 12%;
  width: min(86%, 24rem);
  transform: rotate(-7deg);
  filter: drop-shadow(0 10px 14px rgba(11, 36, 57, .22));
  animation: brush-in 1s .35s cubic-bezier(.2, .7, .2, 1) both;
}
.brush svg { display: block; width: 100%; height: auto; overflow: visible; }
.brush__text {
  font-family: var(--script);
  font-weight: 700;
  fill: #fff;
}

/* Text */
.intro { animation: rise .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
.intro__logo { display: block; width: min(100%, 23rem); height: auto; margin: 0 0 1.8rem -.4rem; }

h1 {
  margin: 0 0 .7rem;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--navy);
  text-wrap: balance;
}
h1 em { font-style: normal; color: var(--green); }

.lead { margin: 0; max-width: 32em; color: var(--muted); font-size: clamp(1.08rem, 1.9vw, 1.2rem); text-wrap: pretty; }

.slogan {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1.4rem 0 0;
  font-family: var(--script);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  line-height: 1.2;
  color: var(--navy);
}
.slogan svg { width: 1.6rem; height: 1.6rem; color: var(--green); flex: none; transform: rotate(8deg); }

.contact { margin-top: 2rem; }
.contact__label { margin: 0 0 .6rem; font-size: .98rem; color: var(--muted); }
.contact__row { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1.4rem .8rem .85rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -14px rgba(14, 49, 80, .7); }
.btn--primary:hover { background: var(--navy-deep); }
.btn--ghost { background: rgba(255, 255, 255, .7); color: var(--navy); border: 1.5px solid rgba(14, 49, 80, .18); }
.btn--ghost:hover { background: #fff; }
.btn__ico {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  flex: none;
}
.btn--ghost .btn__ico { background: var(--green-light); color: var(--navy); }
.btn__ico svg { width: 1.05rem; height: 1.05rem; }
.btn small { display: block; font-weight: 600; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; opacity: .75; line-height: 1.1; }
.btn span.num { line-height: 1.2; }

/* ---------- Leistungen ---------- */

.services {
  list-style: none;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 1.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(14, 49, 80, .07);
  border-radius: 26px;
  backdrop-filter: blur(6px);
  animation: rise .9s .25s cubic-bezier(.2, .7, .2, 1) both;
}
.services li {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  font-size: 1.05rem;
}
.services__ico {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.services li:nth-child(even) .services__ico { background: var(--green); }
.services__ico svg { width: 1.9rem; height: 1.9rem; }

/* ---------- Welle + Band ---------- */

.wave { display: block; width: 100%; height: clamp(4rem, 9vw, 7rem); margin-top: clamp(2rem, 5vw, 3.5rem); }
.band { background: var(--navy-deep); color: #fff; }
.values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.8rem, 2.5vw, 1.6rem);
  margin: 0;
  padding: 1.1rem 0 .4rem;
  list-style: none;
  font-family: var(--script);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 2rem);
}
.values::before, .values::after {
  content: "";
  width: clamp(1.5rem, 8vw, 6rem);
  height: 1.5px;
  background: rgba(255, 255, 255, .55);
  border-radius: 2px;
}
.values .heart { width: .7em; height: .7em; color: var(--green-light); }

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding: .9rem 0 1.2rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .7);
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: .8rem;
}
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer nav { display: flex; gap: 1.25rem; }

/* ---------- Rechtstexte ---------- */

.legal-head { padding: 1rem 0; border-bottom: 1px solid rgba(14, 49, 80, .08); background: rgba(255, 255, 255, .55); }
.legal-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.legal-head img { height: 3.4rem; width: auto; display: block; }
.legal-head a.back { font-weight: 600; text-decoration: none; }
.legal { flex: 1; width: min(100% - 2.5rem, 48rem); margin: 0 auto; padding: 2.5rem 0 4rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal h2 { font-size: 1.2rem; color: var(--navy); margin: 2rem 0 .4rem; }
.legal p { margin: 0 0 .8rem; }
.legal .todo { padding: .8rem 1rem; border-radius: 12px; background: #e2e8d2; color: var(--green-dark); font-weight: 600; font-size: 1rem; }

/* ---------- Animation ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes brush-in { from { opacity: 0; transform: rotate(-7deg) translateX(-18px) scale(.94); } to { opacity: 1; transform: rotate(-7deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .portrait { width: min(100%, 22rem); margin: 0 auto; order: 2; }
  .brush { right: -4%; }
  .intro { text-align: center; }
  .intro__logo { margin: 0 auto 1.6rem; }
  .lead { margin-inline: auto; }
  .slogan { justify-content: center; }
  .contact__row { justify-content: center; }
}
@media (max-width: 520px) {
  .services { grid-template-columns: 1fr; padding: 1.1rem; }
  .btn { width: 100%; }
  .slogan svg { display: none; }
  .brush { right: -2%; width: 88%; }
  .values::before, .values::after { display: none; }
  .footer { justify-content: center; text-align: center; }
}

/* ---------- Kontaktformular ---------- */

.kontakt {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: #fff;
  border-radius: 28px;
  border: 1px solid rgba(14, 49, 80, .07);
  box-shadow: 0 30px 60px -40px rgba(14, 49, 80, .45);
  scroll-margin-top: 1.5rem;
}
.kontakt h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.7rem, 3.4vw, 2.2rem);
  line-height: 1.15;
  color: var(--navy);
}
.kontakt__intro p { margin: 0 0 1rem; color: var(--muted); }
.kontakt__hint {
  padding: .8rem 1rem;
  border-radius: 14px;
  background: var(--cream-light);
  border-left: 4px solid var(--green);
  font-size: .98rem;
}

.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; color: var(--navy); font-size: 1rem; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  color: var(--text);
  padding: .75rem .9rem;
  border-radius: 12px;
  border: 1.5px solid rgba(14, 49, 80, .18);
  background: var(--cream-light);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(107, 138, 85, .18);
}
.field [aria-invalid="true"] { border-color: #b4472e; background: #fdf3f0; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: -.4rem 0 0; font-size: .92rem; color: var(--muted); }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: 1rem; line-height: 1.45; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--green); flex: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: .3rem; }
.btn--submit { border: 0; cursor: pointer; font-family: inherit; }
.btn--submit:disabled { opacity: .6; cursor: progress; transform: none; }
.form__msg { margin: 0; font-weight: 600; font-size: 1rem; }
.form__msg.is-ok { color: var(--green-dark); }
.form__msg.is-error { color: #b4472e; }

@media (max-width: 820px) {
  .kontakt { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
}

/* Captcha */
.captcha { display: flex; gap: .7rem; align-items: center; }
.captcha input { max-width: 7rem; text-align: center; font-weight: 700; }
.captcha__new {
  font: inherit;
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: 0;
  padding: .3rem 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.captcha__new:hover { color: var(--green-dark); }
#captchaQuestion { font-size: 1.1em; letter-spacing: .03em; }
