/*
 * Branchen-Landingpages — Ergänzung zu landing.css.
 *
 * Nutzt ausschliesslich die Design-Tokens der Startseite (--navy, --teal, --ink,
 * --line, --radius …). Hier stehen NUR branchenseiten-eigene Bausteine (.br-*);
 * Wrap, Buttons, Sektionen, Nav, Footer, Mockups kommen aus landing.css.
 *
 * Bei Änderungen die Version in branche.php erhöhen (?v=N) — siehe
 * docs/UI_GUIDELINES.md.
 */

/* Footer bekommt hier eine vierte Spalte (Branchen). Mobil bleibt es einspaltig,
   weil landing.css das unter 900px ohnehin auf 1fr stellt. */
@media (min-width: 901px) {
    .ft-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Hero ---------- */
.br-hero { padding: 64px 0 56px; background: linear-gradient(180deg, var(--bg-soft), #fff); overflow-x: clip; }
.br-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.br-hero-tx h1 { font-size: clamp(1.9rem, 3.9vw, 2.95rem); margin-top: 14px; }
.br-lead { margin-top: 18px; color: var(--muted); font-size: 1.1rem; line-height: 1.65; max-width: 56ch; }
.br-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.br-trust { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px;
    color: var(--muted); font-size: .93rem; }
.br-trust li { display: inline-flex; align-items: center; gap: 7px; }
.br-trust svg { width: 16px; height: 16px; color: var(--teal); }

/* ---------- Problem-Zitate ---------- */
.br-probs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.br-prob { margin: 0; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px;
    color: var(--navy-800); font-size: 1.02rem; font-weight: 600; line-height: 1.5; }
.br-prob::before { content: "„"; color: var(--teal); font-weight: 800; }
.br-prob::after { content: "“"; color: var(--teal); font-weight: 800; }

/* ---------- Problem → Lösung → Nutzen ---------- */
.br-sol { display: grid; gap: 16px; }
.br-sol-row { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 0;
    border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.br-sol-row > div { padding: 22px 24px; }
.br-sol-l { background: var(--bg-soft); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.br-sol-row p { margin: 10px 0 0; line-height: 1.6; color: var(--muted); }
.br-sol-p p { color: var(--ink); font-weight: 600; }
.br-sol-l p { color: #22323f; }
.br-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.br-tag-p { background: #fdeceb; color: #a33a30; }
.br-tag-l { background: var(--teal-050); color: var(--teal-600); }
.br-tag-n { background: #e9f6ec; color: #2f7a45; }

/* ---------- Workflow ---------- */
.br-flow { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.br-flow li { display: inline-flex; align-items: center; gap: 10px; background: #fff;
    border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px 10px 10px; }
.br-flow .n { width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; font-weight: 700; flex: none; }
.br-flow .t { font-weight: 600; color: var(--navy-800); font-size: .96rem; }

/* ---------- Branchenfunktionen ---------- */
.br-feats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.br-feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; }
.br-feat-ic { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-050); color: var(--teal-600);
    display: inline-flex; align-items: center; justify-content: center; }
.br-feat-ic svg { width: 21px; height: 21px; }
.br-feat h3 { font-size: 1.1rem; margin-top: 16px; line-height: 1.35; color: var(--navy); }
.br-feat p { margin-top: 10px; color: var(--muted); line-height: 1.6; font-size: .98rem; }

/* ---------- Eigene Webseite ---------- */
.br-web { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.br-web h2 { font-size: clamp(1.5rem, 2.9vw, 2.1rem); color: var(--navy); }
.br-web p { margin-top: 16px; color: var(--muted); line-height: 1.65; font-size: 1.04rem; }
.br-check { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.br-check li { display: flex; align-items: flex-start; gap: 10px; color: #22323f; }
.br-check svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---------- Vorher / Nachher ---------- */
.br-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.br-cmp-col { border-radius: var(--radius); padding: 28px 28px 26px; border: 1px solid var(--line); }
.br-cmp-col h3 { font-size: 1.14rem; margin-bottom: 16px; }
.br-cmp-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.br-cmp-old { background: var(--bg-soft); }
.br-cmp-old h3 { color: #7a5a12; }
.br-cmp-old li { color: var(--muted); padding-left: 24px; position: relative; }
.br-cmp-old li::before { content: "×"; position: absolute; left: 6px; color: #b9762a; font-weight: 800; }
.br-cmp-new { background: #fff; border-color: var(--teal); box-shadow: var(--shadow-sm); }
.br-cmp-new h3 { color: var(--teal-600); }
.br-cmp-new li { display: flex; align-items: flex-start; gap: 9px; color: #22323f; }
.br-cmp-new svg { width: 17px; height: 17px; color: var(--teal); flex: none; margin-top: 3px; }

/* ---------- Preis ---------- */
.br-price { max-width: 720px; text-align: center; }
.br-price h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); }
.br-price p { margin: 16px 0 0; color: var(--muted); line-height: 1.65; font-size: 1.04rem; }
.br-price .br-cta { justify-content: center; }

/* ---------- FAQ ---------- */
.br-faq { max-width: 800px; margin: 0 auto; display: grid; gap: 10px; }
.br-faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.br-faq summary { cursor: pointer; padding: 17px 22px; font-weight: 650; color: var(--navy);
    list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.br-faq summary::-webkit-details-marker { display: none; }
.br-faq summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; font-weight: 700; flex: none; }
.br-faq details[open] summary::after { content: "–"; }
.br-faq p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.65; }

/* ---------- Querverweise ---------- */
.br-links { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.br-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 16px 20px; color: var(--navy-800); font-weight: 600;
    transition: border-color .18s ease, transform .16s ease; }
.br-links a:hover { border-color: var(--teal); transform: translateY(-1px); }
.br-links svg { width: 17px; height: 17px; color: var(--teal); flex: none; }

/* ---------- Abschluss ---------- */
.br-end { background: var(--navy); color: #eaf2f8; padding: 72px 0; text-align: center; }
.br-end h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: #fff; max-width: 22ch; margin: 0 auto; }
.br-end p { margin: 18px auto 0; max-width: 60ch; color: #b9cbdb; font-size: 1.06rem; line-height: 1.6; }
.br-end .br-cta { justify-content: center; margin-top: 28px; }
.br-end .btn-ghost { color: #eaf2f8; border-color: rgba(255,255,255,.28); }
.br-end .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
    .br-hero-grid, .br-web { grid-template-columns: 1fr; gap: 34px; }
    .br-sol-row { grid-template-columns: 1fr; }
    .br-sol-l { border-left: 0; border-right: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}

/* ---------- Handy ---------- */
@media (max-width: 720px) {
    .br-hero { padding: 40px 0 34px; }
    .br-cmp { grid-template-columns: 1fr; }
    .br-cta .btn { flex: 1 1 100%; justify-content: center; }
    .br-flow { justify-content: flex-start; }
    .br-flow li { padding: 8px 15px 8px 8px; }
    .br-end { padding: 52px 0; }
    .br-sol-row > div { padding: 18px 20px; }
}
