/* mike-hilft.de – Stylesheet
   Ruhig, klar, gut lesbar. Keine Effekte um der Effekte willen. */

@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600.woff2) format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url(../fonts/poppins-700.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(../fonts/source-sans-3-400.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/source-sans-3-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(../fonts/source-sans-3-600.woff2) format("woff2"); }

:root {
  --navy: #163a5f;
  --navy-dark: #0f2a46;
  --teal: #18afc8;          /* Logo-Farbe, nur für Akzente */
  --teal-text: #0b7385;     /* lesbare Variante für Links */
  --ink: #26292e;
  --muted: #5d6168;
  --line: #e3e0d8;
  --paper: #fbfaf7;
  --sand: #f3f0e8;
  --white: #fff;
  --ok: #2f7a4a;
  --warn: #9a5b00;
  --err: #b3261e;
  --radius: 6px;
  --wrap: 1120px;
  --head: "Poppins", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 19px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15em; color: #3c4047; }
.small { font-size: .88em; }

/* ---------- Kopf ---------- */
.topbar { background: var(--navy); color: #dce6f0; font-size: .85rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4em; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: .3em 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current] { border-bottom-color: var(--teal); color: var(--navy); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .when-open { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1.2 var(--head); padding: .85em 1.35em; border-radius: var(--radius);
  border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sand); color: var(--navy); }
.btn-small { padding: .6em 1em; font-size: .92rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #e6edf4; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.eyebrow { font: 600 .82rem/1 var(--head); text-transform: uppercase; letter-spacing: .12em; color: var(--teal-text); margin-bottom: .9rem; display: block; }
.section-navy .eyebrow { color: #8fd8e6; }

/* ---------- Fotos mit KI-Hinweis ---------- */
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.photo img { width: 100%; height: auto; }
.ki-hinweis {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  font: 600 11px/1 var(--body); letter-spacing: .02em; color: #fff;
  background: rgba(15, 25, 35, .72); padding: 5px 8px; border-radius: 3px; pointer-events: none;
}

/* ---------- Start: Hero ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); background: var(--white); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .accent { color: var(--teal-text); }
.hero .lead { max-width: 34em; }
.hero-facts { list-style: none; padding: 0; margin: 1.6rem 0 1.8rem; display: grid; gap: .5rem; }
.hero-facts li { display: flex; gap: .6em; align-items: baseline; }
.hero-facts .ico { color: var(--ok); }
.hero-note { margin-top: 1.1rem; font-size: .95rem; color: var(--muted); }
.hero-note a { font-weight: 600; }

/* ---------- Leistungen ---------- */
.services { display: grid; gap: 0; border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.service .photo { aspect-ratio: 3 / 2; }
.service .photo img { height: 100%; object-fit: cover; }
.service h3 { font-size: 1.35rem; margin-bottom: .35em; }
.service h3 a { color: inherit; text-decoration: none; }
.service h3 a:hover { color: var(--teal-text); }
.service .tasks { columns: 2; column-gap: 2rem; padding: 0; list-style: none; margin: .8rem 0 1rem; }
.service .tasks li { break-inside: avoid; padding-left: 1.1em; position: relative; margin-bottom: .2em; }
.service .tasks li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--teal); border-radius: 50%; }
.more { font-weight: 600; text-decoration: none; display: inline-flex; gap: .35em; align-items: center; }
.more:hover { text-decoration: underline; }
.not-included { font-size: .92rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: .8em; }

/* ---------- Versprechen / fair ---------- */
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 3rem; counter-reset: p; }
.promise > div { padding: 1.3rem 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.promise h3 { display: flex; gap: .7em; align-items: baseline; margin-bottom: .3em; }
.promise h3::before { counter-increment: p; content: counter(p, decimal-leading-zero); font-size: .85rem; color: #8fd8e6; font-weight: 600; }
.promise p { margin: 0; color: #c9d6e3; }

/* ---------- Preise ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.price-board { background: var(--white); border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.8rem 2rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px dashed var(--line); }
.price-row:last-of-type { border-bottom: 0; }
.price-row strong { font: 700 1.6rem/1 var(--head); color: var(--navy); white-space: nowrap; }
.price-row span { font-weight: 600; }
.price-row small { display: block; color: var(--muted); font-weight: 400; font-size: .9rem; }
.price-foot { margin: 1rem 0 0; padding-top: 1rem; border-top: 2px solid var(--navy); font-size: .95rem; color: var(--muted); }
.example { background: var(--sand); border-radius: var(--radius); padding: 1.2rem 1.4rem; margin-top: 1.4rem; }
.example h3 { font-size: 1rem; margin-bottom: .5em; }
.example table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.example td { padding: .3em 0; }
.example td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }

/* ---------- Über mich ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.quote-mark { font: 700 1.25rem/1.45 var(--head); color: var(--navy); border-left: 4px solid var(--teal); padding-left: 1rem; margin: 1.4rem 0; }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 0; }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.review figcaption { font-size: .92rem; color: var(--muted); }
.stars { color: #e3a008; display: flex; gap: 2px; margin-bottom: .6rem; }
.stars .ico { fill: currentColor; width: 18px; height: 18px; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: s; }
.steps li { counter-increment: s; padding-top: 1rem; border-top: 3px solid var(--navy); }
.steps li::before { content: "Schritt " counter(s); display: block; font: 600 .8rem/1 var(--head); color: var(--teal-text); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .6rem; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font: 600 1.05rem/1.4 var(--head); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: .9rem; font-size: 1.5rem; font-weight: 400; color: var(--teal-text); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.2rem; color: #3c4047; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.big-phone { display: inline-flex; align-items: center; gap: .4em; font: 700 clamp(1.7rem, 4vw, 2.3rem)/1.1 var(--head); color: var(--navy); text-decoration: none; margin: .4rem 0 1.4rem; }
.big-phone:hover { color: var(--teal-text); }
.contact-list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.contact-list a { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.form { display: grid; gap: 1rem; }
.form h3 { margin: 0; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=date], .form input[type=time], .form input[type=password], .form input[type=number], .form select, .form textarea {
  font: 400 1.02rem/1.4 var(--body); color: var(--ink); width: 100%;
  padding: .7em .8em; border: 1px solid #c9c5bb; border-radius: var(--radius); background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--navy); outline: 2px solid rgba(24, 175, 200, .35); outline-offset: 0; }
.form .check { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.form .check input { margin-top: .3em; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.notice { border-radius: var(--radius); padding: 1rem 1.2rem; margin: 0 0 1.2rem; border: 1px solid; }
.notice.ok { background: #eef7f0; border-color: #b9dcc4; color: #1f5533; }
.notice.err { background: #fbeeed; border-color: #efc3bf; color: #7d1a14; }
.notice.info { background: #eef6f9; border-color: #bfdde6; color: #134a5a; }

/* ---------- Unterseiten ---------- */
.page-hero { background: var(--white); border-bottom: 1px solid var(--line); padding: clamp(32px, 5vw, 60px) 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.task-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.task-groups h3 { padding-bottom: .4rem; border-bottom: 2px solid var(--teal); display: inline-block; }
.task-groups ul { list-style: none; padding: 0; }
.task-groups li { padding: .35rem 0; border-bottom: 1px solid var(--line); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.legal-frame { width: 100%; min-height: 70vh; border: 0; background: #fff; }
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; font-size: 1.5rem; }
.cta-band p { margin: 0; color: #c9d6e3; }

/* ---------- Fuß ---------- */
.site-footer { background: #10263d; color: #b9c6d3; padding: 56px 0 24px; font-size: .95rem; margin-top: 0; }
.site-footer a { color: #e6edf4; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { height: 44px; width: auto; background: #fff; padding: 8px 12px; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: #8fd8e6; margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .muted { color: #b9c6d3; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .85rem; }

.mobile-bar { display: none; }

/* ---------- Buchung ---------- */
.booking { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.booking-steps { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; flex-wrap: wrap; }
.booking-steps li { font: 600 .85rem/1 var(--head); padding: .55em .9em; border-radius: 99px; background: var(--sand); color: var(--muted); }
.booking-steps li.is-active { background: var(--navy); color: #fff; }
.booking-steps li.is-done { background: #dcebe1; color: #1f5533; }
.step-panel[hidden] { display: none; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.choice span { display: block; border: 1.5px solid #cfcabf; border-radius: var(--radius); padding: .9rem 1rem; background: #fff; cursor: pointer; height: 100%; }
.choice strong { display: block; font-family: var(--head); font-weight: 600; color: var(--navy); }
.choice small { color: var(--muted); font-size: .9rem; }
.choice input:checked + span { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f4f8fb; }
.choice input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.duration-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.duration-row .choice span { padding: .6rem .9rem; }

.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; max-width: 560px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.cal-head h3 { margin: 0; font-size: 1.1rem; }
.cal-nav { background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 40px; height: 40px; cursor: pointer; font-size: 1.2rem; color: var(--navy); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-dow { font: 600 .78rem/2 var(--head); color: var(--muted); }
.cal-day { height: 48px; border: 0; border-radius: var(--radius); background: transparent; font: 600 1rem/1 var(--body); color: #b5b1a8; cursor: default; }
.cal-day.is-free { background: #eaf4f7; color: var(--navy); cursor: pointer; }
.cal-day.is-free:hover { background: #d4eaf0; }
.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--navy); color: #fff; }
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--teal); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .5rem; margin-top: 1rem; }
.slot { border: 1.5px solid #cfcabf; background: #fff; border-radius: var(--radius); padding: .7rem 0; font: 600 1rem/1 var(--head); color: var(--navy); cursor: pointer; }
.slot:hover { border-color: var(--navy); }
.slot.is-selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.booking-aside { position: sticky; top: 100px; }
.summary dl { margin: 0; display: grid; gap: .6rem; }
.summary dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; color: var(--navy); }
.loading { color: var(--muted); font-style: italic; }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 20px 1.2rem; display: none; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; }
  .nav-toggle[aria-expanded="true"] .when-open { display: inline; }
  .nav-toggle[aria-expanded="true"] .when-closed { display: none; }
  .hero-grid, .page-hero-grid, .about-grid, .price-grid, .contact-grid, .booking { grid-template-columns: 1fr; }
  .hero-grid .photo, .page-hero-grid .photo { order: -1; }
  .booking-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 18px; padding-bottom: 64px; }
  .topbar span { display: none; }
  .topbar-in { justify-content: center; }
  .brand img { height: 38px; }
  .service { grid-template-columns: 1fr; gap: 1rem; }
  .service .tasks { columns: 1; }
  .promise, .reviews, .steps, .task-groups, .choice-grid, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0, 0, 0, .06);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 9px; text-decoration: none; color: var(--navy); font: 600 .78rem/1.2 var(--head); }
  .mobile-bar a .ico { width: 22px; height: 22px; }
  .mobile-bar a.is-primary { background: var(--navy); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
@media print { .site-header, .topbar, .mobile-bar, .site-footer, .contact form { display: none; } }
