/* ============================================
   BauDenkPlan — Hauptwebsite Relaunch 2026
   Design-System: Manrope, Dunkelblau/Gr&uuml;n-Akzent
   Mobile-First Responsive
   ============================================ */

:root {
    --brand: #1b64c6;
    --brand-dark: #0f4a9a;
    --brand-light: #eef4fc;
    --cta: #b8860b;
    --cta-dark: #9a7009;
    --cta-light: #fdf6e3;
    --accent: #5a6b1b;
    --accent-light: #f5f7ec;
    --dark: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --muted: #999;
    --bg: #faf9f5;
    --white: #ffffff;
    --border: #e8e8e8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

/* --- Layout --- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 4rem 0; }
@media (min-width: 768px) { section { padding: 5.5rem 0; } }

.section-headline {
    font-size: 1.5rem; font-weight: 800; line-height: 1.25;
    color: var(--dark); text-align: center; margin-bottom: 0.75rem;
}
.section-headline--left { text-align: left; }
@media (min-width: 768px) { .section-headline { font-size: 2rem; } }
@media (min-width: 1025px) { .section-headline { font-size: 2.25rem; } }

.section-sub {
    text-align: center; font-size: 1.05rem; color: var(--text-light);
    max-width: 700px; margin: 0 auto 2.5rem; line-height: 1.65;
}

.section-cta { text-align: center; margin-top: 2.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-block; font-size: 0.95rem; font-weight: 700;
    padding: 0.85em 1.75em; border-radius: 6px; cursor: pointer;
    transition: all 0.2s ease; text-decoration: none; border: 2px solid transparent;
}
.btn--primary {
    background: var(--cta); color: var(--white); border-color: var(--cta);
}
.btn--primary:hover {
    background: var(--cta-dark); border-color: var(--cta-dark);
    opacity: 1; transform: translateY(-1px);
}
.btn--outline {
    background: transparent; color: var(--cta); border-color: var(--cta);
}
.btn--outline:hover {
    background: var(--cta); color: var(--white); opacity: 1;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250, 249, 245, 0.92); backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border); padding: 0.75rem 0;
}
.nav__inner {
    display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
    text-decoration: none; display: flex; align-items: center;
}
.nav__logo img {
    height: 48px; width: auto;
}
.nav__menu { display: flex; align-items: center; gap: 1.75rem; }
.nav__link {
    font-size: 0.9rem; font-weight: 500; color: var(--text-light); text-decoration: none;
}
.nav__link:hover { color: var(--brand); opacity: 1; }
.nav__link--cta {
    background: var(--cta); color: var(--white) !important; padding: 0.5em 1.25em;
    border-radius: 6px; font-weight: 700;
}
.nav__link--cta:hover { background: var(--cta-dark); opacity: 1; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span {
    display: block; width: 24px; height: 2px; background: var(--dark);
    margin: 5px 0; transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav__toggle { display: block; }
    .nav__menu {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; right: 0; background: var(--white);
        padding: 1.5rem; gap: 1rem; box-shadow: var(--shadow-md);
    }
    .nav__menu.active { display: flex; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d4a 100%);
    color: var(--white);
    padding: 0.25rem 0 0; margin-top: 3.5rem;
    overflow: hidden; position: relative;
}
@media (min-width: 768px) { .hero { padding: 0.25rem 0 0; } }

/* Split layout: text left, portrait right — as a unit */
.hero__split {
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
@media (min-width: 768px) {
    .hero__split {
        flex-direction: row; align-items: flex-end; text-align: left; gap: 1rem;
    }
}
.hero__content {
    flex: 1 1 0%; padding-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .hero__content { padding-bottom: 2rem; }
}
.hero__portrait {
    flex-shrink: 0; align-self: flex-end; line-height: 0;
    margin-bottom: -4px;
}
.hero__portrait img {
    width: 240px; height: auto;
    filter: grayscale(1) brightness(1.15) contrast(1.05);
}
@media (min-width: 768px) {
    .hero__portrait img { width: 340px; }
}
@media (min-width: 1025px) {
    .hero__portrait img { width: 420px; }
}

.hero__kicker {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2.5px;
    color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; font-weight: 600;
}
.hero__headline {
    font-size: 1.75rem; font-weight: 800; line-height: 1.15; margin-bottom: 0.75rem;
}
@media (min-width: 768px) { .hero__headline { font-size: 2.25rem; } }
@media (min-width: 1025px) { .hero__headline { font-size: 2.75rem; } }
.hero__accent { color: #7eb8ff; }
.hero__sub {
    font-size: 1rem; color: rgba(255,255,255,0.7); max-width: 620px;
    margin: 0 0 1.25rem; line-height: 1.55;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
@media (min-width: 768px) { .hero__actions { justify-content: flex-start; } }
.hero__actions .btn--outline { color: var(--white); border-color: rgba(255,255,255,0.4); }
.hero__actions .btn--outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); color: var(--white); }
.hero__logo {
    margin-bottom: 1rem;
}
.hero__logo img {
    margin: 0 auto; max-width: 240px; height: auto;
    filter: brightness(0) invert(1); opacity: 0.95;
}
@media (min-width: 768px) { .hero__logo img { max-width: 280px; margin: 0; } }

.hero__credentials {
    margin-top: 1rem; display: flex; justify-content: center;
    flex-wrap: wrap; gap: 0.5rem; align-items: center;
    font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
@media (min-width: 768px) { .hero__credentials { justify-content: flex-start; } }
.trust-sep { color: rgba(255,255,255,0.2); font-size: 0.9rem; }

/* --- Bekannt-aus Marquee Trust-Bar --- */
.trust-bar {
    background: var(--dark); padding: 1.75rem 0 1.5rem;
    overflow: hidden;
}
.trust-bar__label {
    display: block; text-align: center; font-size: 0.65rem;
    text-transform: uppercase; letter-spacing: 3px;
    color: rgba(255,255,255,0.3); margin-bottom: 1.25rem; font-weight: 600;
}
.trust-bar__marquee {
    position: relative; overflow: hidden; width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}
.trust-bar__track {
    display: inline-flex; align-items: center; gap: 5rem;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
}
.trust-bar__track:hover {
    animation-play-state: paused;
}
.trust-bar__item {
    flex-shrink: 0; display: inline-flex; align-items: center;
}
.trust-bar__item img {
    display: block;
    height: 38px; width: auto;
    object-fit: contain;
    filter: grayscale(1) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s;
}
.trust-bar__item:hover img {
    opacity: 1;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-33.333%); }
}

@media (max-width: 540px) {
    .trust-bar__track { gap: 3rem; animation-duration: 20s; }
    .trust-bar__item img { height: 26px; }
}

/* ============================================
   BESTANDSWERT-ANALYSE — Signature System
   ============================================ */
.bwa { background: var(--white); }
.bwa .container { text-align: center; }
.bwa__badge {
    display: inline-block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--brand); background: var(--brand-light);
    padding: 0.35em 1em; border-radius: 20px; margin-bottom: 1rem;
}
.bwa .section-headline { margin-bottom: 0.5rem; }
.bwa__subtitle {
    font-weight: 400; font-size: 0.6em; color: var(--text-light); display: block;
    margin-top: 0.25rem;
}

