:root {
    --navy: #203c63;
    --deep: #142943;
    --gold: #eeb243;
    --gold-dark: #aa7612;
    --ink: #26374a;
    --muted: #5b6876;
    --line: #dce4ec;
    --soft: #f4f7fb;
    --cream: #fff8ec;
    --white: #fff;
    --radius: 17px;
    --width: 1130px
}

*,
*::before,
*::after {
    box-sizing: border-box
}

html {
    scroll-behavior: auto
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.68;
    background: var(--white)
}

a {
    color: var(--navy)
}

a:focus-visible {
    outline: 3px solid var(--gold-dark);
    outline-offset: 4px
}

img {
    max-width: 100%;
    height: auto
}

h1,
h2,
h3,
p,
figure {
    margin-top: 0
}

h1,
h2,
h3 {
    line-height: 1.24;
    letter-spacing: -.018em;
    color: var(--navy)
}

h1 {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    margin-bottom: 0.75rem;
}

h2 {
    font-size: clamp(1.55rem, 2.55vw, 2.12rem);
    margin-bottom: .85rem
}

h3 {
    font-size: 1.22rem;
    margin-bottom: .5rem
}

p {
    margin-bottom: 1rem
}

strong {
    font-weight: 730
}

.skip-link {
    position: absolute;
    z-index: 99;
    top: -5rem;
    left: 1rem;
    background: var(--gold);
    border-radius: 6px;
    padding: .5rem 1rem;
    color: var(--deep)
}

.skip-link:focus {
    top: .6rem
}

.site-header {
    background: #fff;
    border-bottom: 3px solid var(--gold)
}

.header-inner {
    max-width: var(--width);
    margin: auto;
    min-height: 109px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: .85rem 1.3rem
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 1 276px;
    min-width: 0
}

.brand img {
    display: block;
    width: 260px;
    max-height: 104px;
    object-fit: contain
}

.header-line {
    text-align: right;
    font-size: .96rem;
    line-height: 1.45;
    font-weight: 750;
    color: var(--navy)
}

.header-line small {
    display: block;
    font-weight: 600;
    font-size: .79rem;
    color: #976c1a;
    letter-spacing: .06em;
    text-transform: uppercase
}

.site-nav {
    background: var(--navy)
}

.nav-inner {
    max-width: var(--width);
    margin: auto;
    padding: 0 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem
}

.nav-inner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: .93rem;
    font-weight: 650;
    padding: .93rem .97rem;
    border-bottom: 3px solid transparent
}

.nav-inner a:hover,
.nav-inner a:focus-visible {
    background: #34557d
}

.nav-inner a[aria-current="page"] {
    background: var(--deep);
    border-bottom-color: var(--gold)
}

main {
    min-height: calc(100vh - 247px)
}

.wrap {
    max-width: var(--width);
    margin: 0 auto;
    padding: 3rem 1.3rem 4.1rem
}

.wrap.narrow {
    max-width: 970px
}

.hero {
    background: linear-gradient(118deg, #eef4fa 0%, #fbfcfd 55%, #fff8ec 100%);
    border-bottom: 1px solid var(--line)
}

.hero .wrap {
    padding-top: 4.2rem;
    padding-bottom: 4.3rem
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(225px, .85fr);
    align-items: center;
    gap: 3rem
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    max-width: 100%;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
    color: #77510b;
    background: #ffefd0;
    border: 1px solid #f1d9aa;
    padding: .42rem .85rem;
    border-radius: 99px;
    margin-bottom: 1.25rem
}

.lead {
    font-size: clamp(1.09rem, 1.7vw, 1.24rem);
    line-height: 1.64;
    max-width: 800px;
    color: #304760
}

.subtle {
    color: var(--muted)
}

.narrow-copy {
    max-width: 820px
}

.tagline {
    font-weight: 750;
    color: var(--navy);
    font-size: 1.07rem
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: .72rem;
    margin-top: 1.6rem
}

.button {
    display: inline-block;
    text-decoration: none;
    border-radius: 9px;
    padding: .75rem 1.13rem;
    font-size: .95rem;
    font-weight: 750;
    line-height: 1.4;
    border: 2px solid transparent
}

.button-primary {
    background: var(--gold);
    color: var(--deep)
}

.button-primary:hover {
    background: #f6c568
}

.button-secondary {
    border-color: #acbdcf;
    color: var(--navy);
    background: #fff
}

.button-secondary:hover {
    background: #f0f5fa
}

.hero-panel {
    background: var(--deep);
    color: #f4f7fb;
    border-radius: var(--radius);
    padding: 1.6rem;
    box-shadow: 0 18px 34px rgba(25, 53, 82, .13)
}

.hero-panel h2,
.hero-panel h3 {
    color: #ffcf77
}

.hero-panel h2 {
    font-size: 1.27rem
}

.hero-panel p {
    font-size: .95rem;
    margin-bottom: .85rem
}

.mini-steps {
    display: grid;
    gap: .65rem;
    margin-top: 1rem
}

.mini-steps span {
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 7px;
    padding: .48rem .65rem;
    font-size: .87rem;
    font-weight: 650
}

.mini-steps b {
    color: var(--gold);
    margin-right: .5rem
}

.section {
    margin-top: 3.2rem
}

section[aria-labelledby="angebot"] .section-heading,
section[aria-labelledby="weiterdenken"] .section-heading {
    max-width: 1050px;
}

.section-heading {
    max-width: 880px;
    margin-bottom: 1.5rem
}

#ausbildungsentwicklung .section-heading,
#trainings-workshops .section-heading,
#praxisbeispiele .section-heading,
#weiterentwicklung .section-heading {
    max-width: 1050px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem
}

.grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.card {
    padding: 1.5rem;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: var(--radius)
}

.card.white {
    background: #fff;
    box-shadow: 0 8px 25px rgba(30, 58, 96, .055);
    border-top: 4px solid var(--gold)
}

.card p:last-child {
    margin-bottom: 0
}

.card-label {
    display: block;
    color: #996900;
    text-transform: uppercase;
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .065em;
    margin-bottom: .5rem
}

.card-link {
    display: inline-block;
    margin-top: .45rem;
    font-weight: 750;
    text-underline-offset: 3px
}

.bullet-list {
    padding-left: 1.25rem;
    margin: .7rem 0 0
}

.bullet-list li {
    padding-left: .25rem;
    margin: .4rem 0
}

.feature-strip {
    border-left: 5px solid var(--gold);
    border-radius: 0 12px 12px 0;
    background: var(--cream);
    padding: 1.25rem 1.45rem;
    margin-top: 1.5rem
}

.feature-strip p:last-child {
    margin-bottom: 0
}

.feature-strip strong {
    color: var(--navy)
}

.process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .8rem;
    margin-top: 1.35rem
}

.process-step {
    border: 1px solid var(--line);
    border-radius: 11px;
    padding: 1rem 1.05rem;
    background: #fff
}

.process-step .number {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: #ffefd0;
    color: #795113;
    border-radius: 50%;
    font-weight: 850;
    margin-bottom: .55rem
}

.process-step h3 {
    font-size: 1.05rem
}

.process-step p {
    font-size: .91rem;
    margin-bottom: 0
}

.game {
    margin-top: 3rem;
    border-radius: var(--radius);
    background: var(--deep);
    color: #f0f5fc;
    padding: 1.7rem;
    box-shadow: 0 15px 30px rgba(20, 42, 67, .11)
}

.game h2,
.game h3 {
    color: #ffcc70
}

.game-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
    gap: 1.65rem;
    align-items: start
}

.game figure {
    margin: 0
}

.game img {
    display: block;
    width: 100%;
    border-radius: 12px
}

.game figcaption {
    font-size: .8rem;
    color: #dbe5ef;
    margin-top: .6rem
}

.game .eyebrow {
    color: #ffce72;
    border-color: #82672f;
    background: #283c54
}

.game p {
    font-size: .95rem
}

.game-timings {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .6rem;
    margin: 1.15rem 0
}

.game-timings div {
    border: 1px solid #52647a;
    border-radius: 10px;
    padding: .85rem .65rem;
    font-size: .85rem
}

.game-timings strong {
    display: block;
    color: #ffce72;
    font-size: 1.02rem
}

.contact {
    margin-top: 3rem;
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 1.65rem 1.9rem
}

.contact h2 {
    color: #ffca6c;
    font-size: 1.55rem
}

.contact p {
    max-width: 850px
}

.contact .button-row {
    margin-top: 1rem
}

.profile {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 2.4rem;
    align-items: center;
}

.profile-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
}

.profile-name {
    margin-bottom: 3mm;
    font-size: 1.15rem;
}

.profile-copy {
    align-self: center;
}

.portrait {
    width: 205px;
    aspect-ratio: 3 / 4;
    border-radius: 999px;
    object-fit: cover;
    object-position: center 22%;
    border: 5px solid var(--gold);
    background: var(--soft);
}

.focus-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem
}

.focus-list .card {
    background: #fff
}

.imprint {
    border: 1px solid var(--line);
    background: var(--soft);
    border-radius: var(--radius);
    padding: 1.7rem;
    max-width: 710px
}

.imprint address {
    font-style: normal;
    line-height: 2
}

.imprint a {
    overflow-wrap: anywhere
}

.site-footer {
    background: var(--deep);
    color: #e6edf7
}

.footer-inner {
    max-width: var(--width);
    margin: auto;
    padding: 1.25rem 1.3rem;
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    align-items: center;
    justify-content: space-between;
    font-size: .86rem
}

