/* Selbst gehostete Schriften - kein Aufruf an Google-Server */
@font-face { font-family: "Lexend"; font-weight: 300; font-display: swap; src: url(../fonts/lexend-300-latin.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 400; font-display: swap; src: url(../fonts/lexend-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 500; font-display: swap; src: url(../fonts/lexend-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Lexend"; font-weight: 600; font-display: swap; src: url(../fonts/lexend-600-latin.woff2) format("woff2"); }
@font-face { font-family: "Castoro"; font-weight: 400; font-display: swap; src: url(../fonts/castoro-400-latin.woff2) format("woff2"); }

/* ==========================================================================
   Betreuungs-Kraft — Design-Tokens
   ========================================================================== */
:root {
  --petrol: #1e4e5f;
  --petrol-dark: #153a47;
  --petrol-soft: #e8f0f2;
  --orange: #e09736;
  --orange-dark: #c8822a;
  --sand: #faf7f2;
  --white: #fff;

  --text: #2e3a3f;
  --muted: #5f6d72;
  --line: #dde6e8;

  --font-serif: "Castoro", Georgia, serif;
  --font-sans: "Lexend", system-ui, sans-serif;

  --container: 1120px;
  --radius: 14px;
  --shadow: 0 6px 28px rgba(21, 58, 71, .08);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--petrol); }
strong { font-weight: 500; }
/* Hervorgehobene Begriffe in Fließtexten */
.section-head p strong, .card p strong, .steps p strong, .note strong { font-weight: 600; color: var(--petrol-dark); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--petrol-dark);
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange-dark);
  margin-bottom: .75rem;
}

.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-primary { background: var(--orange); color: var(--petrol-dark); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); }
.btn-ghost { border: 2px solid var(--petrol); color: var(--petrol); }
.btn-ghost:hover { background: var(--petrol); color: var(--white); }

/* ---------- Kopfleiste: Logo + Kontaktdaten (scrollt weg) ---------- */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.topbar-info { display: flex; list-style: none; margin: 0; padding: 0; }
.topbar .brand, .topbar-info li { white-space: nowrap; }
.topbar-info li { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-right: 1px dashed #c9d6d9; }
.topbar-info li:last-child { border-right: 0; padding-right: 0; }
.topbar-info img { width: 26px; height: 26px; flex: none; }
.topbar-info span { display: block; font-weight: 500; color: var(--petrol-dark); font-size: .8rem; line-height: 1.3; }
.topbar-info a, .topbar-info em { font-style: normal; text-decoration: none; color: var(--petrol); font-size: .8rem; line-height: 1.4; }
.topbar-info a:hover { color: var(--orange-dark); }

@media (max-width: 1180px) {
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .topbar-info li:first-child { padding-left: 0; }
}
@media (max-width: 760px) {
  .topbar .container { padding-top: 14px; padding-bottom: 14px; }
  .topbar-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; width: 100%; }
  .topbar-info li { padding: 0; border: 0; gap: 8px; white-space: normal; }
  .topbar-info li:first-child { grid-column: 1 / -1; }
  .topbar-info img { width: 22px; height: 22px; }
  .topbar-info span, .topbar-info a, .topbar-info em { font-size: .76rem; }
  .topbar-info a { overflow-wrap: anywhere; }
}

/* ---------- Navigation (bleibt oben stehen) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; height: 60px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 500; font-size: 1.25rem; color: var(--petrol); }
.brand img { width: 40px; height: 40px; }
.brand b { color: var(--orange-dark); font-weight: 600; }
.brand-text { line-height: 1.15; }
.brand-text small { display: block; margin-top: 3px; font-size: .78rem; font-weight: 400; color: var(--muted); letter-spacing: .01em; }
.topbar .brand img { width: 46px; height: 46px; }
.nav .btn { margin-left: auto; }
.nav { display: flex; gap: 1.6rem; align-items: center; width: 100%; }
.nav a { text-decoration: none; color: var(--text); font-weight: 400; font-size: .95rem; white-space: nowrap; padding: .3rem 0; }
.nav a:hover { color: var(--petrol); }
.nav a.active, .nav a[aria-current="page"] { color: var(--petrol); font-weight: 500; box-shadow: inset 0 -2px 0 var(--orange); }
.nav .btn { color: var(--petrol-dark); padding: .6rem 1.2rem; box-shadow: none; }
/* „Betreuung anfragen“ hervorgehoben in Hellgrün */
.nav a.nav-cta {
  background: #e3f1ea; color: #2f6b55; font-weight: 500;
  border-radius: 999px; padding: .4rem .95rem; box-shadow: none;
}
.nav a.nav-cta:hover { background: #cfe7da; color: #24584a; }
.nav a.nav-cta[aria-current="page"] { background: #cfe7da; box-shadow: inset 0 0 0 1.5px #79a692; }

/* Schmale Bildschirme: Navigation als zweite Zeile zum seitlichen Wischen */
@media (max-width: 1100px) {
  html { scroll-padding-top: 80px; }
  .site-header .container { height: auto; }
  .nav {
    gap: 1.1rem; overflow-x: auto; scrollbar-width: none;
    margin: 0 -20px; padding: 10px 20px; width: calc(100% + 40px);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
            mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav .btn { padding: .35rem 1rem; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--petrol-soft), var(--white)); padding: 80px 0 72px; }
.hero .container { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }
.hero-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; border-top: 5px solid var(--orange);
}
.hero-card h3 { margin-bottom: .8rem; }
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 1.8rem; margin-bottom: .6rem; }
.check li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--petrol-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231e4e5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat;
}