/* 5 Steps */
.bwa__steps {
    display: grid; grid-template-columns: 1fr; gap: 1rem;
    margin-bottom: 3rem; counter-reset: step;
}
@media (min-width: 768px) { .bwa__steps { grid-template-columns: repeat(5, 1fr); gap: 0; } }

.bwa__step {
    background: var(--bg); border-radius: var(--radius-lg); padding: 1.5rem 1.25rem;
    position: relative; text-align: center;
}
@media (min-width: 768px) {
    .bwa__step {
        border-radius: 0; border-right: 1px solid var(--border);
        padding: 2rem 1.25rem 1.5rem;
    }
    .bwa__step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
    .bwa__step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-right: none; }
}
.bwa__step-nr {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--brand); color: var(--white);
    font-size: 0.85rem; font-weight: 800; margin-bottom: 0.75rem;
}

.bwa__step h3 { font-size: 0.9rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.bwa__step p { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }

.bwa__step--final { background: var(--dark); color: var(--white); }
.bwa__step--final h3 { color: var(--white); }
.bwa__step--final p { color: #fff; }
.bwa__step--final .bwa__step-nr { background: var(--white); color: var(--dark); }

/* Ampel */
.bwa__ampel {
    background: var(--bg); border-radius: var(--radius-lg); padding: 2.5rem 2rem;
    text-align: center; margin-bottom: 1rem;
}
.bwa__ampel-title {
    font-size: 1.25rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem;
}
.bwa__ampel-note {
    font-size: 0.85rem; color: var(--text-light); max-width: 600px;
    margin: 0 auto 2rem; font-style: italic;
}
.bwa__ampel-grid {
    display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { .bwa__ampel-grid { grid-template-columns: repeat(3, 1fr); } }

.bwa__signal {
    background: var(--white); border-radius: var(--radius); padding: 1.5rem;
    text-align: center; border-top: 4px solid transparent;
}
.bwa__signal--green { border-top-color: #22c55e; }
.bwa__signal--yellow { border-top-color: #eab308; }
.bwa__signal--red { border-top-color: #ef4444; }

.bwa__light {
    display: inline-block; width: 48px; height: 48px; border-radius: 50%;
    margin-bottom: 1rem;
}
.bwa__light--green { background: #22c55e; box-shadow: 0 0 20px rgba(34,197,94,0.4); }
.bwa__light--yellow { background: #eab308; box-shadow: 0 0 20px rgba(234,179,8,0.4); }
.bwa__light--red { background: #ef4444; box-shadow: 0 0 20px rgba(239,68,68,0.4); }

.bwa__signal h4 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.bwa__signal p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }

/* ============================================
   ZIELGRUPPEN
   ============================================ */
.zielgruppen { background: var(--white); }
.zielgruppen__grid {
    display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { .zielgruppen__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .zielgruppen__grid { grid-template-columns: repeat(4, 1fr); } }

.zielgruppen__card {
    display: flex; flex-direction: column; padding: 2rem 1.5rem;
    background: var(--bg); border-radius: var(--radius-lg);
    text-decoration: none; color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s; border: 1px solid var(--border);
}
.zielgruppen__card:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-md);
    border-color: var(--brand); opacity: 1;
}
.zielgruppen__icon { color: var(--brand); margin-bottom: 1rem; }
.zielgruppen__card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.zielgruppen__card p { font-size: 0.9rem; color: var(--text-light); flex-grow: 1; }
.zielgruppen__arrow {
    font-size: 0.85rem; font-weight: 700; color: var(--brand); margin-top: 1rem;
}

/* ============================================
   LEISTUNGEN
   ============================================ */
.leistungen { background: var(--bg); }
.leistungen__grid {
    display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { .leistungen__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .leistungen__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1025px) { .leistungen__grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-left: auto; margin-right: auto; } }
@media (min-width: 1025px) { .leistungen__grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin-left: auto; margin-right: auto; } }

.leistungen__card {
    background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm); border-top: 3px solid var(--brand);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.leistungen__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.leistungen__icon { color: var(--brand); margin-bottom: 0.75rem; flex-shrink: 0; }
.leistungen__card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; flex-shrink: 0; }
.leistungen__card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0.75rem; line-height: 1.55; flex-grow: 1; }
.leistungen__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: auto; flex-shrink: 0; }
.tag {
    font-size: 0.7rem; font-weight: 700; background: var(--accent-light);
    color: var(--accent); padding: 0.15em 0.6em; border-radius: 10px;
}

/* ============================================
   EXPERTE
   ============================================ */
.experte { background: var(--bg); }
.experte__inner {
    display: flex; flex-direction: column; gap: 2rem; align-items: center;
}
@media (min-width: 768px) {
    .experte__inner { flex-direction: row; gap: 3rem; align-items: flex-end; }
}
.experte__image {
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
}
.experte__image img {
    width: 300px; height: auto;
    display: block;
    object-fit: cover;
}
@media (min-width: 768px) {
    .experte__image img {
        width: auto; height: auto;
        max-height: 680px;
        max-width: 460px;
    }
}
.experte__name { font-size: 1.25rem; font-weight: 800; color: var(--dark); margin-bottom: 0.25rem; }
.experte__title { font-size: 0.9rem; color: var(--brand); font-weight: 600; margin-bottom: 1.25rem; }
.experte__bio { font-size: 0.95rem; line-height: 1.7; margin-bottom: 1rem; }
.experte__credentials { margin: 1.5rem 0; }
.experte__credential {
    font-size: 0.9rem; padding: 0.5rem 0; border-bottom: 1px solid var(--border);
    color: var(--text-light);
}
.experte__credential strong { color: var(--dark); }

/* ============================================
   REFERENZEN
   ============================================ */
.referenzen { background: var(--bg); }
.referenzen__grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .referenzen__grid { grid-template-columns: repeat(3, 1fr); } }

.referenzen__card {
    background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column;
}
.referenzen__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.referenzen__image {
    height: 180px; background: #e5e5e5;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); font-size: 0.9rem;
    overflow: hidden; flex-shrink: 0;
}
.referenzen__image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.referenzen__content {
    padding: 1.5rem;
    display: flex; flex-direction: column; flex-grow: 1;
}
.referenzen__type {
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--brand); margin-bottom: 0.5rem; display: block;
    flex-shrink: 0;
}
.referenzen__card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; flex-shrink: 0; }
.referenzen__result {
    font-size: 0.9rem; font-weight: 700; color: var(--accent); margin-bottom: 0.75rem;
    flex-shrink: 0;
}
.referenzen__content p:last-child { font-size: 0.85rem; color: var(--text-light); line-height: 1.55; flex-grow: 1; }
.referenzen__card--prestige { border-top: 3px solid var(--accent); }
.referenzen__content p em { font-size: 0.78rem; color: var(--muted); font-style: italic; display: block; margin-top: 0.5rem; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--white); }
.testimonials__grid {
    display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 768px) { .testimonials__grid { grid-template-columns: repeat(3, 1fr); } }

