/* =========================================================
   ORGALINO – STYLESHEET
   Ruhiges, modernes Redesign.
   Navy + warmes Orange, viel Weißraum, reduzierte Effekte.
   Diese Datei ist bewusst mit Kommentaren versehen,
   damit du sie leicht selbst anpassen kannst.
   ========================================================= */

/* ---------- 1. Design-Tokens ---------- */
:root {
    --navy: #16283C;
    --navy-light: #22374F;
    --navy-lighter: #2E4763;
    --navy-deep: #0F1D2C;
    --orange: #FE9D03;
    --orange-dark: #DB8600;
    --orange-soft: #FFF2DD;
    --bg-light: #F5F3EF;
    --bg-white: #FFFFFF;
    --bg-page: #FBFAF8;
    --text: #1C2430;
    --text-muted: #626A78;
    --border: #E7E3DB;
    --radius-s: 10px;
    --radius-m: 16px;
    --radius-l: 26px;
    --shadow-s: 0 2px 10px rgba(22, 40, 60, 0.05);
    --shadow-m: 0 16px 40px rgba(22, 40, 60, 0.09);
    --font-head: 'Manrope', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1180px;
    --header-h: 84px;
}

/* ---------- 2. Reset & Basics ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-page);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.nav-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.22;
    margin: 0 0 .6em;
    font-weight: 800;
    letter-spacing: -.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.15rem); }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-muted); }
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--orange);
    color: #fff;
    padding: 10px 16px;
    z-index: 1200;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* eyebrow / kicker label, used above section headings */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--orange-dark);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--orange);
    display: inline-block;
}

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- 3. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .96rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 10px 24px rgba(254, 157, 3, .28);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-on-dark {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.35);
}
.btn-on-dark:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-nav { margin-left: auto; }
.btn-block { width: 100%; }

/* ---------- 4. Header / Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 500;
    background: rgba(251, 250, 248, .96);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-s); }
.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 16px;
    padding-bottom: 16px;
}
.logo-img { height: 40px; width: auto; }
.main-nav ul { display: flex; gap: 34px; }
.main-nav a {
    position: relative;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .95rem;
    color: var(--navy);
    padding: 8px 2px;
    transition: color .15s ease;
}
.main-nav a::after {
    content: '';
    position: absolute;
    left: 2px; right: 2px; bottom: 2px;
    height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}
.main-nav a:hover { color: var(--orange-dark); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--orange-dark); }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
}
.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

/* ---------- 5. Hero ---------- */
.hero {
    position: relative;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 65%, var(--navy-lighter) 100%);
    color: #fff;
    overflow: hidden;
}
.hero::after {
    /* dezentes, ruhiges Rautenmuster – angelehnt an das neue Logo */
    content: '';
    position: absolute;
    right: -140px;
    top: -140px;
    width: 420px;
    height: 420px;
    border-radius: 34% 34% 0 34%;
    transform: rotate(45deg);
    border: 1px solid rgba(254, 157, 3, .18);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: center;
    padding: 80px 24px 86px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(254, 157, 3, .14);
    border: 1px solid rgba(254, 157, 3, .35);
    color: var(--orange);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--orange); }
.hero-lead { color: rgba(255,255,255,.76); font-size: 1.08rem; max-width: 50ch; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-media {
    position: relative;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-m);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* trust bar directly under hero */
.trust-bar { background: var(--navy-light); border-top: 1px solid rgba(255,255,255,.08); }
.trust-bar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.trust-bar li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .92rem;
    flex: 1 1 200px;
}
.trust-bar .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

