/*
 * Seite /ausbildung – Aufbau von Variante A „Praxis klar“, Farben von Variante B „Praxis warm“
 * (Korrektur des Users, 18.11.2026). Alles unter .aus gekapselt, damit Bootstrap/app.css unberührt bleiben.
 * Kontraste (WCAG 2.2 AA) sind in DESIGN.md festgehalten.
 */
.aus {
    --aus-bg: #fbf6ec;
    --aus-surface: #fff;
    --aus-sand: #efe4cf;
    --aus-line: #e0d2b4;
    --aus-fg: #2b2a22;
    --aus-muted: #5b5240;
    --aus-green: #2f5d3a;
    --aus-green-dark: #234a2d;
    --aus-brown: #8a5a2b;
    --aus-focus: #2f5d3a;
    background: var(--aus-bg);
    color: var(--aus-fg);
    font: 1rem/1.65 system-ui, sans-serif;
    overflow-wrap: anywhere;
    hyphens: auto;
}
.aus *, .aus *::before, .aus *::after { box-sizing: border-box; }
.aus h1, .aus h2, .aus h3 { font-family: Georgia, 'Times New Roman', serif; color: var(--aus-fg); }

/* Links: deutliche Hover- und Fokus-Zustände */
.aus a { color: var(--aus-green); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.aus a:hover { color: var(--aus-green-dark); text-decoration-thickness: 3px; }
.aus a:focus-visible { outline: 3px solid var(--aus-focus); outline-offset: 3px; border-radius: .2rem; }

.aus-banner { margin: 0; background: #fff3c4; color: #4a3b00; border-bottom: 2px solid #b45309; padding: .6rem 1rem; text-align: center; font-size: .9rem; }
.aus-banner a { color: #4a3b00; }
.aus-banner a:hover { color: #2b2200; }
.aus-tag { font: 600 .7rem/1 system-ui, sans-serif; background: #fff3c4; color: #4a3b00; border: 1px solid #b45309; border-radius: 99px; padding: .25rem .55rem; vertical-align: middle; white-space: nowrap; }

.aus-wrap { max-width: 960px; margin: 0 auto; padding: 0 1.25rem; }

/* Kopf: zentriert mit Logo */
.aus-hero { text-align: center; padding: 3.5rem 0 2rem; }
.aus-logo { display: block; width: min(460px, 90%); height: auto; margin: 0 auto 1.75rem; }
.aus-hero h1 { font-size: clamp(2rem, 6vw, 3rem); line-height: 1.15; margin: 0 0 1rem; }
.aus-lead { font-size: 1.15rem; color: var(--aus-muted); max-width: 38rem; margin: 0 auto; }
.aus-pulse { display: block; width: min(36rem, 100%); height: 40px; margin: 2rem auto 0; color: var(--aus-brown); }

/* Eckdaten-Leiste */
.aus-facts { border-top: 1px solid var(--aus-line); border-bottom: 1px solid var(--aus-line); padding: 1.5rem 0; }
.aus-facts dl { margin: 0; display: grid; gap: 1.25rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.aus-facts div { border-left: 3px solid var(--aus-brown); padding-left: .85rem; }
.aus-facts dt { font: 700 1.2rem/1.3 Georgia, 'Times New Roman', serif; color: var(--aus-green); }
.aus-facts dd { margin: .2rem 0 0; color: var(--aus-muted); font-size: .95rem; }

/* Abschnitte mit Pulslinien-Ornament */
.aus-sec { padding: 3.5rem 0 1rem; }
.aus-sec h2, .aus-cta h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: 0 0 1.75rem; font-size: clamp(1.5rem, 4vw, 1.85rem); line-height: 1.25; }
.aus-mark { flex: none; color: var(--aus-brown); }

/* Zeitleiste: senkrechte Pulslinie mit Jahres-Markern */
.aus-tl { position: relative; list-style: none; margin: 0; padding: 0 0 0 2.75rem; }
.aus-tl::before {
    content: "";
    position: absolute;
    top: .5rem;
    bottom: .5rem;
    left: .5rem;
    width: 24px;
    background: url("../images/pulse-vertical-9i3VQTQ.svg") center top / 24px 240px repeat-y;
}
.aus-tl-item { position: relative; padding-bottom: 1.75rem; }
.aus-tl-item:last-child { padding-bottom: 0; }
.aus-tl-item::before {
    content: "";
    position: absolute;
    left: calc(-2.75rem + 1.25rem - 9px);
    top: 1.35rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--aus-surface);
    border: 3px solid var(--aus-brown);
}
.aus-tl-year { display: inline-block; margin: 0 0 .6rem; padding: .2rem .75rem; border-radius: 99px; background: var(--aus-brown); color: #fff; font: 700 .95rem/1.4 Georgia, 'Times New Roman', serif; letter-spacing: .03em; }
.aus-tl-item:has(.aus-tl-year)::before { top: 3.5rem; }
.aus-tl-card { background: var(--aus-surface); border: 1px solid var(--aus-line); border-radius: 1rem; padding: 1.25rem 1.4rem; }
.aus-tl-card h3 { margin: .15rem 0 .1rem; font-size: 1.2rem; line-height: 1.3; }
.aus-tl-card p { margin: .5rem 0 0; }
.aus-tl-card .aus-tl-meta { margin: 0; color: var(--aus-muted); font-size: .9rem; }
.aus-tl-kind { font-weight: 700; color: var(--aus-brown); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
.aus-tl-card .aus-tl-who { margin-top: 0; color: var(--aus-muted); font-style: italic; }
.aus-term { background: var(--aus-bg); border-left: 3px solid var(--aus-green); padding: .5rem .75rem; border-radius: 0 .4rem .4rem 0; font-size: .95rem; }
.aus-tl-badge { display: inline-block; margin-left: .25rem; padding: .1rem .5rem; border-radius: 99px; background: var(--aus-green); color: #fff; font-size: .75rem; font-weight: 700; }
/* Hervorgehobene Station (Kanada 2026) */
.aus-tl-item--hl::before { width: 26px; height: 26px; left: calc(-2.75rem + 1.25rem - 13px); background: var(--aus-green); border-color: var(--aus-green); box-shadow: 0 0 0 5px var(--aus-sand); }
.aus-tl-item--hl .aus-tl-year { background: var(--aus-green); }
.aus-tl-item--hl .aus-tl-card { border: 2px solid var(--aus-green); box-shadow: 0 .5rem 1.5rem rgb(47 93 58 / 12%); }
.aus-tl-item--hl .aus-tl-card h3 { font-size: 1.4rem; }
.aus-tl-item--hl .aus-photo { margin-top: 1rem; }

/* Schwerpunkt-Karten mit Akzentkante */
.aus-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.aus-cards li { background: var(--aus-surface); border: 1px solid var(--aus-line); border-left: 5px solid var(--aus-green); border-radius: .75rem; padding: 1.25rem; }
.aus-cards h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.aus-cards p { margin: 0; }

.aus-list { padding-left: 1.2rem; margin: 0; }
.aus-list li { padding: .3rem 0; }

/* Termin-Ablauf mit Verbindungslinien: Handy senkrecht, ab 48rem waagrecht */
.aus-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; counter-reset: aus-step; }
.aus-steps li { counter-increment: aus-step; position: relative; padding-left: 3.5rem; min-height: 2.5rem; }
.aus-steps li::before { content: counter(aus-step); position: absolute; left: 0; top: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--aus-surface); border: 2px solid var(--aus-brown); color: var(--aus-brown); font: 700 1.1rem/2.3rem Georgia, 'Times New Roman', serif; text-align: center; }
.aus-steps li::after { content: ""; position: absolute; left: calc(1.25rem - 1px); top: 2.75rem; bottom: -1.25rem; width: 2px; background: var(--aus-brown); }
.aus-steps li:last-child::after { display: none; }
.aus-steps strong { display: block; font-size: 1.05rem; }
@media (min-width: 48rem) {
    .aus-steps { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
    .aus-steps li { padding: 3.5rem 0 0; }
    .aus-steps li::after { left: 2.75rem; right: -1rem; top: calc(1.25rem - 1px); bottom: auto; width: auto; height: 2px; }
}

.aus-grid2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.aus-grid2 figure { margin: 0; }
.aus-grid2 figcaption { margin-top: .4rem; color: var(--aus-muted); }
.aus-photo { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 170px; background: repeating-linear-gradient(45deg, #ebe3d3, #ebe3d3 12px, #f5efe3 12px, #f5efe3 24px); color: #4a4232; border: 1px dashed #7a6e55; border-radius: .6rem; font-weight: 600; }
.aus-photo small { font-weight: 400; }

.aus-zus { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.aus-zus > div { background: var(--aus-surface); border: 1px solid var(--aus-line); border-radius: .75rem; padding: 1rem; }
.aus-zus > .aus-zus-mid { grid-column: 1 / -1; background: var(--aus-sand); text-align: center; font-family: Georgia, 'Times New Roman', serif; }

/* Großer Termin-Kasten mit gut sichtbarer Telefonnummer */
.aus-cta { text-align: center; padding: 3rem 1rem; margin: 3.5rem 0 4rem; background: var(--aus-green); color: #fff; border-radius: 1.25rem; }
.aus-cta h2 { justify-content: center; color: #fff; }
.aus-cta p { margin: 0 0 1rem; }
.aus-cta .aus-cta-phone a { color: #fff; font: 700 clamp(1.3rem, 6vw, 2.5rem)/1.2 Georgia, 'Times New Roman', serif; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; padding: .25rem .75rem; border-bottom: 2px solid rgb(255 255 255 / 50%); border-radius: .4rem; }
.aus-cta .aus-cta-phone a:hover { color: #fff; background: rgb(255 255 255 / 14%); border-bottom-color: #fff; text-decoration: underline; text-decoration-thickness: 3px; }
.aus-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.aus-cta .aus-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 9rem; padding: .8rem 1.4rem; border-radius: .6rem; background: #fff; color: var(--aus-green-dark); font-weight: 700; text-decoration: none; border: 2px solid #fff; transition: background-color .15s, color .15s; }
.aus-cta .aus-btn:hover { background: var(--aus-sand); color: #1d3a24; text-decoration: underline; text-decoration-thickness: 2px; }
.aus-cta a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #111; }
.aus-cta .aus-cta-mail { margin: 1rem 0 0; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .aus-cta .aus-btn { transition: none; } }

/* Teaser auf der Startseite */
.aus-teaser { background: #efe4cf; color: #2b2a22; border-left: 5px solid #2f5d3a; border-radius: 1rem; padding: 1.5rem; margin: 1rem 0; }
.aus-teaser h2 { margin: 0 0 .5rem; }
.aus-teaser a { color: #2f5d3a; font-weight: 600; text-underline-offset: .2em; }
.aus-teaser a:hover { color: #234a2d; text-decoration-thickness: 3px; }
.aus-teaser a:focus-visible { outline: 3px solid #2f5d3a; outline-offset: 3px; }