.testimonials__card {
    background: var(--bg); border-radius: var(--radius-lg); padding: 2rem 1.5rem;
    display: flex; flex-direction: column; justify-content: space-between;
}
.testimonials__card blockquote {
    font-size: 0.95rem; font-style: italic; line-height: 1.65;
    color: var(--text); margin-bottom: 1.5rem; flex-grow: 1;
}
.testimonials__author {
    border-top: 1px solid var(--border); padding-top: 0.75rem;
    display: flex; flex-direction: column;
}
.testimonials__author strong { font-size: 0.9rem; color: var(--dark); }
.testimonials__author span { font-size: 0.8rem; color: var(--muted); }

/* ============================================
   PRESSE, VORTRÄGE & PUBLIKATIONEN — Timeline
   ============================================ */
.presse { background: var(--dark); color: var(--white); }
.presse .section-headline { color: var(--white); }
.presse .section-sub { color: rgba(255,255,255,0.7); }

/* Timeline container */
.presse__timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding-left: 5.5rem;
}
.presse__timeline::before {
    content: '';
    position: absolute;
    left: 3.1rem;
    top: 1.6rem;
    bottom: 2rem;
    width: 2px;
    background: rgba(255,255,255,0.1);
}

/* Each timeline row */
.presse__entry {
    position: relative;
    margin-bottom: 1.25rem;
}

