/* ========== Fonts (selbst gehostet) ========== */
@font-face { font-family: 'Josefin Sans'; font-weight: 600; font-display: swap; src: url(/fonts/josefin/josefin-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Josefin Sans'; font-weight: 700; font-display: swap; src: url(/fonts/josefin/josefin-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 400; font-display: swap; src: url(/fonts/nunito/nunito-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 600; font-display: swap; src: url(/fonts/nunito/nunito-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 700; font-display: swap; src: url(/fonts/nunito/nunito-sans-latin-700-normal.woff2) format('woff2'); }

:root {
  --red: #e63924;
  --red-dark: #c42d1a;
  --blue: #0f729a;
  --blue-dark: #0a5675;
  --blue-70: rgba(15, 114, 154, .78);
  --sky: #7fcff5;
  --sky-soft: #e8f5fc;
  --teal-dark: #1a606e;
  --text: #33373d;
  --muted: #6b7178;
  --line: #e4e7ea;
  --bg: #f8f8f8;
  --white: #fff;
  --head: 'Josefin Sans', system-ui, sans-serif;
  --body: 'Nunito Sans', system-ui, sans-serif;
  --maxw: 1240px;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .07);
  --shadow-lg: 0 2px 4px rgba(16, 24, 40, .05), 0 22px 48px rgba(16, 24, 40, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--head); margin: 0 0 .5em; line-height: 1.15; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ========== Typo-Bausteine ========== */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--red); font: 700 14px/1.4 var(--head); letter-spacing: .22em; text-transform: uppercase; margin: 0 0 14px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light, .title.light { color: #fff; }
.title { color: var(--blue); font: 700 clamp(32px, 4.2vw, 50px)/1.08 var(--head); margin: 0 0 22px; letter-spacing: -.01em; }
.subtitle { color: var(--blue); font: 700 clamp(25px, 2.6vw, 32px)/1.15 var(--head); margin: 0 0 16px; }
.subtitle small { color: var(--muted); font-size: .6em; font-weight: 600; }
.lead-left { font-size: 20px; color: var(--text); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--red); color: #fff;
  font: 700 15px/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; padding: 16px 26px 13px; text-decoration: none;
  border: 2px solid var(--red); border-radius: 999px; cursor: pointer; transition: background .25s var(--ease), border-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .ico { transition: transform .25s var(--ease); margin-top: -3px; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(230, 57, 36, .28); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { padding: 11px 18px 9px; font-size: 13px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--blue); box-shadow: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--blue); }
.btn-light:hover { background: var(--sky-soft); border-color: var(--sky-soft); color: var(--blue-dark); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font: 700 15px var(--head); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.link-arrow .ico { transition: transform .25s var(--ease); margin-top: -3px; }
.link-arrow:hover { color: var(--red-dark); }
.link-arrow:hover .ico { transform: translateX(4px); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; }
.section-head p:last-child { color: var(--muted); font-size: 18px; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; text-align: left; flex-wrap: wrap; }
.section-head.split .eyebrow::after { display: none; }
.section-head.split .title { margin: 0; }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ========== Header ========== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); height: var(--header-h); transition: box-shadow .3s, background .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16,24,40,.08); background: rgba(255,255,255,.97); }
.header-inner { max-width: var(--maxw); margin: 0 auto; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 24px; }
.logo { justify-self: start; display: block; }
.logo img { height: 48px; width: auto; transition: transform .25s var(--ease); }
.logo:hover img { transform: scale(1.04); }
.main-nav { display: flex; justify-content: center; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { position: relative; display: flex; align-items: center; gap: 6px; height: var(--header-h); padding: 0 14px; font: 600 15px/1 var(--body); color: #1d2125; text-decoration: none; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.active > a::after { transform: scaleX(1); }
.main-nav li.active > a { color: var(--red); }
.caret { width: 10px; height: 6px; transition: transform .25s; }
.main-nav li:hover .caret { transform: rotate(180deg); }
.main-nav .sub { position: absolute; top: calc(100% - 10px); left: 0; min-width: 240px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease); }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub a { display: block; padding: 10px 14px; font-size: 15px; color: #1d2125; text-decoration: none; border-radius: 8px; }
.main-nav .sub a:hover, .main-nav .sub li.active a { background: var(--sky-soft); color: var(--blue); }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.fb { color: var(--blue); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sky-soft); transition: background .2s, color .2s; }
.fb:hover { background: var(--blue); color: #fff; }
.fb .ico { width: 20px; height: 20px; }
.burger { display: none; width: 44px; height: 44px; padding: 13px 11px; background: var(--sky-soft); border: 0; border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--blue); border-radius: 2px; }

.mobile-nav { position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); background: #fff; z-index: 200; padding: 18px 22px 30px; overflow-y: auto; transform: translateX(100%); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.mobile-nav.open { transform: none; box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mobile-nav > ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line); }
.mobile-nav .row { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav a { display: block; padding: 14px 0; color: #1d2125; text-decoration: none; font: 700 19px var(--head); }
.mobile-nav li.active > .row a { color: var(--red); }
.mobile-nav .sub { list-style: none; padding: 0 0 10px 14px; margin: 0; }
.mobile-nav .sub a { font: 600 16px var(--body); padding: 8px 0; color: var(--muted); }
.mobile-nav .toggle { width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--sky-soft); color: var(--blue); cursor: pointer; }
.mobile-nav .toggle[aria-expanded=true] svg { transform: rotate(180deg); }
.mobile-nav .toggle svg { width: 12px; height: 8px; transition: transform .2s; }
.mobile-close { width: 44px; height: 44px; background: var(--sky-soft); color: var(--blue); border: 0; border-radius: 12px; font-size: 28px; line-height: 1; cursor: pointer; }
.mobile-contact { margin-top: auto; padding-top: 26px; display: grid; gap: 4px; }
.mobile-contact a:not(.btn) { display: flex; align-items: center; gap: 10px; font: 600 16px var(--body); color: var(--blue); padding: 8px 0; }
.mobile-contact .btn { margin-top: 12px; color: #fff; padding: 16px; font-size: 14px; }
.mobile-backdrop { position: fixed; inset: 0; background: rgba(10, 30, 40, .45); backdrop-filter: blur(2px); z-index: 150; }
body.nav-open { overflow: hidden; }

/* ========== Hero (Start) ========== */
.hero { position: relative; min-height: min(88vh, 860px); display: flex; align-items: center; isolation: isolate; margin-bottom: 150px; overflow-x: clip; }
body { overflow-x: clip; }
.hero-img { position: absolute; inset: 0; background: center 40% / cover no-repeat; z-index: -2; animation: heroZoom 18s var(--ease) both; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(8,30,42,.15) 0%, rgba(8,30,42,.25) 38%, rgba(8,30,42,.7) 100%); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content { margin-left: auto; margin-right: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); width: min(680px, 52%); padding: 60px 0 200px; color: #fff; }
.hero h1 { font: 700 clamp(46px, 6.2vw, 92px)/1.02 var(--head); color: #fff; border-left: 5px solid var(--red); padding-left: 26px; margin: 0 0 22px; letter-spacing: -.015em; text-shadow: 0 2px 24px rgba(0,0,0,.25); animation: fadeUp .9s .15s var(--ease) both; }
.hero-eyebrow { animation: fadeUp .9s var(--ease) both; }
.hero-lead { font-size: 19px; max-width: 560px; text-shadow: 0 1px 8px rgba(0,0,0,.35); animation: fadeUp .9s .3s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; animation: fadeUp .9s .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.focus-boxes { position: absolute; left: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); bottom: -120px; display: grid; grid-template-columns: repeat(3, 250px); gap: 14px; z-index: 5; }
.focus-box { background: var(--blue-70); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; padding: 30px 28px 26px; min-height: 300px; display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.18); transition: transform .35s var(--ease), background .35s, box-shadow .35s; animation: fadeUp .9s .6s var(--ease) both; }
.focus-box:nth-child(2) { animation-delay: .7s; } .focus-box:nth-child(3) { animation-delay: .8s; }
.focus-box:hover { transform: translateY(-8px); background: rgba(15,114,154,.94); color: #fff; box-shadow: var(--shadow-lg); }
.focus-box img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 20px; }
.focus-box h2 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.focus-box p { font-size: 15.5px; line-height: 1.55; opacity: .95; }
.focus-box .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--head); letter-spacing: .12em; text-transform: uppercase; }
.focus-box:hover .more .ico { transform: translateX(4px); }
.focus-box .more .ico { transition: transform .25s var(--ease); margin-top: -3px; }

/* ========== Über uns ========== */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; padding-top: 70px; padding-bottom: 110px; align-items: center; }
.principal { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 14px 22px 14px 14px; background: #fff; border-radius: 999px; box-shadow: var(--shadow); width: fit-content; }
.principal img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--red); }
.principal strong { display: block; color: var(--blue); font: 700 19px var(--head); }
.principal span { color: var(--red); font-size: 15px; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-media::before { content: ''; position: absolute; inset: 28px -28px -28px 28px; border: 2px solid var(--red); border-radius: var(--radius); z-index: -1; }
.about-badge { position: absolute; left: -36px; bottom: 36px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: 12px; max-width: 230px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center; }
.about-badge strong { font: 700 44px/1 var(--head); }
.about-badge span { font-size: 14px; line-height: 1.35; font-weight: 600; }

/* ========== Band / Marquee ========== */
.band { position: relative; height: 200px; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.band-bg { position: absolute; inset: 0; background: center/cover fixed; z-index: -2; }
.band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(230,57,36,.92), rgba(15,114,154,.92)); }
.marquee { width: 100%; overflow: hidden; }
.marquee-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font: 700 clamp(44px, 6vw, 80px)/1 var(--head); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); white-space: nowrap; letter-spacing: .02em; }
.marquee span:nth-of-type(3n+2) { color: #fff; -webkit-text-stroke: 0; }
.marquee i { width: 14px; height: 14px; border-radius: 50%; background: #fff; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ========== Skills ========== */
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 110px; padding-bottom: 110px; align-items: center; }
.skills-media { position: relative; }
.skills-media::before { content: ''; position: absolute; left: -40px; top: 40px; width: 75%; height: calc(100% + 20px); background: var(--sky-soft); border-radius: var(--radius); z-index: -1; }
.skills-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.skills-list ul { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; gap: 10px; }
.skills-list li { display: flex; align-items: center; gap: 18px; padding: 12px 18px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); transition: transform .25s var(--ease); }
.skills-list li:hover { transform: translateX(6px); }
.skills-list img { width: 36px; height: 36px; object-fit: contain; }
.skills-list span { font: 700 21px var(--head); color: var(--blue); }

