/* AHA! Nachhilfe Saarland – Design
   Markenfarben aus dem Logo (Pixelanalyse):
   Orange #F7A600 · Dunkelorange (Schatten im "A") #EE7500 · Blau #0094D7 · Weiß
   Abgeleitet für gut lesbaren Text: Tinte #0B3A55, Linkblau #0077B6 */

@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --orange: #F7A600;
  --orange-dark: #EE7500;
  --orange-soft: #FFF3D9;
  --blue: #0094D7;
  --blue-link: #0077B6;
  --blue-soft: #E6F4FB;
  --ink: #0B3A55;
  --text: #22313F;
  --muted: #4A5B6B;
  --line: #DCE6EE;
  --white: #fff;
  --ok: #1f7a4d;
  --err: #b42318;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(11, 58, 85, .08);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 17.5px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-link); }
h1, h2, h3 { color: var(--ink); line-height: 1.18; margin: 0 0 .55em; font-weight: 900; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.5px; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.18rem; font-weight: 800; }
p { margin: 0 0 1em; }
.hl { color: var(--blue); }
.hl-o { color: var(--orange-dark); }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding: 6px 0; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 800; font-size: .98rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--blue); }

/* Buttons */
.btn { display: inline-block; background: var(--orange); color: var(--ink) !important; text-decoration: none; font-weight: 900; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer; font-size: 1.02rem; font-family: inherit; box-shadow: 0 4px 0 var(--orange-dark); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-dark); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-dark); }
.btn-small { padding: 9px 18px; font-size: .93rem; box-shadow: 0 3px 0 var(--orange-dark); }
.btn-ghost { background: #fff; color: var(--ink) !important; box-shadow: inset 0 0 0 2.5px var(--blue); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2.5px var(--blue); background: var(--blue-soft); }

/* Hero */
.hero { position: relative; background: linear-gradient(180deg, var(--blue-soft) 0%, #F4FAFD 100%); padding: 56px 0 90px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before { width: 340px; height: 340px; background: var(--orange-soft); top: -120px; right: -90px; }
.hero::after { width: 180px; height: 180px; background: rgba(0,148,215,.10); bottom: 40px; left: -60px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero .lead { font-size: 1.17rem; max-width: 600px; color: var(--muted); }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; padding: 0; list-style: none; }
.hero .badges li { background: #fff; border: 2px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: .93rem; font-weight: 800; color: var(--ink); }
.hero .badges li:first-child { border-color: var(--orange); background: var(--orange-soft); }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-img img { width: 100%; max-width: 520px; margin-inline: auto; }

/* Wellen-Trenner */
.wave { display: block; width: 100%; height: 60px; margin-top: -59px; position: relative; z-index: 2; }

/* Sections */
.section { padding: 70px 0; position: relative; }
.section.alt { background: var(--orange-soft); }
.section.blue { background: var(--blue-soft); }
.section-head { max-width: 720px; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.eyebrow { display: inline-block; font-weight: 900; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: 8px; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: center; }
.card { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.icon-badge { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 14px; }
.icon-badge svg { width: 40px; height: 40px; }
.ib-blue { background: var(--blue-soft); } .ib-orange { background: var(--orange-soft); }

/* Honorar */
.pay { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pay .card { text-align: center; transition: transform .15s; }
.pay .card:hover { transform: translateY(-4px); }
.pay .amount { font-size: 2.6rem; font-weight: 900; color: var(--ink); line-height: 1.1; margin: 4px 0; }
.pay .bonus { border: 2.5px dashed var(--orange); background: #FFFBF2; box-shadow: none; }
.note { font-size: .95rem; color: var(--muted); }
.pill-note { display: inline-flex; gap: 10px; align-items: center; background: #fff; border-radius: 999px; padding: 10px 18px; margin-top: 22px; border: 2px solid var(--line); font-weight: 700; color: var(--ink); font-size: .97rem; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 36px; margin-bottom: 13px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B3A55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.checklist.blue li::before { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.illu { max-width: 440px; width: 100%; margin-inline: auto; }

/* Fächer-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { background: #fff; border-radius: 999px; padding: 10px 20px; font-weight: 900; color: var(--ink); border: 2px solid var(--line); }
.chip.hot { background: var(--orange); border-color: var(--orange); }

/* Schritte */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 24px; border: 2px solid var(--line); position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 900; font-size: 1.25rem; margin-bottom: 12px; }
.steps li:nth-child(even)::before { background: var(--orange); color: var(--ink); }

/* FAQ */
details { background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 15px 20px; margin-bottom: 10px; }
details[open] { border-color: var(--blue); }
summary { cursor: pointer; font-weight: 800; color: var(--ink); }
details p { margin: 10px 0 0; }

/* Formular */
.form { background: #fff; border-radius: var(--radius); padding: clamp(20px, 4vw, 38px); box-shadow: var(--shadow); border: 2px solid var(--line); }
.form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.form legend { font-weight: 900; color: var(--ink); font-size: 1.15rem; margin-bottom: 12px; }
.row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 5px; font-size: .96rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=date], .field input[type=number], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--text);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,148,215,.15); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { display: inline-flex; align-items: center; gap: 7px; border: 2px solid var(--line); border-radius: 999px; padding: 7px 15px; cursor: pointer; font-weight: 700; font-size: .95rem; background: #fff; }
.opts input { accent-color: var(--orange-dark); }
.opts label:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); }
.hint { font-size: .87rem; color: var(--muted); margin-top: 4px; }
.req { color: var(--err); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.consent input { margin-top: 6px; accent-color: var(--orange-dark); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 22px; }
.alert-err { background: #fdecea; color: var(--err); border: 2px solid #f5c2bd; }
.alert-ok { background: #e7f6ee; color: var(--ok); border: 2px solid #b8e2cb; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }

/* Footer */
.site-footer { background: var(--ink); color: #D3E2EC; padding: 50px 0 22px; font-size: .96rem; }
.site-footer a { color: #fff; }
.site-footer strong { color: var(--orange); }
.footer-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 30px; padding-top: 16px; font-size: .86rem; opacity: .8; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-img { order: -1; }
  .hero-img img { max-width: 360px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .logo img { height: 46px; }
  .nav { gap: 12px; }
  .nav .hide-m { display: none; }
  .nav a:not(.btn) { font-size: .9rem; }
  .hero { padding: 30px 0 80px; }
  .section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Elternbereich */
.center { text-align: center; }
.card.center .icon-badge { margin-inline: auto; }
.tag { display: inline-block; background: var(--orange); color: var(--ink); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; padding: 3px 12px; border-radius: 999px; margin-bottom: 8px; }
.flex-tarife { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 24px; color: var(--ink); }
.but-box .icon-badge { flex: none; }
.but-box { display: flex; gap: 18px; align-items: center; background: #fff; border: 2px solid var(--orange); border-radius: var(--radius); padding: 20px 24px; margin: 28px auto 0; max-width: 860px; }
.orte { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.ort { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 12px 16px; text-decoration: none; color: var(--ink); font-weight: 800; transition: border-color .15s, transform .15s; }
.ort:hover { border-color: var(--orange); transform: translateY(-2px); }
.ort svg { width: 24px; height: 24px; flex: none; }
a.chip { text-decoration: none; }
a.chip:hover { box-shadow: 0 3px 0 var(--orange-dark); }
.illu.photo { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover; }
.footer-links a { display: inline-block; margin: 0 10px 6px 0; }
@media (max-width: 640px) { .but-box { flex-direction: column; text-align: center; } }

/* Probestunde buchen */
.hero-slim { padding: 44px 0 80px; }
.hero-slim .lead { max-width: 640px; }
.art-wahl { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.art-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; border: 2.5px solid var(--line); border-radius: var(--radius); padding: 22px 18px 18px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.art-card input { position: absolute; opacity: 0; }
.art-card .tag { position: absolute; top: -12px; }
.art-card .art-icon svg { width: 52px; height: 52px; }
.art-card strong { font-size: 1.15rem; color: var(--ink); }
.art-preis { font-size: 2.1rem; font-weight: 900; color: var(--ink); line-height: 1.1; }
.art-card:has(input:checked) { border-color: var(--orange); background: var(--orange-soft); box-shadow: 0 0 0 4px rgba(247,166,0,.18); }
.art-card:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.pay-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--blue-soft); border-radius: 16px; padding: 16px 20px; }
.sum-preis { font-size: 1.8rem; font-weight: 900; color: var(--ink); }

/* Online-Fokus Startseite */
.probe-wahl { display: grid; gap: 18px; grid-template-columns: 1.25fr 1fr; align-items: stretch; }
.probe-card { background: #fff; border: 2.5px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow); }
.probe-card.main { border-color: var(--orange); background: linear-gradient(180deg, #FFFBF2, #fff); }
.probe-card .art-preis { font-size: 2.6rem; }
.probe-card .btn { align-self: flex-start; margin-top: auto; }
.probe-card ul { margin: 4px 0 14px; }
.hero-price { display: inline-flex; align-items: baseline; gap: 10px; background: #fff; border: 2.5px solid var(--orange); border-radius: 18px; padding: 8px 18px; margin: 4px 0 22px; }
.hero-price b { font-size: 2rem; font-weight: 900; color: var(--ink); }
.hero-price span { color: var(--muted); font-weight: 700; }
.small-link { font-weight: 800; color: var(--ink); }
details.tarife { max-width: 900px; margin: 0 auto; background: #fff; }
details.tarife summary { font-size: 1.05rem; }
@media (max-width: 760px) { .probe-wahl { grid-template-columns: 1fr; } }
.inhaber-foto { position: relative; max-width: 420px; margin-inline: auto; }
.inhaber-foto::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--orange); border-radius: 28px; z-index: 0; }
.inhaber-foto img { position: relative; z-index: 1; }
.foto-badge { position: absolute; z-index: 2; left: -12px; bottom: 26px; background: #fff; border-radius: 14px; padding: 10px 16px; font-weight: 900; color: var(--ink); box-shadow: var(--shadow); line-height: 1.25; }
.foto-badge small { font-weight: 700; color: var(--muted); }

.tarif-gruppe { margin: 22px 0 12px; font-size: 1.1rem; }