/* ---------- 6. Generic sections ---------- */
.section { padding: 92px 0; }
.section.bg-light { background: var(--bg-light); }
.section.bg-navy { background: var(--navy); color: #fff; }
.section.bg-navy h2, .section.bg-navy h3 { color: #fff; }
.section.bg-navy p { color: rgba(255,255,255,.72); }
.section-tight { padding: 56px 0; }

/* pain points / Kommt Ihnen das bekannt vor */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pain-item {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 18px 20px;
    transition: border-color .15s ease;
}
.pain-item:hover { border-color: #D9D2C4; }
.pain-item .mark {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--orange-soft);
    color: var(--orange-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-family: var(--font-head);
    font-size: .9rem;
}
.pain-item p { margin: 0; color: var(--text); font-size: .96rem; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* checklist (Ziel-Liste) */
.check-list li {
    display: flex; gap: 12px; align-items: flex-start;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--text);
}
.check-list .icon {
    flex-shrink: 0;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .72rem;
    margin-top: 2px;
}

/* services / leistungen cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 30px 26px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); border-color: transparent; }
.icon-circle {
    width: 50px; height: 50px;
    border-radius: 14px 14px 14px 4px;
    background: linear-gradient(150deg, var(--orange), var(--orange-dark));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
    color: #fff;
}
.icon-circle svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin: 0; font-size: .95rem; }

/* Zielgruppe tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-list li {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 600;
    font-family: var(--font-head);
    font-size: .9rem;
    color: var(--navy);
}

/* process / Ablauf steps */
.step-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step-item { position: relative; padding-top: 8px; }
.step-item .step-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 2.1rem;
    color: var(--orange);
    opacity: .9;
    display: block;
    margin-bottom: 10px;
}
.step-item h3 { margin-bottom: 6px; }
.step-item p { font-size: .95rem; margin: 0; }
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -14px;
    width: 24px;
    height: 1px;
    background: var(--border);
    display: none;
}
@media (min-width: 900px) {
    .step-item:not(:last-child)::after { display: block; }
}

/* Beispiele / Praxis cards */
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.example-card {
    background: var(--bg-white);
    border-radius: var(--radius-m);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: box-shadow .18s ease;
}
.example-card:hover { box-shadow: var(--shadow-s); }
.example-card .example-tag {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--orange-dark);
    background: var(--orange-soft);
    padding: 5px 12px;
    border-radius: 999px;
    margin: 20px 0 12px 20px;
}
.example-card h3 { padding: 0 20px; margin-bottom: 6px; }
.example-card p { padding: 0 20px 22px; margin: 0; font-size: .95rem; }

/* Über uns / profile */
.profile-block { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: center; }
.profile-photo {
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow: var(--shadow-m);
    aspect-ratio: 4/5;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.signature { font-family: 'Manrope', sans-serif; font-style: italic; color: var(--orange-dark); margin-top: 20px; font-weight: 700; }

/* FAQ / Accordion */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4px;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--navy);
    font-size: 1.03rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--orange);
    font-weight: 400;
    transition: transform .2s ease;
    margin-left: 20px;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 22px; margin: 0; }

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--navy), var(--navy-lighter));
    color: #fff;
    border-radius: var(--radius-l);
    padding: 54px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.72); margin: 0; }