/* ========== Galerie + Zitat ========== */
.gallery-quote { display: grid; grid-template-columns: 1fr 1fr 1.1fr; min-height: 480px; }
.gq-img { background: center/cover no-repeat; }
.gq-quote { margin: 0; display: flex; flex-direction: column; justify-content: center; padding: 50px 56px; background: #fff; }
.gq-quote blockquote { margin: 0 0 24px; font: 700 clamp(26px, 2.6vw, 38px)/1.18 var(--head); color: var(--teal-dark); position: relative; }
.gq-quote blockquote::before { content: '“'; position: absolute; top: -.45em; left: -.15em; font-size: 4em; color: var(--sky); opacity: .35; line-height: 1; }
.gq-quote strong { display: block; color: var(--blue); font: 700 20px var(--head); }
.gq-quote figcaption span { color: var(--red); font-size: 15px; }

/* ========== Schwerpunkte CTA ========== */
.focus-cta { display: grid; grid-template-columns: 1fr 1.6fr; min-height: 480px; }
.fc-left { background: left top / cover no-repeat; position: relative; display: flex; align-items: center; color: #fff; }
.fc-left::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(230,57,36,.95), rgba(196,45,26,.88)); }
.fc-left-inner { position: relative; padding: 56px; }
.fc-left p { font-size: 18px; margin-bottom: 28px; }
.fc-right { position: relative; background: center 30% / cover no-repeat; display: flex; align-items: flex-end; padding: 44px; text-decoration: none; overflow: hidden; }
.fc-right::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15,114,154,.85)); transition: opacity .4s; }
.fc-right:hover::before { opacity: .75; }
.fc-right-label { position: relative; color: #fff; font-family: var(--head); }
.fc-right-label strong { display: block; font-size: clamp(26px, 3vw, 38px); margin-bottom: 6px; }
.fc-right-label span { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }

/* ========== Lehrerteam ========== */
.team-teaser { padding-top: 110px; padding-bottom: 110px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; margin: 0 0 50px; }
.team-grid.home { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
.teacher-card { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tc-img { aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(160deg, var(--sky-soft), #d4ecf8); }
.tc-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .6s var(--ease); }
.teacher-card:hover .tc-img img { transform: scale(1.05); }
.tc-img .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--blue); font: 700 64px var(--head); opacity: .5; }
.teacher-card figcaption { padding: 18px 20px 20px; border-top: 4px solid var(--red); min-height: 96px; }
.team-grid.home .teacher-card .tc-img img, .team-grid.home .teacher-card figcaption > * { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.team-grid.home .teacher-card.swapping .tc-img img, .team-grid.home .teacher-card.swapping figcaption > * { opacity: 0; }
.team-grid.home .teacher-card.swapping .tc-img img { transform: scale(1.04); }
.teacher-card h3 { font-size: 21px; color: var(--blue); margin: 0 0 2px; }
.teacher-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.tc-role { display: inline-block; font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }

.team-lead { margin-bottom: 70px; }
.lead-card { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.lead-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 12px; }
.team-group { margin: 0 0 70px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.team-group img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 35%; }
.team-group figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 30px 20px; color: #fff; font: 700 20px var(--head); background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.team-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.team-toolbar .subtitle { margin: 0; }
.search { position: relative; display: flex; align-items: center; }
.search .ico { position: absolute; left: 16px; color: var(--muted); }
.search input { width: min(340px, 80vw); padding: 13px 18px 13px 46px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 16px; background: #fff; box-shadow: var(--shadow); }
.search input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.empty-note { color: var(--muted); text-align: center; padding: 30px; background: #fff; border-radius: var(--radius); }
.legend { background: #fff; border-radius: var(--radius); padding: 16px 22px; box-shadow: var(--shadow); font-size: 15px; }
.legend summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.legend p { margin: 12px 0 0; color: var(--muted); }

/* ========== News ========== */
.news-teaser { padding: 100px 0 110px; background: linear-gradient(180deg, #fff, var(--bg)); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.post-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--sky-soft); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-img img { transform: scale(1.06); }
.post-img-ph { display: grid; place-items: center; height: 100%; color: var(--sky); }
.post-img-ph .ico { width: 48px; height: 48px; }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.date { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.date .ico { color: var(--red); }
.post-card h3 { font-size: 22px; margin-bottom: 10px; }
.post-card h3 a { color: var(--blue); text-decoration: none; }
.post-card h3 a.stretched::after { content: ''; position: absolute; inset: 0; }
.post-card p { font-size: 15.5px; color: var(--muted); }
.post-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--red); font: 700 14px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.post-card .more .ico { transition: transform .25s var(--ease); margin-top: -3px; }
.post-card:hover .more .ico { transform: translateX(4px); }

.pagination { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination a { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 14px; justify-content: center; border-radius: 999px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--text); font-weight: 700; }
.pagination a.on { background: var(--blue); color: #fff; }

/* Artikel */
.article-head { max-width: 860px; padding-top: 50px; }
.article-head .title { font-size: clamp(34px, 4.6vw, 56px); }
.article-lead { font-size: 21px; color: var(--muted); }
.article-hero { max-width: 1100px; margin: 30px auto 50px; }
.article-hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.article-body { max-width: 860px; padding-bottom: 60px; }
.article-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 0; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
.article-share a, .article-share button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--sky-soft); color: var(--blue); border: 0; font: 600 14px var(--body); cursor: pointer; text-decoration: none; }
.article-share a:hover, .article-share button:hover { background: var(--blue); color: #fff; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.post-nav a { display: block; padding: 20px 22px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .25s var(--ease); }
.post-nav a:hover { transform: translateY(-3px); }
.post-nav small { display: inline-flex; align-items: center; gap: 6px; color: var(--red); font: 700 13px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.post-nav strong { display: block; color: var(--blue); font: 700 18px/1.3 var(--head); margin-top: 6px; }
.pn-next { text-align: right; }

/* ========== Service ========== */
.service { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-bottom: 110px; }
.service-card { background: #fff; border-radius: 20px; padding: 34px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.service-card h2 { font-size: 26px; color: var(--blue); }
.service-card p { color: var(--muted); }
.service-card .link-arrow, .service-card .btn { margin-top: auto; }
.service-card.accent { background: linear-gradient(150deg, var(--blue), var(--blue-dark)); color: #fff; }
.service-card.accent h2, .service-card.accent p { color: #fff; }
.service-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--sky-soft); color: var(--blue); margin-bottom: 20px; }
.service-ico .ico { width: 28px; height: 28px; }
.accent .service-ico { background: rgba(255,255,255,.15); color: #fff; }
.mini-list { list-style: none; padding: 0; margin: 0 0 22px; width: 100%; }
.mini-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-list a { color: var(--text); text-decoration: none; font-weight: 600; }
.mini-list a:hover { color: var(--red); }
.mini-list small { font: 700 11px var(--head); letter-spacing: .1em; color: var(--blue); background: var(--sky-soft); padding: 4px 8px 2px; border-radius: 6px; }
.mini-list.contact li { justify-content: flex-start; color: var(--red); }

/* ========== Unterseiten ========== */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(340px, 46vh, 460px); padding: 110px 0 64px; overflow: hidden; isolation: isolate; color: #fff; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red), var(--blue)); }
.page-hero-img { position: absolute; inset: 0; background: center 35% / cover no-repeat; z-index: -2; animation: heroZoom 14s var(--ease) both; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,52,72,.94) 0%, rgba(12,92,124,.82) 42%, rgba(15,114,154,.35) 100%); }
.page-hero-inner { width: 100%; animation: fadeUp .8s var(--ease) both; }
.page-hero h1 { color: #fff; font: 700 clamp(44px, 6vw, 80px)/1.02 var(--head); margin: 0 0 18px; letter-spacing: -.01em; max-width: 820px; }
.page-hero .eyebrow { margin-bottom: 12px; }
.page-hero-intro { max-width: 640px; margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: rgba(255,255,255,.92); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 26px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; color: #fff; }
.breadcrumb.dark { color: var(--muted); }
.breadcrumb.dark a { color: var(--blue); }
.page-section { padding-top: 70px; padding-bottom: 110px; }
.page-section.narrow { max-width: 900px; }
.page-section.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 70px; align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 22px; }
.toc { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.toc-title { font: 700 13px var(--head); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { padding: 10px 14px; border-left: 3px solid var(--line); color: var(--text); text-decoration: none; font-weight: 600; font-size: 15.5px; transition: .2s; }
.toc a:hover, .toc a.on { border-color: var(--red); color: var(--red); background: #fff5f3; }
.toc .toc-ext { margin-top: 10px; border: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--blue); }
.project-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 300px; text-decoration: none; box-shadow: var(--shadow); }
.pc-img { position: absolute; inset: 0; background: center/cover; transition: transform .6s var(--ease); }
.project-card:hover .pc-img { transform: scale(1.06); }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(230,57,36,.1), rgba(230,57,36,.9)); }
.pc-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; color: #fff; z-index: 1; }
.pc-text small { display: block; font-size: 14px; opacity: .9; }
.pc-text strong { display: inline-flex; gap: 8px; align-items: center; font: 700 22px var(--head); }
.content-block { margin-bottom: 64px; }
.prose { font-size: 17.5px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--red); }
.prose h3 { color: var(--blue); font-size: 25px; margin-top: 1.4em; }
.prose img { border-radius: 12px; margin: 20px 0; }
.prose a { color: var(--red); }

/* Feature-Liste: untereinander, volle Breite, Icon links */
.features { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.features.three { margin: 60px 0 70px; }
.feature { display: grid; grid-template-columns: 64px 1fr; column-gap: 26px; align-items: center; background: #fff; border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow); border-left: 4px solid var(--red); transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.feature-ico { grid-row: span 2; align-self: center; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(140deg, var(--red), #f2674f); color: #fff; }
.feature-ico .ico { width: 30px; height: 30px; }
.feature h3 { font-size: 23px; color: var(--blue); margin: 0 0 4px; align-self: end; }
.feature p { font-size: 16.5px; color: var(--muted); margin: 0; align-self: start; }

.person-card { display: flex; gap: 26px; align-items: center; background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 64px; }
.person-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--sky-soft); }
.person-card h3 { color: var(--blue); font-size: 24px; margin: 2px 0 6px; }
.person-card p { margin: 0; color: var(--muted); }

.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 40px 44px; border-radius: 20px; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(127,207,245,.35), transparent 50%), linear-gradient(140deg, var(--blue), var(--blue-dark)); box-shadow: var(--shadow-lg); margin-bottom: 40px; }
.cta-box h2 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
.cta-box p { margin: 0; opacity: .92; max-width: 560px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Downloads */
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.chips a { padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--text); font-weight: 700; }
.chips a:hover { color: var(--red); }
.chips small { color: var(--muted); margin-left: 4px; }
.dl-group { margin-bottom: 50px; }
.dl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.dl-card { display: flex; align-items: center; gap: 18px; padding: 18px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s; border: 1px solid transparent; }
.dl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--sky); color: var(--text); }
.dl-type { display: grid; place-items: center; width: 54px; height: 62px; border-radius: 10px; font: 700 13px var(--head); letter-spacing: .06em; color: #fff; background: var(--blue); flex: none; }
.dl-type.pdf { background: var(--red); } .dl-type.doc { background: #2b6cb0; } .dl-type.xls { background: #2f855a; }
.dl-text { flex: 1; min-width: 0; }
.dl-text strong { display: block; font: 700 18px/1.3 var(--head); color: var(--blue); }
.dl-text small { color: var(--muted); font-size: 14px; }
.dl-action { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky-soft); color: var(--blue); transition: .25s; flex: none; }
.dl-card:hover .dl-action { background: var(--red); color: #fff; }
.hint-box { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--radius); background: var(--sky-soft); color: var(--blue-dark); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 70px; }
.contact-card { background: #fff; border-radius: 20px; padding: 32px 30px; box-shadow: var(--shadow); text-decoration: none; color: var(--text); display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.contact-card h2 { color: var(--blue); font-size: 22px; margin-bottom: 4px; }
.contact-card p { font-size: 18px; font-weight: 600; word-break: break-word; }
.contact-card .more { margin-top: auto; display: inline-flex; gap: 8px; align-items: center; color: var(--red); font: 700 14px var(--head); letter-spacing: .1em; text-transform: uppercase; }
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.contact-split .cta-box { margin: 0; flex-direction: column; align-items: flex-start; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin: 20px 0 0; }
.facts dt { font-weight: 700; color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; }

/* Elternverein */
.ev-intro { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: center; margin-top: 20px; }
.ev-logo { background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.ev-board { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; margin-bottom: 70px; }
.ev-photo { margin: 0; position: relative; }
.ev-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }
.ev-photo::before { content: ''; position: absolute; inset: -18px 30px 30px -18px; background: var(--sky-soft); border-radius: 20px; z-index: -1; }
.board-list { list-style: none; padding: 0; margin: 10px 0 16px; }
.board-list li { display: flex; flex-direction: column; padding: 14px 18px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.board-list span { font: 700 12px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.board-list strong { font: 700 21px var(--head); color: var(--blue); }

/* ========== Footer ========== */
.site-footer { position: relative; color: rgba(255,255,255,.88); overflow: hidden; isolation: isolate; font-size: 15.5px; }
.footer-bg { position: absolute; inset: 0; background: center/cover; z-index: -1; }
.footer-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,60,82,.94), rgba(8,40,56,.97)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1fr 1fr; gap: 50px; padding-top: 80px; padding-bottom: 50px; }
.f-logo { height: 40px; width: auto; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 20px; box-sizing: content-box; }
.site-footer h2 { color: #fff; font-size: 19px; margin-bottom: 18px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.f-social { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); font-weight: 600; }
.f-contact, .f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact .ico { color: var(--sky); margin-top: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; }
.site-footer::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red), var(--blue)); }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--red); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center; z-index: 40; opacity: 0; transform: translateY(14px); transition: .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; }
.to-top:hover { background: var(--blue); }

/* ========== Responsive ========== */
@media (max-width: 1180px) {
  .main-nav, .fb { display: none; }
  .burger { display: flex; }
  .header-inner { grid-template-columns: auto 1fr; }
  .logo img { height: 42px; }
  .header-inner { padding: 0 20px; }
  .hero-content { width: auto; margin: 0; padding: 70px 40px 320px; }
  .hero::before { background: linear-gradient(180deg, rgba(8,30,42,.55), rgba(8,30,42,.25) 60%, rgba(8,30,42,.5)); }
  .focus-boxes { left: 24px; right: 24px; grid-template-columns: repeat(3, 1fr); bottom: -110px; }
  .about, .skills { gap: 60px; }
  .page-section.with-aside { grid-template-columns: 1fr; }
  .page-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .about, .skills, .contact-split, .ev-board, .ev-intro { grid-template-columns: 1fr; }
  .about-badge { left: 16px; }
  .skills-media::before { left: -16px; }
  .post-grid, .service, .contact-grid { grid-template-columns: 1fr 1fr; }
  .gallery-quote { grid-template-columns: 1fr 1fr; }
  .gq-img { min-height: 280px; }
  .gq-quote { grid-column: 1 / -1; }
  .focus-cta { grid-template-columns: 1fr; }
  .fc-right { min-height: 340px; }
  .lead-card { grid-template-columns: 200px 1fr; gap: 28px; }
    .ev-logo { max-width: 220px; }
}
@media (max-width: 680px) {
  :root { --header-h: 66px; }
  .logo img { height: 38px; }
  body { font-size: 16.5px; }
  .container { padding: 0 18px; }
  .header-cta { display: none; }
  .hero { min-height: 0; display: block; margin-bottom: 0; }
  .hero-content { padding: 70px 22px 50px; }
  .hero h1 { padding-left: 18px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .focus-boxes { position: static; grid-template-columns: 1fr; padding: 0 18px 30px; gap: 12px; }
  .focus-box { min-height: 0; padding: 24px; }
  .focus-box img { width: 44px; height: 44px; margin-bottom: 12px; }
  .about { padding-top: 50px; padding-bottom: 80px; }
  .about-media::before { inset: 16px -12px -16px 16px; }
  .about-badge { position: static; margin-top: 30px; max-width: none; }
  .principal { border-radius: 16px; }
  .band { height: 140px; }
  .band-bg { background-attachment: scroll; }
  .skills, .team-teaser { padding-top: 70px; padding-bottom: 70px; }
  .post-grid, .service, .contact-grid, .team-grid.home { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 48px 1fr; column-gap: 16px; padding: 20px; }
  .feature-ico { width: 48px; height: 48px; border-radius: 12px; }
  .feature-ico .ico { width: 24px; height: 24px; }
  .feature h3 { font-size: 19px; }
  .feature p { font-size: 15px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .teacher-card figcaption { padding: 12px 14px 14px; }
  .teacher-card h3 { font-size: 17px; }
  .teacher-card p { font-size: 13px; }
  .team-grid.home { max-width: 360px; }
  .lead-card { grid-template-columns: 1fr; }
  .team-group img { aspect-ratio: 4 / 3; }
  .gq-quote { padding: 40px 24px; }
  .gq-img { min-height: 200px; }
  .fc-left-inner { padding: 50px 24px; }
  .fc-right { padding: 24px; min-height: 280px; }
  .news-teaser { padding: 70px 0; }
  .post-nav { grid-template-columns: 1fr; }
  .page-hero { min-height: 0; padding: 70px 0 40px; }
  .page-hero::before { background: linear-gradient(180deg, rgba(8,52,72,.7), rgba(12,92,124,.92)); }
      .page-section { padding-top: 40px; padding-bottom: 70px; }
  .page-aside { grid-template-columns: 1fr; }
  .cta-box { padding: 30px 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .dl-grid { grid-template-columns: 1fr; }
  .person-card { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 60px; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}

/* ========== News-Übersicht ========== */
.news-page { padding-top: 50px; }
.year-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.year-filter a { padding: 8px 16px 6px; border-radius: 999px; background: var(--sky-soft); color: var(--blue); font: 700 15px var(--head); text-decoration: none; transition: .2s; }
.year-filter a small { opacity: .65; margin-left: 2px; }
.year-filter a:hover { background: #d4ecf8; }
.year-filter a.on { background: var(--blue); color: #fff; }
.news-heading { display: flex; align-items: center; gap: 16px; font-size: 26px; color: var(--blue); margin: 0 0 24px; }
.news-heading::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.news-page .post-grid { margin-bottom: 70px; }
.news-month { margin-bottom: 36px; }
.month-label { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.news-row { position: relative; display: grid; grid-template-columns: 200px 1fr 48px; gap: 26px; align-items: center; background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.news-row:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.nr-img { display: block; aspect-ratio: 16 / 11; border-radius: 10px; overflow: hidden; background: var(--sky-soft); }
.nr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-row:hover .nr-img img { transform: scale(1.06); }
.nr-body { min-width: 0; padding: 4px 0; }
.nr-body .date { margin-bottom: 2px; font-size: 13.5px; }
.nr-body h4 { font-size: 21px; margin: 0 0 6px; }
.nr-body h4 a { color: var(--blue); text-decoration: none; }
.nr-body h4 a.stretched::after { content: ''; position: absolute; inset: 0; }
.nr-body p { margin: 0; color: var(--muted); font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nr-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky-soft); color: var(--blue); transition: .25s; }
.news-row:hover .nr-arrow { background: var(--red); color: #fff; }
.news-page .pagination { margin-top: 40px; }
@media (max-width: 680px) {
    .news-row { grid-template-columns: 96px 1fr; gap: 14px; padding: 10px; }
  .nr-img { aspect-ratio: 1; }
  .nr-arrow { display: none; }
  .nr-body h4 { font-size: 17px; }
  .nr-body p { -webkit-line-clamp: 2; font-size: 14px; }
}

/* ========== Umbrüche & Mobile-Feinschliff ========== */
h1, h2, h3, h4, .title, .subtitle { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }
p, li, dd, figcaption, blockquote { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.btn { white-space: normal; text-align: center; }
img, picture, svg { max-width: 100%; }
@media (max-width: 680px) {
  p, li, dd { -webkit-hyphens: auto; hyphens: auto; }
  .hero h1 { font-size: clamp(36px, 11vw, 46px); }
  .page-hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .title { font-size: clamp(28px, 8vw, 34px); }
  .subtitle { font-size: clamp(23px, 6.5vw, 27px); }
  .eyebrow { font-size: 12.5px; letter-spacing: .16em; }
  .section-head { margin-bottom: 32px; }
  .section-head.split { align-items: flex-start; }
  .breadcrumb { font-size: 13px; margin-bottom: 16px; }
  .marquee span { font-size: 40px; }
  .service-card, .contact-card { padding: 26px 22px; }
  .cta-box h2 { font-size: 24px; }
  .skills-list li { padding: 10px 14px; gap: 14px; }
  .skills-list span { font-size: 18px; }
  .about-media::before, .skills-media::before, .ev-photo::before { display: none; }
  .lead-card { padding: 16px; }
  .lead-card img { max-height: 380px; }
  .dl-card { padding: 14px; gap: 12px; }
  .dl-type { width: 44px; height: 52px; font-size: 11px; }
  .dl-text strong { font-size: 16.5px; }
  .article-head { padding-top: 30px; }
  .article-lead { font-size: 18px; }
  .footer-bottom { flex-direction: column; }
  .mobile-nav a { padding: 13px 0; }
}
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { padding: 15px 18px 12px; }
}
/* geschlossenes Handy-Menü wirklich ausblenden (sonst überschreibt display:flex das hidden-Attribut) */
.mobile-nav[hidden], .mobile-backdrop[hidden], .to-top[hidden] { display: none !important; }
/* Zoom-Effekt der Kopfbilder in eigener Ebene, die vom Bildcontainer beschnitten wird (kein seitliches Scrollen) */
.hero-img, .page-hero-img { animation: none; overflow: hidden; }
.hero-img::before, .page-hero-img::before { content: ''; position: absolute; inset: 0; background: inherit; animation: heroZoom 18s var(--ease) both; }
.page-hero-img::before { animation-duration: 14s; }
@media (max-width: 1320px) { .about-media::before { inset: 18px -18px -18px 18px; } }
.contact-split > *, .facts dd { min-width: 0; }
@media (max-width: 680px) {
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
}
