/* ==========================================================================
   Felix Gebhard IT Beratung – Stylesheet
   ========================================================================== */
@font-face {
  font-family: "Spinnaker";
  src: url("../fonts/spinnaker.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1a2b6d;
  --navy-dark: #101a45;
  --red: #d41317;
  --grey: #f3f5f9;
  --line: #e1e5ee;
  --text: #1f2430;
  --muted: #55607a;
  --wrap: 1180px;
  --radius: 4px;
  --shadow: 0 2px 14px rgba(26, 43, 109, .08);
  --heading: "Spinnaker", "Helvetica Neue", Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--text); background: #fff; font: 400 1.0625rem/1.7 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
main:focus { outline: none; }
address { font-style: normal; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 880px; }
.center { text-align: center; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--radius) var(--radius); transition: top .2s; }
.skip:focus { top: 0; color: #fff; }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--heading); font-weight: 400; color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; line-height: 1.65; }
.lead-lg { font-size: clamp(1.1rem, 1.8vw, 1.3rem); line-height: 1.65; color: var(--text); max-width: 900px; margin: 0; }
.eyebrow { display: inline-block; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 3px solid var(--red); color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--dark { color: var(--navy); }
.plain-h1 { color: var(--navy); }

.section { padding: 84px 0; }
.section--grey { background: var(--grey); }
.section-title { margin-bottom: 1.1em; position: relative; padding-bottom: .5em; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--red); }
.section-title.center::after { left: 50%; transform: translateX(-50%); }

/* ---------- Header / Navigation ---------- */
.site-header { background: #fff; position: relative; z-index: 20; border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 108px; }
.logo { display: block; flex: none; }
.logo img { display: block; width: 240px; height: auto; }

.site-header nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-header nav > ul > li { position: relative; }
.site-header nav a { position: relative; display: block; padding: 14px 20px; text-decoration: none; color: var(--navy); font-size: 1rem; letter-spacing: .01em; transition: color .2s ease; }
.site-header nav > ul > li > a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 8px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-header nav > ul > li:hover > a::after, .site-header nav > ul > li:focus-within > a::after,
.site-header nav > ul > li > a[aria-current="page"]::after, .site-header nav > ul > li.parent-active > a::after { transform: scaleX(1); }
.site-header nav > ul > li > a:hover, .site-header nav > ul > li:focus-within > a { color: var(--red); }
.site-header nav > ul > li > a[aria-current="page"], .site-header nav > ul > li.parent-active > a { color: var(--navy); font-weight: 700; }
.site-header .has-sub > a { padding-right: 38px; }
.site-header .has-sub > a::before { content: ""; position: absolute; right: 20px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s ease; }
.site-header .has-sub:hover > a::before, .site-header .has-sub:focus-within > a::before { transform: rotate(225deg); margin-top: -2px; }
.site-header .has-sub > a::after { right: 38px; }
.site-header .sub { list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 14px 30px rgba(26, 43, 109, .18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.site-header .has-sub:hover .sub, .site-header .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.site-header .sub a { padding: 12px 22px; white-space: nowrap; color: var(--navy); border-left: 3px solid transparent; }
.site-header .sub a:hover, .site-header .sub a:focus-visible { background: var(--grey); color: var(--red); border-left-color: var(--red); }
.site-header .sub a[aria-current="page"] { font-weight: 700; border-left-color: var(--navy); }
.nav-toggle, .nav-burger { display: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: stretch; text-decoration: none; color: #fff; font-weight: 700; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(26, 43, 109, .18); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26, 43, 109, .25); }
.btn-plus { background: var(--navy); min-width: 54px; display: grid; place-items: center; font-size: 1.35rem; font-weight: 400; }
.btn-label { background: var(--red); padding: 15px 34px; }
.btn--on-dark .btn-plus { background: #fff; color: var(--navy); }
.btn--alt .btn-label { background: transparent; box-shadow: inset 0 0 0 2px #fff; }
.btn--alt .btn-plus { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn--alt:not(.btn--on-dark) .btn-label { box-shadow: inset 0 0 0 2px var(--navy); color: var(--navy); }
.btn--alt:not(.btn--on-dark) .btn-plus { box-shadow: inset 0 0 0 2px var(--navy); background: var(--navy); color: #fff; }
.btn--alt:hover .btn-label { background: rgba(255, 255, 255, .12); }
.btn--alt:not(.btn--on-dark):hover .btn-label { color: var(--navy); background: var(--grey); }
.social { display: flex; gap: 12px; margin: 0; }
.social a { display: block; transition: transform .2s ease; }
.social a:hover { transform: translateY(-3px); }
.social img { display: block; width: 36px; height: 36px; }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-dark); }
.hero-bg { position: absolute; inset: 0; transition: filter 1s ease; background:
  linear-gradient(90deg, rgba(16, 26, 69, .9) 0%, rgba(16, 26, 69, .72) 48%, rgba(16, 26, 69, .25) 100%),
  url("../img/hero-2000.jpg") center / cover no-repeat fixed; }
@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  .hero-bg { background-image:
    linear-gradient(90deg, rgba(16, 26, 69, .9) 0%, rgba(16, 26, 69, .72) 48%, rgba(16, 26, 69, .25) 100%),
    image-set(url("../img/hero-2000.webp") type("image/webp"), url("../img/hero-2000.jpg") type("image/jpeg")); }
}
.hero-bg.hero-loading { filter: blur(14px); }
.hero-in { position: relative; padding-top: 110px; padding-bottom: 120px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 4.8rem); margin-bottom: .4em; max-width: 14ch; }
.hero-sub { font-family: var(--heading); font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: #fff; margin: -.2em 0 1em; max-width: 30ch; line-height: 1.3; }
.hero-text { max-width: 640px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.7; color: rgba(255, 255, 255, .95); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.center-actions { justify-content: center; }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.page-hero { position: relative; color: #fff; padding: 58px 0 64px; background: linear-gradient(120deg, var(--navy-dark), var(--navy)); }
.page-hero--profil { background: linear-gradient(90deg, rgba(16, 26, 69, .92), rgba(26, 43, 109, .72)), url("../img/banner-profil.jpg") center / cover; }
.page-hero--cloud { background: linear-gradient(90deg, rgba(16, 26, 69, .92), rgba(26, 43, 109, .7)), url("../img/banner-cloud.jpg") center / cover; }
@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  .page-hero--profil { background-image: linear-gradient(90deg, rgba(16, 26, 69, .92), rgba(26, 43, 109, .72)), image-set(url("../img/banner-profil.webp") type("image/webp"), url("../img/banner-profil.jpg") type("image/jpeg")); }
  .page-hero--cloud { background-image: linear-gradient(90deg, rgba(16, 26, 69, .92), rgba(26, 43, 109, .7)), image-set(url("../img/banner-cloud.webp") type("image/webp"), url("../img/banner-cloud.jpg") type("image/jpeg")); }
}
.page-hero--slim { padding: 40px 0 44px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero-lead { margin: 0; max-width: 760px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: rgba(255, 255, 255, .92); }
.crumbs { margin-bottom: 22px; font-size: .92rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "›"; margin: 0 10px; opacity: .6; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }

/* ---------- Über mich / Profil-Intro ---------- */
.about-grid { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: 72px; align-items: center; }
.about-photo { position: relative; isolation: isolate; }
.about-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--navy); z-index: -1; }
.about-photo img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h2 { margin-bottom: .8em; }
.about-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; margin-top: 28px; }
.stats { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats li { background: var(--grey); border-top: 4px solid var(--red); padding: 22px 22px 20px; border-radius: var(--radius); }
.stat-num { display: block; font-family: var(--heading); font-size: 1.5rem; line-height: 1.2; color: var(--navy); }
.stat-label { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* ---------- Schwerpunkte (Startseite) ---------- */
.band { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%); color: #fff; padding: 84px 0 90px; }
.band h2 { color: #fff; margin-bottom: .3em; }
.band-lead { max-width: 640px; color: rgba(255, 255, 255, .85); margin-bottom: 56px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 130px 24px; }
.card-wrap { position: relative; display: flex; flex-direction: column; }
.card { position: relative; width: 100%; flex: 1; display: flex; flex-direction: column; background: #fff; color: var(--text); padding: 28px 26px 26px; border-radius: var(--radius); z-index: 1; }
.card::after { content: ""; position: absolute; inset: 0; transform: translate(10px, 10px); border: 1px solid rgba(255, 255, 255, .55); border-top: 0; border-left: 0; background: rgba(255, 255, 255, .1); z-index: -1; }
.card h3 { margin-top: 0; font-size: 1.4rem; }
.card p { margin: 0 0 18px; font-size: 1rem; }
.card .more-row { margin: auto 0 0; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; }
.more { white-space: nowrap; font-weight: 700; font-size: .95rem; color: var(--red); text-decoration: none; }
.more:hover { color: var(--navy); text-decoration: underline; }
.more span { display: inline-block; transition: transform .2s ease; }
.more:hover span { transform: translateX(4px); }
.badge { position: absolute; left: 0; right: 0; top: calc(100% - 14px); z-index: 2; display: flex; justify-content: center; }
.badge img { width: 110px; height: 110px; display: block; }
.badge-aws { height: 110px; }
.badge-aws img { position: absolute; top: 0; margin-left: -75px; }
.badge-aws img:nth-child(1) { left: calc(50% + 28px); opacity: .5; }
.badge-aws img:nth-child(2) { left: calc(50% + 20px); opacity: .65; }
.badge-aws img:nth-child(3) { left: calc(50% + 12px); opacity: .8; }
.badge-aws img:nth-child(4) { left: calc(50% + 2px); }

/* ---------- Referenzen-Slider ---------- */
.refs { padding-bottom: 0; background: var(--grey); overflow: hidden; }
.slideshow { position: relative; padding: 24px 90px 78px; min-height: 300px; }
.slides { position: relative; text-align: center; }
.slide { padding: 0 10px; }
.js .slideshow.ready .slide { position: absolute; inset: 0 0 auto 0; opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.js .slideshow.ready .slide.active { position: relative; opacity: 1; visibility: visible; transform: none; }
.slide h3 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0 0 .5em; }
.slide p { max-width: 680px; margin: 0 auto; font-size: 1.1rem; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--navy); cursor: pointer; padding: 14px; transition: transform .25s ease, color .2s; }
.arrow:hover { color: var(--red); }
.arrow.prev { left: 24px; }
.arrow.next { right: 24px; }
.arrow.prev:hover { transform: translateY(-50%) translateX(-5px); }
.arrow.next:hover { transform: translateY(-50%) translateX(5px); }
.dots { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--navy); background: var(--navy); padding: 0; cursor: pointer; transition: all .25s ease; }
.dot.active { background: transparent; transform: scale(1.3); }
.arrow:focus-visible, .dot:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Karten (Unterseiten) ---------- */
.card-grid { display: grid; gap: 28px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 30px 32px 22px; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; scroll-margin-top: 24px; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(26, 43, 109, .14); }
.feature h2, .feature h3 { font-size: 1.4rem; margin: 0 0 .7em; }
.ticks { list-style: none; margin: 0 0 .6em; padding: 0; }
.ticks li { position: relative; padding-left: 24px; margin: 0 0 .75em; line-height: 1.6; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--red); transform: rotate(45deg) scale(.85); }
.intro-split { display: flex; align-items: center; gap: 32px; margin-bottom: 52px; }
.intro-icon { flex: none; width: auto; height: 80px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 16px; box-shadow: var(--shadow); }

.skill-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: stretch; }
.skill-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); padding: 28px 32px 14px; box-shadow: var(--shadow); scroll-margin-top: 24px; }
.skill-card.wide { grid-column: 1 / -1; }
.feature.wide { grid-column: 1 / -1; background: linear-gradient(120deg, #fff, var(--grey)); border-top-color: var(--red); }
.skill-col { display: grid; gap: 28px; align-content: start; }
.skill-card h3 { font-size: 1.5rem; margin-bottom: .7em; }
.skills { list-style: none; margin: 0; padding: 0; }
.skill-card.wide .skills { columns: 2; column-gap: 48px; }
.skills li { break-inside: avoid; padding: 12px 0; border-top: 1px solid var(--line); }
.skills li:first-child { border-top: 0; padding-top: 0; }
.term { display: block; color: var(--navy); font-weight: 700; line-height: 1.4; }
.desc { display: block; margin-top: 3px; color: var(--muted); font-size: .97rem; line-height: 1.6; }

.cert-badges { list-style: none; margin: 0 0 40px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.cert-badges img { display: block; width: 128px; height: 128px; }

.info-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 34px 30px 28px; box-shadow: var(--shadow); text-align: center; }
.info-icon { color: var(--navy); margin-bottom: 14px; display: flex; justify-content: center; }
.info-card h2 { font-size: 1.5rem; margin-bottom: .5em; }
.info-card p, .info-card address { margin: 0; }
.info-card a { font-weight: 700; word-break: break-word; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line); }
.contact-social { display: flex; align-items: center; gap: 18px; color: var(--muted); }

.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.rel-card { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 24px 26px; text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; }
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(26, 43, 109, .14); color: var(--text); }
.rel-title { font-family: var(--heading); font-size: 1.5rem; color: var(--navy); }
.rel-text { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.rel-more { margin-top: auto; padding-top: 8px; color: var(--red); font-weight: 700; font-size: .95rem; }

/* ---------- Call to Action ---------- */
.cta { background: linear-gradient(120deg, var(--navy-dark), var(--navy)); color: #fff; padding: 64px 0; }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta h2 { color: #fff; margin: 0 0 .3em; }
.cta p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- Rechtstexte ---------- */
.legal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px clamp(22px, 5vw, 56px); box-shadow: var(--shadow); }
.legal h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal p { overflow-wrap: anywhere; }
.legal ul { padding-left: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .85); font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.f-title { font-family: var(--heading); font-size: 1.6rem; color: #fff; margin: 0 0 .3em; }
.f-head { margin: 0 0 .9em; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .55em; }
.site-footer .social { margin-top: 16px; }
.f-bottom { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 22px; padding-bottom: 28px; }
.f-bottom p { margin: 0; font-size: .9rem; opacity: .8; }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .feature.reveal.in:hover, .js .rel-card.reveal.in:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
.ki-grid { margin-top: 40px; }
.feature p { margin: 0 0 .8em; }
@media (max-width: 1199px) {
  .cards { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 36px 28px; align-items: start; }
  .badge { position: relative; top: auto; margin-top: -14px; }
  .badge-aws { width: 150px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}
@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .header-in { min-height: 84px; position: relative; }
  .logo img { width: 180px; }
  .nav-burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; }
  .nav-burger span { width: 28px; height: 3px; background: var(--navy); display: block; border-radius: 2px; }
  .site-header nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; display: none; box-shadow: 0 12px 20px rgba(26, 43, 109, .15); border-top: 1px solid var(--line); }
  .nav-toggle:checked ~ nav { display: block; }
  .site-header nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav > ul > li { border-top: 1px solid var(--line); }
  .site-header nav > ul > li:first-child { border-top: 0; }
  .site-header nav a { padding: 15px 24px; }
  .site-header nav > ul > li > a::after, .site-header .has-sub > a::before { display: none; }
  .site-header nav > ul > li > a[aria-current="page"] { border-left: 4px solid var(--red); padding-left: 20px; }
  .site-header .has-sub > a { padding-right: 24px; }
  .site-header .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: 0; background: #f6f8fc; padding: 0; min-width: 0; }
  .site-header .sub a { padding: 13px 24px 13px 44px; border-left: 0; }
  .site-header .sub a:hover { border-left: 0; }

  .hero-bg { background-attachment: scroll;
    background-image: linear-gradient(180deg, rgba(16, 26, 69, .85), rgba(16, 26, 69, .7)), url("../img/hero-1000.jpg"); }
  @supports (background-image: image-set(url("a.webp") type("image/webp"))) {
    .hero-bg { background-image: linear-gradient(180deg, rgba(16, 26, 69, .85), rgba(16, 26, 69, .7)), image-set(url("../img/hero-1000.webp") type("image/webp"), url("../img/hero-1000.jpg") type("image/jpeg")); }
  }
  .hero-in { padding-top: 70px; padding-bottom: 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { max-width: 360px; margin-right: 18px; }
  .cards { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 36px; }
  .badge { position: relative; top: auto; margin-top: -14px; }
  .badge-aws { width: 150px; margin-left: auto; margin-right: auto; }
  .slideshow { padding: 24px 20px 84px; }
  .arrow { top: auto; bottom: 18px; transform: none; }
  .arrow.prev { left: 16px; } .arrow.next { right: 16px; }
  .arrow.prev:hover, .arrow.next:hover { transform: none; }
  .card-grid--2, .card-grid--3, .skill-grid, .rel-grid { grid-template-columns: 1fr; }
  .skill-card.wide .skills { columns: 1; }
  .intro-split { flex-direction: column; align-items: flex-start; gap: 20px; }
  .contact-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 52px 0; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .btn-label { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { transition: none; }
}
@media print {
  .site-header, .site-footer, .cta, .hero-actions, .skip { display: none; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1, .hero-lead, .hero-text, .crumbs a, .crumbs [aria-current] { color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- FAQ-Akkordeon & Kernkompetenzen ---------- */
.faq-grid { align-items: start; }
.faq-item { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 26px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.2rem; }
.faq-item summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(45deg); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-item summary:hover h3 { color: var(--red); }
.faq-item p { margin: 0; padding: 0 26px 24px; color: var(--text); }
.chips-wrap { margin-top: 56px; }
.chips-title { font-size: 1.4rem; margin: 0 0 .8em; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { background: var(--grey); border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .95rem; padding: 7px 16px; border-radius: 999px; line-height: 1.4; }
.faq-list { display: grid; gap: 16px; }

/* ---------- Zertifikats-Stapel (AWS Professional vorn, weitere dahinter unscharf) ---------- */
.cert-badges { align-items: center; gap: 56px; }
.badge-stack { position: relative; width: 196px; height: 128px; }
.badge-stack .bs { position: absolute; top: 0; width: 128px; height: 128px; display: block; }
.badge-stack .bs0 { left: 0; z-index: 4; }
.badge-stack .bs1 { left: 22px; z-index: 3; filter: blur(1.6px); opacity: .9; }
.badge-stack .bs2 { left: 44px; z-index: 2; filter: blur(2.6px); opacity: .75; }
.badge-stack .bs3 { left: 66px; z-index: 1; filter: blur(3.6px); opacity: .6; }
@media (max-width: 520px) { .cert-badges { gap: 28px; } .badge-stack { width: 168px; } .badge-stack .bs1 { left: 16px; } .badge-stack .bs2 { left: 32px; } .badge-stack .bs3 { left: 48px; } }