@media (max-width: 860px) {
  .hero { padding: 48px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--sand); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } section { padding: 56px 0; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
/* Icons: Magnific "Super Basic Orbit Color", auf Petrol/Orange umgefärbt */
.card .icon { width: 56px; height: 56px; margin-bottom: 1rem; }
.card p { margin: 0; }

.note {
  background: var(--petrol-soft); border-left: 4px solid var(--petrol);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-top: 32px;
}

/* Ablauf */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--petrol); color: var(--white); font-weight: 500; margin-bottom: 1rem;
}
.steps h3 { font-size: 1.15rem; }
.steps p { margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Über mich */
.about {
  display: grid; grid-template-columns: 280px 1fr; column-gap: 48px; align-items: center;
  grid-template-areas: ". head" "photo points" ". rest";
}
.about-head { grid-area: head; }
.about .portrait { grid-area: photo; }
.about-points { grid-area: points; }
.about-rest { grid-area: rest; }
.portrait {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius); box-shadow: var(--shadow); border-bottom: 5px solid var(--orange);
}
.about-point {
  display: flex; gap: 18px; align-items: center; margin-bottom: 14px;
  background: var(--white); border: 1.5px solid var(--orange); border-radius: var(--radius); padding: 18px 22px;
}
.about-point img { width: 46px; height: 46px; flex: none; }
.about-point p { margin: 0 0 .6em; }
.about-point p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .about-point { gap: 12px; padding: 14px 14px; } .about-point img { width: 34px; height: 34px; } }
.quote {
  margin: 1.4rem 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--orange);
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--petrol-dark);
}
@media (max-width: 760px) { .about { grid-template-columns: 1fr; grid-template-areas: "head" "photo" "points" "rest"; } .portrait { max-width: 260px; margin-bottom: 20px; } }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 500; color: var(--petrol-dark); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--orange-dark);
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 22px 18px; }
.faq details p { margin: 0 0 .7em; }

/* Kontakt */
.contact { background: var(--petrol); color: #e6eef0; }
.contact h2 { color: var(--white); }
.contact a { color: var(--white); }
.contact a.btn-primary { color: var(--petrol-dark); }
.contact a.btn-primary:hover { color: var(--white); }
.contact .grid-2 { align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: 1.1rem; display: flex; gap: 14px; align-items: center; }
.contact-list img { width: 40px; height: 40px; flex: none; }
.contact-list strong { display: block; color: var(--orange); font-weight: 500; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.contact .box { background: rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 28px; }
.placeholder { background: rgba(224, 151, 54, .25); padding: 0 .3em; border-radius: 4px; }

/* Formular */
.form { max-width: 860px; }
.form fieldset {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  margin: 0 0 20px; padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px;
}
.form legend { font-family: var(--font-serif); font-size: 1.25rem; color: var(--petrol-dark); padding: 0 8px; }
.form label, .form .label { display: block; font-weight: 400; font-size: .95rem; }
.form label > input:not([type="checkbox"]), .form label > select, .form label > textarea, .form small { display: block; margin-top: 6px; }
.form .full { grid-column: 1 / -1; }
.form input:not([type="checkbox"]), .form select, .form textarea {
  font: inherit; font-weight: 300; color: var(--text); background: var(--white);
  border: 1px solid #c9d6d9; border-radius: 10px; padding: .7rem .85rem; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.form small { color: var(--muted); font-size: .85rem; }
.form .req { color: var(--orange-dark); }
.form .opt { color: var(--muted); font-size: .85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chips label {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid #c9d6d9; border-radius: 999px; padding: .45rem .9rem; font-size: .92rem;
}
.chips label:has(input:checked) { background: var(--petrol-soft); border-color: var(--petrol); color: var(--petrol-dark); }
.chips input, .consent input { accent-color: var(--petrol); width: 18px; height: 18px; flex: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; font-size: .95rem; }
.consent input { margin-top: 4px; }
.form button { border: 0; font: inherit; font-weight: 500; cursor: pointer; }
.form .hint { color: var(--muted); font-size: .88rem; margin-top: 12px; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 700px) { .form fieldset { grid-template-columns: 1fr; padding: 18px; } }

/* Footer */
.site-footer { background: var(--petrol-dark); color: #a9bec4; font-size: .92rem; padding: 28px 0; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: #d5e2e5; margin-left: 1.2rem; }
.site-footer a:first-child { margin-left: 0; }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal .container { max-width: 780px; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
