/* ================================================================
   PocketPraxis, global.css
   Warm-editorial, menschlich, ruhig. Markenblau + Apricot-Akzent.
   ================================================================ */

/* ── FONTS (lokal, DSGVO) ── */
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-v15-latin-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-v15-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-v15-latin-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Yantramanav'; src: url('../fonts/yantramanav-v3-latin-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Yantramanav'; src: url('../fonts/yantramanav-v3-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Yantramanav'; src: url('../fonts/yantramanav-v3-latin-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Yantramanav'; src: url('../fonts/yantramanav-v3-latin-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ── TOKENS ── */
:root {
  --blue-900: #003a6e;
  --blue-700: #004c8f;   /* Marke */
  --blue-500: #006ac4;   /* Links, medium */
  --blue-100: #e8f1fb;
  --blue-50:  #f3f8fd;

  --apricot:      #f2a25c;  /* warmer Akzent */
  --apricot-dark: #e0863a;
  --apricot-50:   #fdefe0;

  --green: #2e7d54;       /* Trust-Haken */
  --green-50: #e8f3ec;

  --ink: #000;            /* Text immer schwarz */
  --paper: #fffdf9;       /* warmes Weiss */
  --surface: #ffffff;
  --border: #ece5da;      /* warmer 1px-Rahmen */
  --border-cool: #dce6f1;

  --display: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --container: 1180px;
  --pad: 1.5rem;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow-sm: 0 2px 10px rgba(0, 58, 110, 0.06);
  --shadow: 0 16px 40px rgba(0, 58, 110, 0.10);
  --shadow-warm: 0 18px 48px rgba(224, 134, 58, 0.16);
  --dur: 0.28s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-padding-top: 92px; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;   /* 17px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-500); text-decoration-thickness: 1px; text-underline-offset: 2px; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.32rem; line-height: 1.2; }
p { max-width: 62ch; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--blue-700); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; border-radius: 4px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 600; font-size: 1.02rem;
  padding: 0.95rem 1.7rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; line-height: 1; transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-accent { background: var(--apricot); color: #3a2310; box-shadow: var(--shadow-warm); }
.btn-accent:hover { background: var(--apricot-dark); color: #2a1808; transform: translateY(-2px); }
.btn-primary { background: var(--blue-700); color: #fff; }
.btn-primary:hover { background: var(--blue-900); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--blue-700); border-color: var(--border-cool); }
.btn-ghost:hover { border-color: var(--blue-500); transform: translateY(-2px); }
.btn-lg { padding: 1.08rem 2.1rem; font-size: 1.08rem; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 249, 0.86); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--dur), box-shadow var(--dur);
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.logo-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-100); color: var(--blue-700); }
.logo-text { font-family: var(--display); font-weight: 400; font-size: 1.4rem; color: var(--blue-900); letter-spacing: -0.02em; }
.logo-text strong { font-weight: 700; color: var(--blue-700); }
.main-nav { margin-left: auto; }
.nav-list { display: flex; gap: 1.15rem; list-style: none; }
.nav-list a { color: var(--ink); text-decoration: none; font-size: 0.99rem; font-weight: 600; padding: 0.4rem 0; position: relative; white-space: nowrap; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--apricot); transition: right var(--dur) var(--ease); border-radius: 2px; }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { right: 0; }
.nav-toggle { display: none; }
/* Fuenf Menuepunkte brauchen auf schmaleren Bildschirmen etwas weniger
   Abstand, sonst bricht die Kopfzeile um */
@media (min-width: 981px) and (max-width: 1120px) {
  .header-inner { gap: 1rem; }
  .nav-list { gap: 0.9rem; }
  .nav-list a { font-size: 0.92rem; }
}

/* Mobile Nav */
.mobile-nav { position: fixed; inset: 0; z-index: 200; background: var(--blue-900); color: #fff; padding: 5rem 2rem 2rem; overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
/* Menue offen (Muster wie Malermeister-Hinsch): Der Weichzeichner im Kopfbereich macht
   das Menue sonst nur so hoch wie den Kopfbalken, der Rest liegt ohne Hintergrund ueber
   der Seite. Deshalb Kopfbereich ohne Effekt, Seite dahinter gesperrt, Start-Knopf aus. */
body.menu-is-open { overflow: hidden; }
body.menu-is-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
body.menu-is-open .sticky-cta { display: none; }
.mobile-nav__close { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: none; color: #fff; padding: 0.4rem; }
.mobile-nav__links { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-nav__links a { color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.7rem; font-weight: 500; display: block; padding: 0.6rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.mobile-nav__cta { color: var(--apricot) !important; }
.mobile-nav__contact { margin-top: 2rem; line-height: 1.7; color: #d7e4f2; }
.mobile-nav__contact a { color: #fff; }

/* ── SECTION RHYTHM ── */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--body); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--apricot); border-radius: 2px; }
/* Abkuerzungen wie eAU behalten ihre Schreibweise, auch in Grossbuchstaben-Zeilen */
.no-caps { text-transform: none; }
.section-head { max-width: 44rem; margin-bottom: 2.8rem; }
.section-head p { font-size: 1.12rem; margin-top: 0.9rem; }
.section-head--zentriert { text-align: center; margin-inline: auto; }
.section-head--zentriert .eyebrow { justify-content: center; }
section.section--anschluss { padding-top: 0; }
section.section--kompakt { padding-block: clamp(2.5rem, 6vw, 4rem); }
.lead { font-size: 1.18rem; }

/* ── HERO ── */
.hero { position: relative; padding-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -25%; right: -12%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; background: radial-gradient(circle at 50% 50%, var(--apricot-50), transparent 62%); z-index: -1; }
.hero::after { content: ""; position: absolute; bottom: -30%; left: -18%; width: 55vw; height: 55vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle at 50% 50%, var(--blue-50), transparent 64%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
/* Etwas ruhiger als die uebrigen Ueberschriften, damit die Hero-Zeilen nicht
   mitten im Satz umbrechen. Gilt fuer alle Seiten, damit sie gleich gross sind */
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.5rem); }
.hero h1 .accent { color: var(--blue-700); }
.hero h1 .hand { color: var(--apricot-dark); white-space: nowrap; }
.hero-sub { font-size: 1.18rem; margin-top: 1.3rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.1rem 1.5rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--border); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 600; }
.hero-badge svg { width: 1.25rem; height: 1.25rem; color: var(--green); flex-shrink: 0; }

.hero-figure { position: relative; }
.hero-figure img { width: 100%; border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 3 / 2.6; }
.hero-figure picture { display: block; }
/* KI-Kennzeichen sitzt unten rechts im Bild: beim Zuschneiden die untere Kante halten */
.hero-figure img.is-ki-bild { object-position: 50% 100%; }
.doc-card { display: flex; align-items: center; gap: 0.8rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1.1rem; box-shadow: var(--shadow-sm); margin-top: 0.9rem; }
.doc-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; aspect-ratio: 1; box-shadow: none; }
.doc-card__name { font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.doc-card__role { font-size: 0.85rem; }
.doc-card__role .ph { color: #b07a2e; }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--blue-900); color: #fff; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-item { display: flex; align-items: flex-start; gap: 0.7rem; }
.trust-item svg { width: 1.6rem; height: 1.6rem; color: var(--apricot); flex-shrink: 0; }
.trust-item strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; }
.trust-item span { font-size: 0.9rem; color: #cdddef; }
.trust-strip a { color: #fff; }

/* ── LEISTUNGEN ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-700); margin-bottom: 1.1rem; }
.card__icon svg { width: 1.6rem; height: 1.6rem; }
.card.is-warm .card__icon { background: var(--apricot-50); color: var(--apricot-dark); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 1rem; flex-grow: 1; }
.card__link { margin-top: 1.1rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.card__link svg { width: 1rem; transition: transform var(--dur) var(--ease); }
.card__link:hover svg { transform: translateX(4px); }

/* ── ABLAUF ── */
.ablauf { background: linear-gradient(180deg, var(--blue-50), var(--paper)); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: step; }
.step { position: relative; padding: 2.2rem 1.6rem 1.6rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step__num { counter-increment: step; position: absolute; top: -22px; left: 1.6rem; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--apricot); color: #3a2310; font-family: var(--display); font-weight: 700; font-size: 1.35rem; box-shadow: var(--shadow-warm); }
.step__num::before { content: counter(step); }
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 1rem; }

/* ── PRAXIS / ARZT ── */
.praxis-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.praxis-figure { position: relative; }
.praxis-figure picture { display: block; }
.praxis-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.praxis-figure figcaption { font-size: 0.85rem; margin-top: 0.6rem; }
.praxis-figure figcaption .ph { color: #b07a2e; }
.praxis-list { list-style: none; margin-top: 1.4rem; display: flex; flex-direction: column; gap: 0.7rem; }
.praxis-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.praxis-ort { display: flex; align-items: center; gap: 1.1rem; margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.praxis-ort picture { flex-shrink: 0; }
.praxis-ort img { display: block; width: 116px; height: 116px; margin: 3px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, var(--shadow-sm); }
.praxis-ort p { margin: 0; line-height: 1.5; }
.praxis-list svg { width: 1.3rem; height: 1.3rem; color: var(--green); flex-shrink: 0; margin-top: 0.15rem; }

/* ── CALLOUT (Arbeitgeber-Anerkennung) ── */
.callout { background: var(--green-50); border: 1px solid #cbe4d5; border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; align-items: start; }
.callout__icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--green); flex-shrink: 0; box-shadow: var(--shadow-sm); }
.callout__icon svg { width: 1.7rem; height: 1.7rem; }
.callout h2 { font-size: 1.32rem; line-height: 1.2; margin-bottom: 0.5rem; }
.callout--blau { background: var(--blue-50); border-color: var(--border-cool); }
.callout--blau .callout__icon { color: var(--blue-700); }
.callout .sig { margin-top: 0.9rem; font-style: italic; }

/* ── APP-ANKUENDIGUNG ── */
.app { background: var(--blue-900); color: #fff; overflow: hidden; position: relative; }
.app-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.app h2 { color: #fff; }
.app .eyebrow { color: var(--apricot); }
.app p { color: #d9e6f4; }
.app .pill { display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.88rem; font-weight: 600; margin-bottom: 1.2rem; }
.app .pill svg { width: 1.05rem; height: 1.05rem; flex-shrink: 0; }
.app-figure img { width: 100%; max-width: 320px; margin-inline: auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }

/* ── FAQ ── */
.faq-wrap { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font-family: var(--display); font-weight: 500; font-size: 1.18rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 1.4rem; height: 1.4rem; flex-shrink: 0; color: var(--blue-500); transition: transform var(--dur) var(--ease); }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item__body { padding-bottom: 1.3rem; }
.faq-item__body p { font-size: 1rem; }
.faq-item__body ul { margin: 0.5rem 0 0 1.1rem; }

/* ── STARTEN / FINAL CTA ── */
.starten { background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); color: #fff; border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 4rem); text-align: center; }
.starten h2 { color: #fff; }
.starten p { color: #d9e6f4; margin-inline: auto; margin-top: 0.8rem; font-size: 1.12rem; }
.starten-choice { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }
.starten-choice .btn { min-width: 230px; justify-content: center; }
.starten .note { font-size: 0.85rem; color: #aac4de; margin-top: 1.4rem; }

/* ── FOOTER ── */
.site-footer { background: #0c2438; color: #c9d7e6; padding-top: 3.5rem; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { color: #fff; font-size: 1.5rem; display: inline-block; margin-bottom: 1rem; }
.footer-logo strong { color: var(--apricot); }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin-bottom: 0.9rem; }
.site-footer a { color: #c9d7e6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-phone { font-size: 1.15rem; font-weight: 600; color: #fff !important; }
.footer-hours { margin-top: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; border-top: 1px solid rgba(255,255,255,0.1); padding-block: 1.3rem 2rem; font-size: 0.85rem; }

/* ── STICKY MOBILE CTA ── */
.sticky-cta { display: none; }

/* ── ANIMATION ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; animation: fadeUp 0.7s var(--ease) forwards; }
.reveal[data-d="1"] { animation-delay: 0.08s; }
.reveal[data-d="2"] { animation-delay: 0.16s; }
.reveal[data-d="3"] { animation-delay: 0.24s; }
.reveal[data-d="4"] { animation-delay: 0.32s; }

/* ── RESPONSIVE ── */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 480px; }
  .praxis-grid, .app-grid, .callout { grid-template-columns: 1fr; }
  .callout { gap: 1rem; }
  .cards, .steps { grid-template-columns: 1fr 1fr; }
  .trust-strip .container { grid-template-columns: 1fr 1fr; }
}
/* Ab hier passen fuenf Menuepunkte nicht mehr nebeneinander,
   deshalb uebernimmt das Klappmenue schon vor der Handy-Breite */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; margin-left: auto; width: 46px; height: 46px; background: var(--blue-100); border: none; border-radius: 12px; }
  .nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { display: block; width: 22px; height: 2.5px; background: var(--blue-900); border-radius: 2px; position: relative; }
  .nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-icon::before { top: -7px; } .nav-toggle-icon::after { top: 7px; }
}
@media (max-width: 760px) {
  .cards, .steps, .footer-grid, .trust-strip .container { grid-template-columns: 1fr; }
  .doc-card { position: static; max-width: none; margin-top: 1rem; }
  .hero-figure img { aspect-ratio: 3/2.4; }
  body { padding-bottom: 76px; }
  .sticky-cta { display: flex; position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90; justify-content: center; align-items: center; background: var(--blue-700); color: #fff; border: 2px solid #fff; font-weight: 700; padding: 1rem; border-radius: var(--radius-sm); text-decoration: none; box-shadow: var(--shadow-warm); }
}
@media (max-width: 460px) {
  .hero-cta .btn, .starten-choice .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; animation: none; }
  .btn:hover, .card:hover { transform: none; }
}