/* Year label + dot — absolutely positioned in left gutter */
.presse__year-marker {
    position: absolute;
    left: -5.5rem;
    top: 0;
    width: 5rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 1.35rem;
}
.presse__year {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    line-height: 1;
    white-space: nowrap;
}
.presse__year-marker::after {
    content: '';
    display: block;
    width: 9px;
    height: 9px;
    min-width: 9px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--dark);
    margin-top: 0.05rem;
}

/* Card — flex column so role badge sits at bottom */
.presse__card {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.2s, transform 0.2s;
}
.presse__card:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.presse__meta {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 0.5rem; margin-bottom: 0.65rem; flex-wrap: wrap;
}
.presse__medium {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--accent); flex: 1;
}
.presse__date { font-size: 0.72rem; color: rgba(255,255,255,0.4); white-space: nowrap; }
.presse__headline {
    font-size: 1rem; font-weight: 700; color: var(--white);
    margin-bottom: 0.6rem; line-height: 1.35;
}
.presse__excerpt {
    font-size: 0.83rem; color: rgba(255,255,255,0.62);
    line-height: 1.55; flex: 1;
}
/* Role badge always at bottom */
.presse__role {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    background: rgba(90,107,27,0.35); color: #c8d88a;
    padding: 0.2rem 0.55rem; border-radius: 4px;
    margin-top: 1rem; align-self: flex-start;
}

/* Variants */
.presse__card--featured {
    border-color: rgba(200,216,138,0.35);
    background: rgba(90,107,27,0.14);
}
.presse__card--featured .presse__headline { color: #e8f0c0; }

.presse__card--vortrag {
    border-color: rgba(100,160,230,0.35);
    background: rgba(27,100,198,0.11);
}
.presse__card--vortrag .presse__headline { color: #c8dcf8; }
.presse__card--vortrag .presse__role { background: rgba(27,100,198,0.3); color: #9ec4f0; }

.presse__card--upcoming {
    border-color: rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    opacity: 0.72;
}
.presse__card--upcoming .presse__role { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); }

/* Mobile: komprimierte Timeline */
@media (max-width: 600px) {
    .presse__timeline { padding-left: 3.5rem; }
    .presse__timeline::before { left: 2rem; }
    .presse__year-marker { left: -3.5rem; width: 3rem; }
    .presse__year { font-size: 0.6rem; }
}

/* ============================================
   WISSEN
   ============================================ */
.wissen { background: var(--bg); }
.wissen__grid {
    display: grid; grid-template-columns: 1fr; gap: 1.25rem;
}
@media (min-width: 768px) { .wissen__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .wissen__grid { grid-template-columns: repeat(3, 1fr); } }

.wissen__card {
    background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem;
    text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s; border-left: 3px solid var(--accent);
}
.wissen__card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); opacity: 1; }
.wissen__card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.wissen__card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; margin-bottom: 0.75rem; }
.wissen__more { font-size: 0.8rem; font-weight: 700; color: var(--accent); }