/* checklist inline (kostenlos/unverbindlich) */
.pill-list { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.pill-list li {
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .86rem;
    padding: 8px 16px;
    border-radius: 999px;
}

/* ---------- 7. Forms ---------- */
.form-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 40px;
    box-shadow: var(--shadow-m);
}
.form-row { margin-bottom: 20px; }
.form-row label {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .88rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.form-row .required { color: var(--orange-dark); }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    font-family: var(--font-body);
    font-size: .97rem;
    color: var(--text);
    background: var(--bg-white);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(254, 157, 3, .16);
    outline: none;
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .86rem; color: var(--text-muted); }
.form-check input { width: auto; margin-top: 3px; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

.alert {
    border-radius: var(--radius-s);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-weight: 600;
    font-size: .94rem;
}
.alert-success { background: #E7F6EC; color: #1E7B3C; border: 1px solid #BEE7CB; }
.alert-error { background: #FCEBEA; color: #B3261E; border: 1px solid #F5C6C3; }

/* contact info list on kontakt page */
.contact-info-list { display: flex; flex-direction: column; gap: 22px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item .icon-circle { margin-bottom: 0; flex-shrink: 0; width: 46px; height: 46px; border-radius: 13px 13px 13px 4px; }
.contact-info-item .icon-circle svg { width: 21px; height: 21px; }
.contact-info-item h3 { margin-bottom: 2px; font-size: 1rem; }
.contact-info-item p { margin: 0; font-size: .95rem; }
.contact-info-item a { color: var(--navy); font-weight: 600; }
.contact-info-item a:hover { color: var(--orange-dark); }

/* ---------- 8. Legal pages (Impressum/Datenschutz) ---------- */
.legal-page { padding: 70px 0 100px; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { margin-bottom: 10px; }
.legal-page .updated { color: var(--text-muted); font-size: .9rem; margin-bottom: 40px; }
.legal-page h2 {
    font-size: 1.28rem;
    margin-top: 44px;
    padding-top: 6px;
    border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { border-top: none; margin-top: 0; }
.legal-page ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-page ul li { margin-bottom: 6px; color: var(--text-muted); }
.legal-page a { color: var(--orange-dark); text-decoration: underline; }
.legal-note {
    background: var(--bg-light);
    border-left: 4px solid var(--orange);
    padding: 16px 20px;
    border-radius: 0 var(--radius-s) var(--radius-s) 0;
    font-size: .92rem;
    margin-bottom: 30px;
}

/* ---------- 9. Breadcrumb / page-hero (Unterseiten) ---------- */
.page-hero {
    background: linear-gradient(160deg, var(--navy), var(--navy-light));
    color: #fff;
    padding: 66px 0 72px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    right: -110px; top: -110px;
    width: 300px; height: 300px;
    border-radius: 34% 34% 0 34%;
    transform: rotate(45deg);
    border: 1px solid rgba(254, 157, 3, .2);
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 60ch; margin: 0; }

/* ---------- 10. Footer ---------- */
.site-footer {
    position: relative;
    background: var(--navy-deep);
    color: rgba(255,255,255,.8);
    padding-top: 72px;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(254,157,3,.45), transparent);
}
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-logo { height: 32px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.58); font-size: .92rem; }
.footer-region { color: var(--orange) !important; font-weight: 600; }
.footer-col h3 {
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.68); font-size: .95rem; transition: color .15s ease; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .84rem;
    color: rgba(255,255,255,.5);
}

/* ---------- 11. Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 980px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 50px; }
    .hero-media { order: -1; }
    .two-col { grid-template-columns: 1fr; gap: 34px; }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .step-list { grid-template-columns: repeat(2, 1fr); }
    .example-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-block { grid-template-columns: 1fr; }
    .profile-photo { max-width: 320px; margin: 0 auto; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .section { padding: 72px 0; }
}

/*
 * Mobiles Menü
 * WICHTIG: .site-header darf hier bewusst KEIN backdrop-filter/transform
 * bekommen. Ein filter/backdrop-filter auf einem Vorfahren erzeugt einen
 * neuen "containing block" für position:fixed-Elemente – genau das war
 * die Ursache dafür, dass sich das Menü am Handy nicht sichtbar geöffnet
 * hat (es klappte technisch auf, aber relativ zur Kopfzeile statt zum
 * Bildschirm, und lag dadurch hinter dem restlichen Inhalt).
 *
 * Eigener, höherer Breakpoint (960px statt 760px): Ab ca. 850px reicht der
 * Platz nicht mehr für Logo + 4 Nav-Punkte + Button in einer Zeile, der
 * Button bricht um und die Kopfzeile springt in der Höhe. Das Hamburger-Menü
 * muss also deutlich früher greifen als die restlichen Inhalts-Umbrüche.
 */
@media (max-width: 960px) {
    .header-inner { gap: 16px; }
    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        background: var(--bg-page);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform .22s ease, opacity .22s ease, visibility .22s;
        padding: 30px 24px;
        z-index: 490;
        overflow-y: auto;
    }
    .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
    .main-nav ul { flex-direction: column; gap: 2px; }
    .main-nav a { display: block; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
    .main-nav a::after { display: none; }
    .btn-nav { display: none; }
    .nav-toggle { display: flex; }
    .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.open span:nth-child(2) { opacity: 0; }
    .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 760px) {
    .pain-grid { grid-template-columns: 1fr; }
    .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
    .step-list { grid-template-columns: 1fr; }
    .example-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .cta-band { padding: 34px 26px; flex-direction: column; align-items: flex-start; }
    .form-card { padding: 26px; }
    .trust-bar ul { justify-content: flex-start; }
}
