:root {
  color-scheme: light;
  --page: #f7f6f2;
  --surface: #eeece6;
  --ink: #242a27;
  --muted: #59615b;
  --accent: #86513d;
  --border: #d7d9d2;
  --dark: #252e29;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --space: clamp(5rem, 10vw, 9rem);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #a85837; outline-offset: 4px; }
::selection { color: #fff; background: var(--accent); }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
.page-wrap { width: calc(100% - var(--gutter) - var(--gutter)); max-width: 1280px; margin-inline: auto; }
.section-space { padding-block: var(--space); }
.skip-link { position: absolute; z-index: 20; top: .75rem; left: .75rem; padding: .8rem 1rem; background: var(--ink); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; background: var(--page); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .75rem; flex-shrink: 0; text-decoration: none; }
.wordmark-symbol { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: #fff; font-size: 1.05rem; font-weight: 650; }
.wordmark-text { font-size: .96rem; font-weight: 700; line-height: 1.1; letter-spacing: -.035em; }
.wordmark-text small { display: block; margin-top: .3rem; color: var(--muted); font-size: .67rem; font-weight: 500; letter-spacing: .01em; }
.primary-navigation { display: flex; align-items: center; gap: clamp(1.15rem, 2.8vw, 2.4rem); }
.primary-navigation a { font-size: .875rem; font-weight: 550; text-decoration: none; }
.primary-navigation a:hover, .text-link:hover { color: var(--accent); }
.primary-navigation .nav-cta { padding: .65rem 1.05rem; border: 1px solid var(--ink); border-radius: 5px; }
.primary-navigation .nav-cta:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }

.hero-background { position: relative; isolation: isolate; }
.hero-background::before { position: absolute; z-index: -1; inset: 0; background: url('../images/kursgruppe.jpg') center / cover no-repeat; opacity: .12; pointer-events: none; content: ''; }
.hero { position: relative; min-height: min(760px, calc(100svh - 76px)); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; padding-block: clamp(4rem, 8vw, 7rem); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-label { margin: 0 0 1.5rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-mark { display: inline-block; width: 7px; height: 7px; margin-right: .65rem; border-radius: 50%; background: currentColor; vertical-align: .12em; }
.hero h1 { max-width: 720px; margin-bottom: 1.7rem; font-size: clamp(3.4rem, 6vw, 5.85rem); font-weight: 650; line-height: 1.02; letter-spacing: -.065em; }
.hero h1 em { color: #777e77; }
.hero-intro { max-width: 490px; margin-bottom: 2rem; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.2rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.button { min-height: 50px; display: inline-flex; justify-content: center; align-items: center; padding: .8rem 1.25rem; border: 1px solid transparent; border-radius: 5px; font-size: .9rem; font-weight: 650; text-decoration: none; transition: background-color 180ms ease-out, color 180ms ease-out; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: var(--accent); }
.button-light { background: #f7f6f2; color: var(--dark); }
.button-light:hover { background: #d6c6b8; }
.text-link { font-size: .9rem; font-weight: 650; text-decoration-color: #bca699; text-underline-offset: .35em; transition: color 180ms ease-out; }
.hero-note { margin: 2.2rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .8rem; }
.hero-note span { padding-inline: .35rem; color: var(--accent); }
.hero-image { position: relative; height: clamp(380px, 42vw, 560px); margin: 0; overflow: hidden; border-radius: 3px; background: #d8d2c7; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; background: var(--dark); color: #f4f4ef; font-size: .72rem; }
.hero-side-note { display: none; }

.date-strip { background: var(--dark); color: #f7f6f2; }
.date-inner { display: grid; grid-template-columns: .8fr 2fr auto; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding-block: 2rem; }
.date-heading .eyebrow { margin-bottom: .35rem; color: #e3c2b1; }
.date-heading h2 { margin: 0; font-size: 1.5rem; font-weight: 600; }
.date-list { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; margin: 0; padding: 0; list-style: none; }
.date-list li { font-size: .86rem; white-space: nowrap; }
.date-link { color: #f4d0bd; font-size: .85rem; font-weight: 650; text-underline-offset: .3em; white-space: nowrap; }
.date-link:hover { color: #fff; }

.intro-section { display: grid; grid-template-columns: .65fr 2fr; column-gap: 3rem; row-gap: 3rem; }
.intro-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.intro-content h2, .topics-heading h2, .course-aside h2, .audience-inner h2, .profile-content h2, .pricing-intro h2, .onsite-copy h2, .contact-inner h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4.4vw, 4.3rem); font-weight: 600; }
.intro-text, .topics-heading > p, .course-aside > p:not(.eyebrow), .profile-content > p:not(.eyebrow), .onsite-copy > p:last-child, .contact-inner > div > p:not(.eyebrow) { color: var(--muted); }
.intro-text p:last-of-type { margin-bottom: 1.4rem; }
.learning-image { grid-column: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) .9fr; gap: 1.5rem; align-items: end; }
.learning-image img { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: 3px; }
.learning-image p { max-width: 220px; margin: 0; color: var(--muted); font-size: .9rem; }

.topics-section { background: var(--surface); }
.topics-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.topics-heading > p { max-width: 440px; margin-bottom: 0; }
.topic-rows { border-top: 1px solid #c9cbc4; }
.topic-row { display: grid; grid-template-columns: .85fr 1.5fr .65fr; gap: 2rem; align-items: baseline; padding-block: 1.6rem; border-bottom: 1px solid #c9cbc4; }
.topic-row h3 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.035em; }
.topic-row p { max-width: 600px; margin: 0; color: var(--muted); font-size: .93rem; }
.topic-detail { color: var(--accent); font-size: .78rem; font-weight: 650; text-align: right; }

.course-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.course-aside h2 { margin-bottom: 1.5rem; }
.course-aside > p:not(.eyebrow) { max-width: 480px; }
.course-aside .text-link { margin-top: .75rem; }
.course-facts { border-top: 1px solid var(--border); }
.fact-block { display: grid; grid-template-columns: 145px 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border); }
.fact-label { color: var(--accent); font-size: .85rem; font-weight: 700; }
.fact-block p { margin: 0; color: var(--muted); }
.course-note { margin-top: 1.5rem; padding: 1.4rem; border: 1px solid var(--border); border-radius: 4px; background: #f0efe9; }
.course-note strong { font-size: .86rem; }
.course-note p { margin: .4rem 0 0; color: var(--muted); font-size: .88rem; }

.audience-band { background: #e3e7df; padding-block: clamp(4.5rem, 8vw, 7rem); }
.audience-inner { display: grid; grid-template-columns: .65fr 1.35fr; gap: 1.5rem 4rem; }
.audience-inner .eyebrow { grid-column: 1; margin: 0; }
.audience-inner h2, .audience-inner > p:not(.eyebrow), .audience-tags { grid-column: 2; }
.audience-inner > p:not(.eyebrow) { max-width: 620px; margin: 0; color: var(--muted); }
.audience-tags { display: flex; flex-wrap: wrap; gap: .55rem; }
.audience-tags span { padding: .4rem .7rem; border: 1px solid #b5c0b5; border-radius: 3px; font-size: .78rem; }

.profile-section { display: grid; grid-template-columns: .7fr 1.2fr .6fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.profile-mark { width: min(100%, 240px); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid #c9b9ae; border-radius: 50%; color: var(--accent); font-size: clamp(4rem, 8vw, 7rem); font-weight: 300; letter-spacing: -.08em; }
.profile-content h2 { margin-bottom: 1.3rem; }
.profile-content > p:not(.eyebrow) { max-width: 500px; }
.profile-caption { display: flex; flex-direction: column; align-self: end; color: var(--muted); font-size: .8rem; }

.pricing-section { background: var(--dark); color: #f7f6f2; }
.pricing-inner { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(3rem, 9vw, 9rem); padding-block: var(--space); }
.pricing-intro .eyebrow { color: #e3c2b1; }
.pricing-intro h2 { font-size: clamp(3rem, 6vw, 5.5rem); }
.pricing-intro h2 em { color: #e3c2b1; }
.pricing-intro > p:last-child { max-width: 380px; margin-top: 1.5rem; color: #d3dad3; }
.pricing-details h3 { margin-bottom: 1rem; font-size: 1.35rem; font-weight: 600; }
.pricing-details ul { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 2rem; margin: 0; padding: 1.4rem 0; border-block: 1px solid #626b64; list-style: none; }
.pricing-details li { color: #ecf0ea; font-size: .9rem; }
.pricing-details li::before { content: '—'; margin-right: .55rem; color: #e3c2b1; }
.pricing-extra { margin: 1rem 0; color: #d3dad3; font-size: .88rem; }
.pricing-extra strong { color: #fff; }
.pricing-details .button { margin-top: .6rem; }
.pricing-small { max-width: 440px; margin: .9rem 0 0; color: #c4cdc5; font-size: .8rem; }

.onsite-section { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 5rem; }
.onsite-copy h2 { margin-bottom: 1.3rem; }
.onsite-copy > p:last-child { max-width: 620px; margin: 0; }
.onsite-rate { max-width: 390px; padding: 2rem; border: 1px solid var(--border); border-radius: 4px; background: #f0efe9; }
.onsite-rate span { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.onsite-rate p { margin: .9rem 0 1.25rem; color: var(--muted); }
.contact-section { background: var(--surface); }
.contact-inner { display: grid; grid-template-columns: 1fr .65fr; gap: clamp(3rem, 8vw, 8rem); padding-block: var(--space); }
.contact-inner h2 { margin-bottom: 1.2rem; }
.contact-inner > div > p:not(.eyebrow) { max-width: 520px; margin-bottom: 1.7rem; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: 1.5rem 0 0 2rem; border-left: 1px solid #b6aaa0; font-style: normal; }
.contact-label { color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-card strong { font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; }
.contact-card a:not(.text-link) { font-size: .95rem; text-underline-offset: .25em; }
.contact-card > span:not(.contact-label) { margin-top: .35rem; color: var(--muted); line-height: 1.5; }
.contact-card .text-link { margin-top: .5rem; }

.site-footer { padding-block: 2.2rem 1.3rem; background: #1d2420; color: #f7f6f2; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: center; padding-bottom: 2rem; }
.footer-wordmark .wordmark-symbol { background: #f7f6f2; color: var(--dark); }
.footer-wordmark .wordmark-text small { color: #c4cdc5; }
.footer-main > p { margin: 0; color: #c4cdc5; font-size: .84rem; }
.footer-main > a:last-child { color: #f4d0bd; font-size: .88rem; text-underline-offset: .3em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; border-top: 1px solid #505952; color: #c4cdc5; font-size: .75rem; }
.footer-bottom a { text-decoration: none; }

@media (max-width: 900px) {
  .hero { gap: 2.5rem; }
  .date-inner { grid-template-columns: auto 1fr; }
  .date-link { grid-column: 2; }
  .intro-section { grid-template-columns: 1fr; }
  .intro-content, .learning-image { grid-column: 1; }
  .section-label { margin-bottom: -1rem; }
  .profile-section { grid-template-columns: .6fr 1fr; }
  .profile-caption { grid-column: 2; }
}
@media (max-width: 760px) {
  :root { --gutter: 1.25rem; --space: 5rem; }
  .header-inner { min-height: 70px; flex-wrap: wrap; gap: 0; }
  .has-menu .menu-toggle { display: flex; align-items: center; gap: .6rem; padding: .75rem 0 .75rem .5rem; border: 0; background: transparent; color: var(--ink); font: 600 .85rem var(--font); cursor: pointer; }
  .menu-icon { display: grid; gap: 5px; }
  .menu-icon i { width: 20px; height: 1px; display: block; background: currentColor; transition: transform 160ms ease-out; }
  .menu-toggle[aria-expanded='true'] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-navigation { flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1rem; }
  .has-menu .primary-navigation { display: none; }
  .has-menu .primary-navigation.is-open { display: flex; }
  .primary-navigation a { padding: .75rem 0; }
  .primary-navigation .nav-cta { margin-top: .4rem; padding: .75rem 1rem; text-align: center; }
  .hero { min-height: unset; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem 3rem; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.75rem); }
  .hero-image { height: min(110vw, 480px); }
  .hero-image figcaption { font-size: .7rem; }
  .date-inner { grid-template-columns: 1fr; gap: 1rem; }
  .date-link { grid-column: 1; justify-self: start; }
  .intro-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-content h2, .topics-heading h2, .course-aside h2, .audience-inner h2, .profile-content h2, .pricing-intro h2, .onsite-copy h2, .contact-inner h2 { font-size: clamp(2.3rem, 9vw, 3.8rem); }
  .learning-image { grid-template-columns: 1fr; gap: .8rem; }
  .learning-image p { max-width: none; }
  .topics-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .topic-row { grid-template-columns: 1fr; gap: .5rem; }
  .topic-detail { text-align: left; }
  .course-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .fact-block { grid-template-columns: 1fr; gap: .35rem; }
  .audience-inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .audience-inner .eyebrow, .audience-inner h2, .audience-inner > p:not(.eyebrow), .audience-tags { grid-column: 1; }
  .profile-section { grid-template-columns: 1fr; gap: 1.7rem; }
  .profile-mark { width: 140px; font-size: 4.5rem; }
  .profile-caption { grid-column: 1; }
  .pricing-inner { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-details ul { grid-template-columns: 1fr; }
  .onsite-section { grid-template-columns: 1fr; gap: 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-card { padding-left: 1.25rem; }
  .footer-main { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