.site-footer a {
    color: #ffd078
}

.footer-inner nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

@media(max-width:850px) {
    .hero-grid,
    .game-grid {
        grid-template-columns: 1fr
    }
    .hero-grid {
        gap: 1.5rem
    }
    .hero-panel {
        max-width: 650px
    }
    .grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:630px) {
    .header-inner {
        min-height: 79px;
        padding: .7rem 1rem
    }
    .brand {
        flex-basis: 175px
    }
    .brand img {
        width: 175px
    }
    .header-line {
        font-size: .77rem
    }
    .header-line small {
        font-size: .67rem
    }
    .nav-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 0
    }
    .nav-inner a {
        font-size: .83rem;
        text-align: center;
        padding: .75rem .3rem
    }
    .wrap {
        padding: 2.4rem 1rem 3rem
    }
    .hero .wrap {
        padding: 2.75rem 1rem 3rem
    }
    .grid,
    .grid.three,
    .process,
    .focus-list,
    .game-timings {
        grid-template-columns: 1fr
    }
    .profile {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        align-items: start;
    }
    .profile-side {
        align-items: center;
    }
    .portrait {
        width: 175px;
    }
    .game {
        padding: 1.15rem
    }
    .contact {
        padding: 1.3rem
    }
    .footer-inner {
        justify-content: center;
        text-align: center
    }
    .imprint {
        padding: 1.25rem
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}


/* Kompakterer Uebergang zwischen Startseiten-Hero und Angebot. */

.hero .wrap {
    padding-bottom: 1.6rem
}

.hero+.wrap {
    padding-top: 1.4rem
}

.hero+.wrap>.section:first-child {
    margin-top: 0
}

@media(max-width:630px) {
    .hero .wrap {
        padding-bottom: 1.4rem
    }
    .hero+.wrap {
        padding-top: 1rem
    }
}


/* Startseite: kompakter Hero ohne Label/Buttons; erster Inhalt folgt direkt. */

.hero .wrap {
    padding-top: 2rem;
    padding-bottom: 1.1rem
}

.hero+.wrap {
    padding-top: .65rem
}

.hero+.wrap>section:first-child {
    margin-top: 0
}

.hero-grid {
    gap: 2rem
}

.hero-grid h1 {
    margin-bottom: .85rem
}

.hero-grid p:last-child {
    margin-bottom: 0
}


/* Sprungmarken innerhalb der separaten Angebotsseite. */

#ausbildungsentwicklung,
#trainings-workshops,
#it-wissenslauf {
    scroll-margin-top: 1.1rem
}


/* Das Spiel ist ein Beispiel, nicht der visuelle Mittelpunkt der Website. */

.game-teaser {
    margin-top: 1.65rem
}

.game-teaser-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.05rem 1.35rem;
    background: var(--soft)
}

.game-teaser h2 {
    font-size: 1.14rem;
    margin-bottom: .25rem
}

.game-teaser p {
    font-size: .94rem;
    margin-bottom: 0
}

.game-teaser .game-teaser-link {
    flex: 0 0 auto
}

.game-teaser .card-link {
    margin-top: 0
}

.game.game-compact {
    background: var(--soft);
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
    padding: 1.4rem;
    margin-top: 2rem
}

.game.game-compact h2,
.game.game-compact h3 {
    color: var(--navy)
}

.game.game-compact .eyebrow {
    color: #77510b;
    background: #ffefd0;
    border-color: #f1d9aa
}

.game.game-compact .game-grid {
    grid-template-columns: minmax(0, 1fr) 255px;
    align-items: center
}

.game.game-compact .game-timings div {
    border-color: #ced9e5;
    background: white
}

.game.game-compact .game-timings strong {
    color: var(--navy)
}

.game.game-compact img {
    width: 100%;
    height: auto;
    max-height: 205px;
    object-fit: contain
}

.game.game-compact figcaption {
    color: var(--muted)
}

@media(max-width:850px) {
    .game.game-compact .game-grid {
        grid-template-columns: 1fr
    }
    .game.game-compact figure {
        max-width: 320px
    }
    .game-teaser-inner {
        display: block
    }
    .game-teaser .game-teaser-link {
        margin-top: .65rem
    }
}

@media(max-width:630px) {
    .hero .wrap {
        padding-top: 1.6rem;
        padding-bottom: 1rem
    }
    .hero+.wrap {
        padding-top: .5rem
    }
}


/* Lange Fachbegriffe auf schmalen Displays ohne horizontales Scrollen umbrechen. */

h1,
h2,
h3 {
    overflow-wrap: anywhere
}


/* LinkedIn-Link im Profilnamen */

.profile-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.profile-link:hover {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: var(--gold);
    text-underline-offset: 4px;
}

#inhalt>.wrap>.lead,
#inhalt>.wrap>.narrow-copy {
    max-width: 1050px;
}