/* Ausbildung rundum – statische Version */

/* Fonts (lokal eingebunden, keine Verbindung zu Google) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/open-sans-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/open-sans-latin-700-italic.woff2") format("woff2"); }

:root {
  --orange: #f4951a;
  --blue: #3fa4d6;
  --text: #828385;
  --grey-bg: #f6f6f6;
  --linkedin: #137eb9;
  --xing: #006464;
  --heading: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --container: 1060px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--body); font-size: 14px; line-height: 1.7em; font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading); color: var(--text); margin: 0; line-height: 1.33; font-weight: 700; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
strong, b { font-weight: 700; }
.icon { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: middle; flex-shrink: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }

.container { width: 80%; max-width: var(--container); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: #fff; height: 140px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; height: 100%; padding: 0 30px 0 22px; }
.logo { display: flex; align-items: center; gap: 22px; }
.logo img { height: 100px; width: auto; }
.tagline { font-family: var(--heading); font-size: 11px; letter-spacing: .02em; color: var(--blue); white-space: nowrap; font-weight: 500; }
.main-nav { margin-left: auto; display: flex; align-items: center; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: 0 11px; line-height: 140px; font-family: var(--heading); font-size: 16px; font-weight: 400; color: var(--blue); text-transform: uppercase; transition: opacity .2s; }
.menu > li > a:hover { opacity: .7; }
.menu > li.current > a { color: var(--orange); }
.sub-menu { list-style: none; margin: 0; padding: 20px 0; position: absolute; top: 100%; left: 0; width: 290px; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 2px 5px rgba(0,0,0,.1); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 6px 20px; font-family: var(--heading); font-size: 13px; line-height: 1.5; color: var(--blue); text-transform: uppercase; }
.sub-menu a:hover { background: rgba(0,0,0,.03); opacity: .8; }
.sub-menu li.current a { color: var(--orange); }
.social { display: flex; gap: 14px; margin-left: 22px; list-style: none; padding: 0; }
.social a { display: flex; font-size: 15px; }
.social a.linkedin { color: var(--linkedin); }
.social a.xing { color: var(--xing); }
.social a:hover { opacity: .7; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: var(--orange); font-size: 26px; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-family: var(--heading); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; line-height: 1; padding: 16px 33px; border-radius: 100px; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e08510; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: #2f93c6; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid #c9c9c9; font-size: 12px; padding: 14px 32px; }
.btn-ghost:hover { border-color: var(--text); }
.btn-outline-white { color: #fff; border: 1px solid #fff; font-family: var(--heading); font-weight: 400; font-size: 13.5px; letter-spacing: 1.3px; padding: 13px 34px; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-white { background: #fff; color: #333; font-size: 17px; letter-spacing: 1px; padding: 21px 42px; }
.btn-white:hover { background: rgba(255,255,255,.88); }

/* ---------- Hero (Bild) ---------- */
.hero { position: relative; background-size: cover; background-position: center; color: #fff; }
.hero-home { height: 664px; display: flex; align-items: center; background-position: center 12%; }
.hero-home .container { padding-top: 170px; }
.hero h1 { color: #fff; font-size: 52px; line-height: 1.3; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hero-list { list-style: none; margin: 16px 0 38px; padding: 0; font-size: 20px; line-height: 39px; text-shadow: 0 1px 5px rgba(0,0,0,.45); }
.hero-list li { display: flex; align-items: center; gap: 18px; }
.hero-list .icon { font-size: 14px; }
.hero-buttons { display: flex; gap: 17px; flex-wrap: wrap; }

.hero-profil { height: 664px; display: flex; align-items: center; background-size: cover; background-position: center 4%; }
.hero-profil .container { padding-top: 280px; }
.hero-profil h1 { font-size: 52px; }
.typed { font-family: var(--heading); font-size: 26px; text-transform: uppercase; letter-spacing: 1px; margin: 34px 0 48px; text-shadow: 0 1px 5px rgba(0,0,0,.4); }
.typed .cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Farbbänder ---------- */
.band { background: var(--orange); color: #fff; padding: 128px 0 118px; }
.band h1 { color: #fff; font-size: 55px; line-height: 73px; text-transform: uppercase; margin-bottom: 34px; }
.band p { font-size: 16px; line-height: 30px; }
.band .btn { margin-top: 8px; }
.band-legal { padding: 64px 0 66px; }
.band-legal h1 { text-transform: none; margin-bottom: 0; font-size: 52px; }
.band-legal.has-cols h1 { margin-bottom: 28px; }
.legal-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; font-size: 16px; line-height: 30px; }
.legal-cols a { color: #fff; }

.band-blue { background: var(--blue); color: #fff; padding: 168px 0 168px; }
.band-blue h2 { color: #fff; font-size: 36px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 58px; }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.contact-list li { display: flex; align-items: center; gap: 24px; height: 40px; margin-bottom: 21px; }
.contact-list li:last-child { margin-bottom: 0; }
.contact-list .icon { font-size: 30px; width: 36px; }
.contact-list a { color: #fff; }

/* ---------- Startseite ---------- */
.welcome { padding: 72px 0 0; }
.welcome h2 { font-size: 38px; line-height: 50.5px; text-transform: uppercase; letter-spacing: 0; }
.blurbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; text-align: center; align-items: end; }
.blurb .icon { font-size: 50px; color: var(--orange); margin-bottom: 14px; }
.blurb h6 { font-size: 19.5px; line-height: 1.4; margin-bottom: 18px; font-weight: 700; }
.blurb p { font-size: 17px; line-height: 30px; }
.claim { padding: 66px 0 0; }
.claim h4 { font-size: 25px; line-height: 34px; text-transform: uppercase; letter-spacing: .5px; }

.praxis { padding: 110px 0 140px; }
.praxis > .container > h2 { text-align: center; font-size: 38px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 55px; }
.posts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.post-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 20px; }
.post-card h2 { font-size: 21px; line-height: 27px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.post-card h2 a { color: var(--text); }
.post-meta { font-size: 14px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.post-meta .icon { font-size: 13px; }
.post-card p { font-size: 16px; line-height: 30px; margin-bottom: 25px; }

.logo-band { background: var(--grey-bg); padding: 97px 0; }
.logo-row { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; justify-items: center; gap: 30px; }
.logo-row img { width: 200px; max-width: 100%; }

/* ---------- Leistungen ---------- */
.service-links { padding: 64px 0 90px; }
.service-links a { display: block; text-align: center; border: 2px solid var(--orange); border-radius: 100px; color: var(--orange); font-family: var(--heading); font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1; padding: 16.5px 20px; margin-bottom: 35px; transition: background-color .2s, color .2s; }
.service-links a:last-child { margin-bottom: 0; }
.service-links a:hover { background: var(--orange); color: #fff; }

/* ---------- Leistungs-Detailseiten ---------- */
.detail { padding: 122px 0 108px; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.detail-row:last-child { margin-bottom: 0; }
.detail-row h2 { text-align: right; color: var(--orange); font-size: 38px; line-height: 1.33; text-transform: uppercase; letter-spacing: .5px; margin-top: -8px; }
.detail-row .sub { text-align: right; color: var(--orange); text-transform: uppercase; font-size: 14px; margin-top: 4px; }
.detail-row p { font-size: 16px; line-height: 30px; }
.checklist { list-style: none; margin: 30px 0 0; padding: 0; }
.checklist li { position: relative; display: flex; align-items: center; min-height: 40px; padding-left: 97px; font-size: 16px; line-height: 30px; margin-bottom: 28px; }
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 25px; top: 50%; width: 23px; height: 23px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23333' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checklist li:not(:last-child)::after { content: ""; position: absolute; left: 34px; top: calc(50% + 22px); bottom: -22px; border-left: 2px solid #9a9b9d; }

.cta { background: var(--orange); padding: 120px 0 96px; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: 38px; text-transform: uppercase; letter-spacing: .5px; }

/* ---------- Profil ---------- */
.profil-intro { padding: 66px 0 0; text-align: center; }
.profil-intro h2, .profil-cv h2 { font-weight: 400; font-size: 38px; text-transform: uppercase; letter-spacing: 1px; line-height: 1.3; }
.profil-intro h3 { font-size: 27px; text-transform: uppercase; letter-spacing: 1px; margin-top: 14px; }
.ibox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px 60px; margin-top: 42px; text-align: left; }
.ibox { display: flex; gap: 20px; }
.ibox > .icon { font-size: 28px; color: var(--orange); margin-top: 2px; width: 34px; }
.ibox h5 { font-size: 21px; line-height: 1.4; margin-bottom: 10px; }
.ibox ul { margin: 0; padding-left: 26px; font-size: 16px; line-height: 30px; }
.ibox ul ul { padding-left: 26px; margin: 8px 0 8px; }
.ibox li { margin-bottom: 7px; }
.ibox li::marker { font-size: 11px; }
.referenzen { padding: 190px 0 250px; text-align: center; }
.referenzen h5 { font-weight: 400; font-size: 24px; margin-bottom: 30px; }
.ref-logos { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; justify-items: center; gap: 24px; }
.ref-logos img { max-width: 150px; max-height: 80px; width: auto; }
.profil-cv { padding: 0 0 100px; }
.profil-cv h2 { text-align: center; margin-bottom: 44px; }
.profil-cv .inner { max-width: 845px; margin: 0 auto; }
.profil-cv .ibox { margin-bottom: 60px; }
.profil-cv .ibox:last-child { margin-bottom: 0; }

/* ---------- Beiträge ---------- */
.post-hero { position: relative; background-size: cover; background-position: center; text-align: center; color: #fff; padding: 176px 0 186px; }
.post-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.post-hero .container { position: relative; }
.post-hero .cat { display: inline-block; background: rgba(0,0,0,.5); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 11px; text-transform: uppercase; line-height: 1; padding: 6px 12px; border-radius: 12px; margin-bottom: 16px; }
.post-hero h1 { color: #fff; font-size: 54px; line-height: 1.3; }
.post-body { padding: 70px 0 130px; }
.post-body h3 { font-size: 28px; line-height: 38px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 18px; }
.post-body p { font-size: 16px; line-height: 30px; margin-bottom: 23px; }
.post-body .btn { margin-top: 0; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 50px 0 90px; }
.legal-impressum h3 { font-size: 24px; line-height: 32px; margin: 34px 0 18px; }
.legal-impressum h3:first-child { margin-top: 0; }
.legal h2 { font-size: 38px; line-height: 50px; text-transform: uppercase; letter-spacing: 1px; margin: 54px 0 22px; }
.legal h2:first-child, .legal h2 + h3 { margin-top: 0; }
.legal h3 { font-size: 30px; line-height: 40px; text-transform: uppercase; letter-spacing: 1px; margin: 36px 0 22px; }
.legal h4 { font-size: 15px; font-family: var(--body); font-weight: 700; margin: 0 0 20px; }
.legal p, .legal li { font-size: 16px; line-height: 30px; }
.legal p { margin-bottom: 23px; }
.legal ul { margin: 0 0 23px; padding-left: 24px; }
.legal a { word-break: break-word; }
.legal .stand { margin-top: 40px; font-style: italic; }
.todo { background: #fff3b0; color: #6b5300; padding: 0 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--orange); color: #fff; text-align: center; padding: 40px 0 41px; font-size: 15px; line-height: 16px; }
.site-footer p { margin: 0 0 30px; }
.site-footer p:last-child { margin: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { text-decoration: underline; }
.cta + .site-footer { padding-top: 0; }

.to-top { position: fixed; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 5px; background: rgba(0,0,0,.3); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; z-index: 40; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: rgba(0,0,0,.45); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu > li > a { padding: 0 8px; font-size: 14px; }
  .tagline { display: none; }
}
@media (max-width: 980px) {
  .site-header { height: 100px; }
  .header-inner { padding: 0 5%; }
  .logo img { height: 74px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 3px solid var(--orange); box-shadow: 0 2px 5px rgba(0,0,0,.1); flex-direction: column; align-items: stretch; padding: 10px 5% 20px; }
  .main-nav.open { display: flex; }
  .menu { flex-direction: column; }
  .menu > li > a { line-height: 1.4; padding: 10px 0; font-size: 15px; border-bottom: 1px solid rgba(0,0,0,.05); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; width: auto; padding: 0 0 0 16px; }
  .sub-menu a { padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,.05); }
  .social { margin: 16px 0 0; }
  .hero-home, .hero-profil { height: auto; min-height: 520px; padding: 60px 0; background-size: cover; background-position: 60% center; }
  .hero-home .container, .hero-profil .container { padding-top: 0; }
  .hero h1, .hero-profil h1 { font-size: 38px; }
  .hero-list { font-size: 16px; line-height: 1.6; }
  .hero-list li { margin-bottom: 8px; align-items: flex-start; }
  .hero-list .icon { margin-top: 5px; }
  .typed { font-size: 20px; }
  .band { padding: 70px 0; }
  .band h1 { font-size: 34px; line-height: 1.3; }
  .band-legal h1 { font-size: 36px; }
  .legal-cols { grid-template-columns: 1fr; gap: 16px; }
  .band-blue { padding: 80px 0; }
  .band-blue h2 { font-size: 30px; margin-bottom: 36px; }
  .welcome h2, .praxis > .container > h2, .cta h2, .profil-intro h2, .profil-cv h2 { font-size: 26px; line-height: 1.35; }
  .claim h4 { font-size: 20px; line-height: 1.4; }
  .blurbs { grid-template-columns: 1fr; gap: 44px; }
  .praxis { padding: 80px 0; }
  .posts { grid-template-columns: minmax(0, 1fr); gap: 60px; }
  .logo-band { padding: 60px 0; }
  .logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .detail { padding: 70px 0; }
  .detail-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 44px; }
  .detail-row h2, .detail-row .sub { text-align: left; }
  .detail-row h2 { font-size: 28px; margin-top: 0; }
  .checklist li { padding-left: 60px; }
  .checklist li::before { left: 8px; }
  .checklist li:not(:last-child)::after { left: 18px; }
  .cta { padding: 80px 0 60px; }
  .ibox-grid { grid-template-columns: 1fr; }
  .referenzen { padding: 90px 0 110px; }
  .ref-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .post-hero { padding: 100px 0; }
  .post-hero h1 { font-size: 34px; }
  .post-body h3, .legal h3 { font-size: 22px; line-height: 1.4; }
  .legal h2 { font-size: 26px; line-height: 1.35; }
}
@media (max-width: 480px) {
  .container { width: 88%; }
  .hero-home::before, .hero-profil::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
  .hero-home .container, .hero-profil .container { position: relative; }
  .welcome h2, .profil-intro h2, .profil-cv h2 { font-size: 22px; }
  .band h1 { font-size: 26px; }
  .hero h1, .hero-profil h1 { font-size: 32px; }
  .band h1 { font-size: 28px; }
  .service-links a { font-size: 12px; letter-spacing: .5px; line-height: 1.3; padding: 14px 16px; }
  .btn-outline-white { white-space: normal; line-height: 1.4; }
  .btn-white { font-size: 14px; padding: 16px 30px; }
}