/* ============================================
   FAQ
   ============================================ */
.faq { background: var(--bg); padding: 4rem 0; }
.faq .section-headline { margin-bottom: 2rem; }

.faq__list { max-width: 760px; margin: 0 auto; }

.faq__item {
    border-bottom: 1px solid #e0e0e0;
}

.faq__item summary {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.25rem 0; cursor: pointer;
    font-size: 0.95rem; font-weight: 600; color: var(--dark);
    list-style: none; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+'; font-size: 1.3rem; font-weight: 300; color: var(--brand);
    margin-left: 1rem; flex-shrink: 0; transition: transform 0.2s;
}
.faq__item[open] summary::after { content: '\2212'; }

.faq__item p {
    padding: 0 0 1.25rem 0;
    font-size: 0.88rem; color: var(--text-light); line-height: 1.65;
}

@media (max-width: 768px) {
    .faq { padding: 2.5rem 0; }
    .faq__item summary { font-size: 0.88rem; padding: 1rem 0; }
    .faq__item p { font-size: 0.82rem; }
}

/* ============================================
   KONTAKT
   ============================================ */
.kontakt {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d4a 100%);
    color: var(--white);
}
.kontakt .section-headline { color: var(--white); }
.kontakt__sub {
    text-align: center; font-size: 1.05rem; color: rgba(255,255,255,0.7);
    max-width: 650px; margin: 0 auto 2.5rem; line-height: 1.65;
}
.kontakt__options {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
}
@media (min-width: 768px) { .kontakt__options { grid-template-columns: 2fr 1fr; } }

.kontakt__option {
    background: rgba(255,255,255,0.08); border-radius: var(--radius-lg);
    padding: 2rem; backdrop-filter: blur(8px);
}
.kontakt__option h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: var(--white);
}
.kontakt__option p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.kontakt__details { margin-top: 1.5rem; }
.kontakt__detail {
    display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem;
    font-size: 0.95rem; color: var(--white);
}
.kontakt__detail svg { flex-shrink: 0; color: rgba(255,255,255,0.5); margin-top: 2px; }
.kontakt__detail a { color: var(--white); text-decoration: none; font-weight: 600; }
.kontakt__detail a:hover { text-decoration: underline; opacity: 1; }
.kontakt__detail small { color: rgba(255,255,255,0.5); }
.kontakt__note { margin-top: 1rem; }
.kontakt__note small { color: rgba(255,255,255,0.4); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark); color: rgba(255,255,255,0.6);
    padding: 3rem 0 1.5rem;
}
.footer__grid {
    display: grid; grid-template-columns: 1fr; gap: 2rem;
    padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer__logo { margin-bottom: 0.75rem; }
.footer__logo img { max-width: 180px; height: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.footer__tagline { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer__person { font-size: 0.85rem; line-height: 1.5; }
.footer__person small { color: rgba(255,255,255,0.4); }

.footer__nav h4 {
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: rgba(255,255,255,0.4); margin-bottom: 0.75rem;
}
.footer__nav a {
    display: block; font-size: 0.85rem; color: rgba(255,255,255,0.6);
    margin-bottom: 0.4rem; text-decoration: none;
}
.footer__nav a:hover { color: var(--white); opacity: 1; }
.footer__nav p { font-size: 0.85rem; margin-top: 0.5rem; }

.footer__social { display: flex; gap: 0.75rem; margin-top: 0.75rem; }
.footer__social a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer__social a:hover { color: var(--white); opacity: 1; }

.footer__bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem;
}
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer__legal a:hover { color: rgba(255,255,255,0.7); opacity: 1; }
.footer__copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); }

/* ============================================
   PLACEHOLDER (wird sp&auml;ter ersetzt)
   ============================================ */
.placeholder-image {
    background: #e5e5e5; display: flex; align-items: center;
    justify-content: center; color: var(--muted); font-size: 0.85rem;
    border: 1px dashed #ccc;
}

/* ============================================
   UTILITIES
   ============================================ */
@media (max-width: 768px) {
    /* --- HERO: Above-the-fold kompakt --- */
    .hero { padding-top: 4.5rem; }
    .hero__split {
        flex-direction: row; align-items: flex-end; text-align: left; gap: 0.5rem;
    }
    .hero__headline { font-size: 1.35rem; margin-bottom: 0.5rem; }
    .hero__sub { font-size: 0.85rem; margin-bottom: 0.75rem; margin-left: 0; margin-right: 0; line-height: 1.45; }
    .hero__kicker { font-size: 0.65rem; letter-spacing: 2px; margin-bottom: 0.5rem; }
    .hero__actions { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .hero__actions .btn { font-size: 0.85rem; padding: 0.7em 1.25em; width: 100%; text-align: center; }
    .hero__portrait img { width: 140px; }
    .hero__logo img { max-width: 180px; }
    .hero__credentials { font-size: 0.65rem; gap: 0.3rem; justify-content: flex-start; margin-top: 0.75rem; }

    /* --- TRUST BAR: Kompakter --- */
    .trust-bar { padding: 1rem 0 0.75rem; }
    .trust-bar__label { font-size: 0.55rem; letter-spacing: 2px; margin-bottom: 0.75rem; }
    .trust-bar__track { gap: 2rem; }
    .trust-bar__item img { height: 20px; }

    /* --- SEKTIONEN: Weniger Padding --- */
    section { padding: 2.5rem 0; }
    .section-headline { font-size: 1.2rem; }
    .section-sub { font-size: 0.88rem; margin-bottom: 1.5rem; }

    /* --- KARTEN: Kompakter auf Mobile --- */
    .leistungen__card { padding: 1.25rem 1rem; }
    .leistungen__card h3 { font-size: 0.92rem; }
    .leistungen__card p { font-size: 0.82rem; margin-bottom: 0.5rem; }

    .painpoints__item { padding: 1.25rem 1rem; }
    .painpoints__item h3 { font-size: 0.92rem; }
    .painpoints__item p { font-size: 0.82rem; }

    .referenzen__image { height: 140px; }
    .referenzen__content { padding: 1rem; }
    .referenzen__card h3 { font-size: 0.92rem; }
    .referenzen__content p:last-child { font-size: 0.8rem; }

    /* --- BWA / PROZESS: Schritte kompakter --- */
    .bwa__step { padding: 1.25rem 1rem; }
    .bwa__step h3 { font-size: 0.85rem; }
    .bwa__step p { font-size: 0.75rem; }
    .bwa__step-nr { width: 30px; height: 30px; font-size: 0.75rem; }
    .bwa__ampel { padding: 1.5rem 1rem; }

    /* --- ZIELGRUPPEN: Kompakter --- */
    .zielgruppen__card { padding: 1.25rem 1rem; }
    .zielgruppen__card h3 { font-size: 0.95rem; }
    .zielgruppen__card p { font-size: 0.82rem; }

    /* --- EXPERTE: Bild kleiner --- */
    .experte__image img { width: 220px; }

    /* --- TESTIMONIALS: Kompakter --- */
    .testimonials__card { padding: 1.25rem 1rem; }
    .testimonials__card blockquote { font-size: 0.85rem; }

    /* --- KONTAKT: Kompakter --- */
    .kontakt__option { padding: 1.25rem; }
    .kontakt__sub { font-size: 0.9rem; margin-bottom: 1.5rem; }

    /* --- FOOTER: Kompakter --- */
    .footer { padding: 2rem 0 1rem; }
    .footer__grid { gap: 1.25rem; }

    /* --- PRESSE TIMELINE: Kompakter --- */
    .presse__card { padding: 1rem; }
    .presse__headline { font-size: 0.88rem; }
    .presse__excerpt { font-size: 0.78rem; }
}

/* --- MOBILE ZWISCHEN-CTAs: Nur auf Mobile sichtbar --- */
.mobile-cta { display: none; }
@media (max-width: 768px) {
    .mobile-cta {
        display: block; text-align: center; padding: 1.5rem 0 0;
    }
    .mobile-cta .btn { width: 100%; max-width: 320px; font-size: 0.9rem; }
}

/* --- CALENDLY: Responsive Höhe --- */
@media (max-width: 768px) {
    #bdp-calendly-widget { height: 900px !important; }
}
