/* Dietrich, Süß & Jaschke · Entwurf · klar und modern */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/inter-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --tinte: #0f1b2d;
  --text: #2a3546;
  --grau: #5d6878;
  --marine: #17375e;
  --marine-tief: #0f2742;
  --marine-hell: #e9eef5;
  --flaeche: #f5f7fa;
  --linie: #dfe4eb;
  --papier: #fff;
  --rund: 6px;
  --breite: 1200px;
  --rand: clamp(20px, 5vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.65; color: var(--text); background: var(--papier); font-feature-settings: 'cv11', 'ss01'; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--marine); }
h1, h2, h3, h4 { color: var(--tinte); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.03em; }
h3 { font-size: 21px; }
p { text-wrap: pretty; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--marine); margin-bottom: 18px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--grau); max-width: 60ch; }
.abschnitt { padding: clamp(72px, 9vw, 120px) 0; }
.abschnitt.grau { background: var(--flaeche); }
.kopfzeile { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.kopfzeile p { max-width: 52ch; color: var(--grau); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; padding: 14px 24px; border-radius: var(--rund); background: var(--marine); color: #fff; border: 1.5px solid var(--marine); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.knopf:hover { background: var(--marine-tief); border-color: var(--marine-tief); }
.knopf.hell { background: transparent; color: var(--marine); }
.knopf.hell:hover { background: var(--marine-hell); }
.knopf.weiss { background: #fff; color: var(--marine); border-color: #fff; }
.knopf.weiss:hover { background: var(--marine-hell); border-color: var(--marine-hell); }
.textlink { font-weight: 600; text-decoration: none; color: var(--marine); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.textlink:hover { color: var(--marine-tief); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.marke { text-decoration: none; color: var(--tinte); display: flex; flex-direction: column; line-height: 1.1; }
.marke b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.marke b i { font-style: normal; color: var(--marine); font-weight: 500; }
.marke small { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); margin-top: 5px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; color: var(--tinte); font-size: 15.5px; font-weight: 500; position: relative; padding: 6px 0; }
.nav a:not(.knopf)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--marine); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav .knopf { padding: 10px 18px; font-size: 15px; color: #fff; }
.menue-knopf { display: none; }

@media (max-width: 980px) {
  .kopf .huelle { height: 68px; }
  .marke b { font-size: 18px; }
  .marke small { font-size: 10.5px; }
  .menue-knopf { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linie); border-radius: var(--rund); background: #fff; cursor: pointer; }
  .menue-knopf span, .menue-knopf span::before, .menue-knopf span::after { display: block; width: 18px; height: 1.5px; background: var(--tinte); position: relative; transition: transform .2s; }
  .menue-knopf span::before, .menue-knopf span::after { content: ''; position: absolute; left: 0; }
  .menue-knopf span::before { top: -6px; } .menue-knopf span::after { top: 6px; }
  .nav { position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rand) 24px; border-bottom: 1px solid var(--linie); box-shadow: 0 20px 40px rgba(15,27,45,.08); display: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linie); font-size: 17px; }
  .nav a::after { display: none; }
  .nav .knopf { margin-top: 18px; justify-content: center; border-bottom: 0; padding: 14px; }
  .kopf.offen .nav { display: flex; }
  .kopf.offen .menue-knopf span { background: transparent; }
  .kopf.offen .menue-knopf span::before { transform: translateY(6px) rotate(45deg); }
  .kopf.offen .menue-knopf span::after { transform: translateY(-6px) rotate(-45deg); }
}

/* Einstieg */
.einstieg { position: relative; overflow: hidden; color: #fff; background: var(--marine-tief) url(bilder/einstieg-skyline.jpg) center 70% / cover no-repeat; isolation: isolate; }
.einstieg::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 51, 90, .97) 0%, rgba(20, 51, 90, .85) 40%, rgba(20, 51, 90, .25) 78%, rgba(20, 51, 90, .45) 100%), linear-gradient(0deg, rgba(20, 51, 90, .7), transparent 35%); }
.einstieg-raster { position: relative; display: flex; align-items: center; min-height: clamp(600px, 78vh, 740px); }
.einstieg-text { position: relative; z-index: 1; max-width: 490px; padding: clamp(56px, 7vw, 96px) 0; }
.einstieg .eyebrow { color: #9fc0e8; }
.einstieg h1 { margin: 0 0 24px; color: #fff; font-size: clamp(40px, 4.1vw, 58px); line-height: 1.05; }
.einstieg h1 em { font-style: normal; color: #9fc0e8; }
.einstieg .lead { margin-bottom: 36px; color: rgba(255, 255, 255, .78); max-width: 46ch; }
.einstieg .knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }
.knopf.linie { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.knopf.linie:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.einstieg-team { position: absolute; right: calc((100% - 100vw) / 2); bottom: 0; width: min(66%, 900px); }
.einstieg-team img { width: 100%; height: auto; }
@media (max-width: 1100px) {
  .einstieg-raster { display: block; min-height: 0; }
  .einstieg-text { max-width: 640px; padding: 56px 0 24px; }
  .einstieg::before { background: linear-gradient(180deg, rgba(20, 51, 90, .95) 0%, rgba(20, 51, 90, .85) 55%, rgba(20, 51, 90, .4) 100%); }
  /* rechtsbündig bis an den Bildschirmrand, damit der angeschnittene Arm rechts nicht zu sehen ist */
  .einstieg-team { position: relative; right: auto; width: auto; max-width: 820px; margin: 0 calc((100% - 100vw) / 2) 0 auto; }
}
@media (max-width: 600px) {
  .einstieg-text { padding: 40px 0 16px; }
  .einstieg .lead { font-size: 16px; line-height: 1.6; margin-bottom: 28px; }
  .einstieg-team { margin: 0 calc((100% - 100vw) / 2) 0 calc(var(--rand) * -0.5); }
}
.zielgruppen-abschnitt { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--linie); }
.zielgruppen-block { text-align: center; }
.zielgruppen-block .eyebrow { margin-bottom: 24px; }
.zielgruppen { display: grid; grid-template-columns: repeat(3, 1fr); }
.zielgruppen div { padding: 8px 32px; text-align: center; }
.zielgruppen div + div { border-left: 1px solid var(--linie); }
.zielgruppen b { display: block; color: var(--tinte); font-weight: 600; font-size: 17px; }
.zielgruppen b { margin-bottom: 4px; }
.zielgruppen span { display: block; color: var(--grau); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) {
  .zielgruppen { grid-template-columns: 1fr; }
  .zielgruppen div { padding: 18px 0; }
  .zielgruppen div + div { border-left: 0; border-top: 1px solid var(--linie); }
}

/* Leistungskarten */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.karte { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.karte:hover { border-color: #c5cfdb; box-shadow: 0 18px 40px rgba(15,27,45,.08); transform: translateY(-2px); }
.karte img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.karte div { padding: 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.karte p { color: var(--grau); font-size: 16px; flex: 1; }
.karte .textlink { align-self: flex-start; font-size: 15px; }
@media (max-width: 900px) { .karten { grid-template-columns: 1fr; } }

/* Kanzlei */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.zweispaltig .text p + p { margin-top: 18px; }
.partner { display: grid; gap: 0; border-top: 1px solid var(--linie); }
.person { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--linie); }
.portraet-klein { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; background: var(--marine-hell); }
.person b { display: block; color: var(--tinte); font-size: 18px; font-weight: 600; }
.person span { color: var(--grau); font-size: 15px; }
.person a { font-size: 15px; text-decoration: none; }
.person a:hover { text-decoration: underline; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; } }

.partner-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.partner-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; }
.partner-karte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.partner-karte div { padding: 24px 26px 28px; display: grid; gap: 4px; }
.partner-karte h3 { font-size: 21px; }
.partner-karte span { color: var(--grau); font-size: 15px; margin-bottom: 10px; }
.partner-karte a { font-size: 15.5px; text-decoration: none; }
.partner-karte a:hover { text-decoration: underline; }
.kanzlei-text { max-width: 760px; font-size: 19px; }
.seitenbild.team { aspect-ratio: 5 / 2; background: var(--marine-hell); }
.seitenbild.team img { object-position: 50% 30%; }
@media (max-width: 900px) { .partner-raster { grid-template-columns: 1fr; max-width: 440px; } }

/* Digital */
.digital { background: var(--marine); color: rgba(255,255,255,.82); }
.digital h2, .digital h3 { color: #fff; }
.digital .eyebrow { color: #a9c3e2; }
.digital .kopfzeile p { color: rgba(255,255,255,.75); }
.digital-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.digital-raster article { border: 1px solid rgba(255,255,255,.18); border-radius: var(--rund); padding: clamp(28px, 3vw, 40px); }
.digital-raster h3 { margin-bottom: 12px; }
.digital-raster ul { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.digital-raster li { padding-left: 28px; position: relative; font-size: 16px; }
.digital-raster li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid #a9c3e2; border-bottom: 2px solid #a9c3e2; transform: rotate(-45deg); }
.digital-raster .textlink { color: #fff; display: inline-block; margin-top: 26px; font-size: 15px; }
@media (max-width: 860px) { .digital-raster { grid-template-columns: 1fr; } }

/* Steuernews */
.news-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news { display: flex; flex-direction: column; text-decoration: none; color: inherit; border: 1px solid var(--linie); border-radius: var(--rund); overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.news:hover { border-color: #c5cfdb; box-shadow: 0 18px 40px rgba(15,27,45,.08); }
.news img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--marine-hell); }
.news div { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news time { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--marine); }
.news h3 { font-size: 19px; line-height: 1.3; }
.news p { font-size: 15.5px; color: var(--grau); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news.platzhalter { min-height: 360px; background: linear-gradient(90deg, var(--flaeche), #fff, var(--flaeche)); background-size: 200% 100%; animation: laden 1.4s infinite linear; }
@keyframes laden { to { background-position: -200% 0; } }
.news-hinweis { color: var(--grau); grid-column: 1 / -1; padding: 24px 0; }
@media (max-width: 960px) { .news-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .news-raster { grid-template-columns: 1fr; } }

.filter { display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; align-items: center; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--linie); }
.filter > span { font-size: 14px; font-weight: 600; color: var(--tinte); }
.filter div { display: flex; flex-wrap: wrap; gap: 8px; }
.filter button { font: inherit; font-size: 14.5px; font-weight: 500; padding: 8px 14px; border: 1px solid var(--linie); background: #fff; color: var(--text); border-radius: var(--rund); cursor: pointer; }
.filter button:hover { border-color: var(--marine); color: var(--marine); }
.auswahl { position: relative; display: inline-block; }
.auswahl-knopf { display: inline-flex; align-items: center; gap: 28px; font: inherit; font-size: 14.5px; font-weight: 500; padding: 8px 14px; border: 1px solid var(--linie); background: #fff; color: var(--text); border-radius: var(--rund); cursor: pointer; min-width: 190px; justify-content: space-between; }
.auswahl-knopf::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid var(--marine); border-bottom: 1.5px solid var(--marine); transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.auswahl.offen .auswahl-knopf::after { transform: translateY(2px) rotate(-135deg); }
.auswahl-knopf:hover, .auswahl.offen .auswahl-knopf { border-color: var(--marine); color: var(--marine); }
.auswahl.aktiv .auswahl-knopf { background: var(--marine); border-color: var(--marine); color: #fff; }
.auswahl.aktiv .auswahl-knopf::after { border-color: #fff; }
.auswahl-liste { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; min-width: 100%; max-height: 320px; overflow-y: auto; list-style: none; background: #fff; border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: 0 18px 40px rgba(15,27,45,.12); padding: 6px; outline: none; }
.auswahl-liste li { padding: 9px 12px; border-radius: 4px; font-size: 14.5px; cursor: pointer; white-space: nowrap; display: flex; justify-content: space-between; gap: 16px; }
.auswahl-liste li.fokus { background: var(--marine-hell); color: var(--marine); }
.auswahl-liste li[aria-selected="true"] { font-weight: 600; color: var(--marine); }
.auswahl-liste li[aria-selected="true"]::after { content: ''; width: 10px; height: 6px; border-left: 2px solid var(--marine); border-bottom: 2px solid var(--marine); transform: rotate(-45deg) translateY(4px); }
.filter button[aria-pressed="true"] { background: var(--marine); border-color: var(--marine); color: #fff; }
@media (max-width: 640px) { .filter { grid-template-columns: 1fr; } .filter div { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .filter button { white-space: nowrap; } }

.beitrag { max-width: 760px; }
.beitrag .zurueck { display: inline-block; margin-bottom: 32px; font-size: 15px; }
.beitrag time { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--marine); }
.beitrag h1 { font-size: clamp(30px, 4vw, 46px); margin: 12px 0 28px; }
.beitrag img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--rund); margin-bottom: 36px; }
.beitrag-text { font-size: 18px; line-height: 1.75; }
.beitrag-text p, .beitrag-text ul, .beitrag-text ol, .beitrag-text table { margin-bottom: 20px; }
.beitrag-text ul, .beitrag-text ol { padding-left: 22px; }
.beitrag-text table { width: 100%; border-collapse: collapse; font-size: 16px; }
.beitrag-text td, .beitrag-text th { border-bottom: 1px solid var(--linie); padding: 10px 12px 10px 0; vertical-align: top; text-align: left; }
.beitrag-text tr:first-child td { font-weight: 600; color: var(--tinte); }
.beitrag-hinweis { margin-top: 48px; padding: 24px 28px; background: var(--flaeche); border-radius: var(--rund); font-size: 16px; }

/* Karriere-Band */
.band { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 4vw, 48px); border: 1px solid var(--linie); border-radius: var(--rund); background: #fff; }
.band h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 8px; }
.band p { color: var(--grau); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.kontakt-raster > div { padding: 28px; border-radius: var(--rund); background: #fff; border: 1px solid var(--linie); }
.kontakt-raster span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); margin-bottom: 10px; }
.kontakt-raster a { text-decoration: none; font-weight: 600; font-size: 19px; color: var(--tinte); }
.kontakt-raster a:hover { color: var(--marine); }
.kontakt-raster p { color: var(--tinte); font-size: 18px; font-weight: 500; line-height: 1.5; }
.kontakt-raster small { display: block; color: var(--grau); font-size: 15px; margin-top: 8px; }
.kontakt-raster .textlink { font-size: 15px; display: inline-block; margin-top: 14px; color: var(--marine); }
@media (max-width: 860px) { .kontakt-raster { grid-template-columns: 1fr; } }
.anfahrt-karte { margin-top: 24px; position: relative; }
.anfahrt-karte > a { display: block; position: relative; border-radius: var(--rund); overflow: hidden; border: 1px solid var(--linie); background: var(--marine-hell); }
.anfahrt-karte img { width: 100%; height: clamp(280px, 34vw, 420px); object-fit: cover; object-position: 50% 50%; transition: transform .6s ease; }
.anfahrt-karte > a:hover img { transform: scale(1.02); }
.anfahrt-karte .pin { position: absolute; left: 50%; top: 50%; transform: translate(-14px, -100%); display: flex; align-items: flex-start; gap: 6px; pointer-events: none; }
.anfahrt-karte .pin svg { width: 28px; height: 36px; fill: var(--marine); filter: drop-shadow(0 3px 4px rgba(15, 27, 45, .35)); flex: 0 0 auto; }
.anfahrt-karte .pin b { background: #fff; color: var(--tinte); font-size: 14px; font-weight: 600; padding: 6px 10px; border-radius: var(--rund); box-shadow: 0 4px 14px rgba(15, 27, 45, .18); white-space: nowrap; margin-top: -2px; }
.anfahrt-karte .anfahrt-knopf { position: absolute; right: 16px; bottom: 16px; background: var(--marine); color: #fff; font-weight: 600; font-size: 15px; padding: 11px 18px; border-radius: var(--rund); box-shadow: 0 4px 14px rgba(15, 27, 45, .2); transition: background .2s; }
.anfahrt-karte > a:hover .anfahrt-knopf { background: var(--marine-tief); }
.anfahrt-karte figcaption { margin-top: 8px; font-size: 12.5px; color: var(--grau); text-align: right; }
.anfahrt-karte figcaption a { color: inherit; }
@media (max-width: 560px) { .anfahrt-karte .pin { flex-direction: column-reverse; align-items: center; gap: 4px; transform: translate(-50%, -100%); } .anfahrt-karte .pin b { font-size: 13px; } .anfahrt-karte .anfahrt-knopf { left: 12px; right: 12px; bottom: 12px; text-align: center; } }

.nummern { list-style: none; display: grid; gap: 12px; }
.nummern li { display: flex; align-items: center; gap: 12px; }
.nummern svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--marine); }
.nummern li.oben { align-items: flex-start; }
.nummern li.oben svg { margin-top: 3px; }
.kontakt-raster .route { margin-left: 32px; }
.kontakt-raster .nummern a { word-break: break-word; }
.kontakt-raster .nummern b { font-weight: 600; font-size: 19px; color: var(--tinte); }

/* Unterseiten */
.seitenkopf { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 18px; }
.brotkrumen { font-size: 14px; color: var(--grau); margin-bottom: 22px; }
.brotkrumen a { color: var(--grau); text-decoration: none; }
.brotkrumen a:hover { color: var(--marine); }
.seitenbild { aspect-ratio: 21 / 8; border-radius: var(--rund); overflow: hidden; margin-top: clamp(40px, 5vw, 64px); }
.seitenbild img { width: 100%; height: 100%; object-fit: cover; }

.mit-nav { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.seitennav { position: sticky; top: 112px; display: grid; gap: 2px; border-left: 1px solid var(--linie); }
.seitennav a { text-decoration: none; color: var(--grau); font-size: 15px; font-weight: 500; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; }
.seitennav a:hover, .seitennav a.aktiv { color: var(--marine); border-left-color: var(--marine); }
.leistung { padding-bottom: 72px; margin-bottom: 72px; border-bottom: 1px solid var(--linie); }
.leistung:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.leistung > img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--rund); margin-bottom: 36px; }
.leistung h2 { margin-bottom: 28px; }
.leistung h3 { margin: 36px 0 12px; }
.leistung h3:first-of-type { margin-top: 0; }
.fliess p { max-width: 70ch; }
.fliess p + p { margin-top: 16px; }
.fliess .betont { color: var(--tinte); font-weight: 600; }
.merkmale { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.merkmale div { padding: 22px 24px; background: var(--flaeche); border-radius: var(--rund); }
.merkmale b { display: block; color: var(--tinte); margin-bottom: 6px; font-weight: 600; }
.merkmale span { font-size: 15.5px; color: var(--grau); }
@media (max-width: 900px) {
  .mit-nav { grid-template-columns: 1fr; }
  .seitennav { position: static; display: flex; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--linie); gap: 18px; }
  .seitennav a { padding: 10px 0; margin: 0 0 -1px; border-left: 0; border-bottom: 2px solid transparent; white-space: nowrap; }
  .seitennav a:hover, .seitennav a.aktiv { border-bottom-color: var(--marine); }
  .merkmale { grid-template-columns: 1fr; }
}

/* Stellen */
.stellen { display: grid; gap: 16px; }
.stelle { border: 1px solid var(--linie); border-radius: var(--rund); background: #fff; }
.stelle summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; }
.stelle summary::-webkit-details-marker { display: none; }
.stelle summary h3 { font-size: 22px; }
.stelle summary small { display: block; color: var(--grau); font-size: 15px; margin-top: 4px; font-weight: 400; letter-spacing: 0; }
.stelle summary i { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linie); position: relative; }
.stelle summary i::before, .stelle summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--marine); transform: translate(-50%, -50%); transition: transform .2s; }
.stelle summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.stelle[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.stelle-inhalt { padding: 0 32px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 48px; }
.stelle-inhalt h4 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--marine); margin-bottom: 10px; }
.stelle-inhalt ul { padding-left: 20px; display: grid; gap: 6px; font-size: 16px; }
.stelle-inhalt .knopf { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 760px) { .stelle-inhalt { grid-template-columns: 1fr; padding: 0 22px 26px; } .stelle summary { padding: 22px; } }

/* Downloads */
.downloads { list-style: none; border-top: 1px solid var(--linie); max-width: 860px; }
.downloads a { display: grid; grid-template-columns: 44px 1fr auto; gap: 18px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--tinte); font-weight: 500; }
.downloads a:hover { color: var(--marine); background: var(--flaeche); }
.downloads svg { width: 44px; height: 44px; padding: 11px; border-radius: var(--rund); background: var(--marine-hell); color: var(--marine); }
.downloads small { color: var(--grau); font-size: 13px; font-weight: 600; letter-spacing: .08em; }

/* Bewerbungsquiz */
.quiz-start { margin-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px; border-radius: var(--rund); background: var(--marine-hell); }
.quiz-start h3 { font-size: 22px; }
.quiz-start p { color: var(--grau); margin-top: 4px; }
.knopf[hidden] { display: none; }
.quiz { margin: auto; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: var(--rund); padding: 0; color: var(--text); background: #fff; box-shadow: 0 30px 80px rgba(15, 27, 45, .3); }
.quiz::backdrop { background: rgba(15, 27, 45, .55); backdrop-filter: blur(3px); }
.quiz[open] { animation: quiz-auf .25s ease; }
@keyframes quiz-auf { from { opacity: 0; transform: translateY(12px); } }
.quiz form { padding: 32px 36px 32px; }
.quiz-kopf { display: flex; align-items: center; gap: 16px; }
.quiz-schritt { margin-left: auto; font-size: 14px; color: var(--grau); }
.quiz-schritt b { color: var(--tinte); font-weight: 600; }
.quiz-zu { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linie); background: #fff; cursor: pointer; position: relative; flex: 0 0 auto; }
.quiz-zu::before, .quiz-zu::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.5px; background: var(--marine); transform: translate(-50%, -50%) rotate(45deg); }
.quiz-zu::after { transform: translate(-50%, -50%) rotate(-45deg); }
.quiz-zu:hover { background: var(--flaeche); }
.quiz:focus { outline: none; }
.quiz-balken { height: 3px; background: var(--linie); border-radius: 3px; margin: 18px 0 32px; overflow: hidden; }
.quiz-balken i { display: block; height: 100%; width: 0; background: var(--marine); transition: width .3s ease; }
.quiz-seite { border: 0; min-width: 0; }
.quiz-seite legend, .quiz-fertig h3 { font-size: 26px; font-weight: 600; color: var(--tinte); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 24px; text-wrap: balance; }
.quiz-optionen { display: grid; gap: 10px; }
.quiz-optionen.drei { grid-template-columns: repeat(3, 1fr); }
.quiz-optionen label { display: block; cursor: pointer; }
.quiz-optionen input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-optionen span { display: block; padding: 15px 20px; border: 1px solid var(--linie); border-radius: var(--rund); font-size: 16.5px; color: var(--tinte); transition: border-color .15s, background .15s; }
.quiz-optionen.drei span { text-align: center; }
.quiz-optionen label:hover span { border-color: var(--marine); }
.quiz-optionen input:checked + span { border-color: var(--marine); background: var(--marine-hell); box-shadow: inset 0 0 0 1px var(--marine); }
.quiz-optionen input:focus-visible + span { outline: 2px solid var(--marine); outline-offset: 2px; }
.regler { padding: 8px 0 4px; }
.regler input { --wert: 0%; width: 100%; appearance: none; -webkit-appearance: none; height: 4px; border-radius: 4px; background: linear-gradient(to right, var(--marine) var(--wert), var(--linie) var(--wert)); cursor: pointer; }
.regler input::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--marine); box-shadow: 0 2px 6px rgba(15, 27, 45, .2); }
.regler input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--marine); }
.regler-skala { display: flex; justify-content: space-between; margin-top: 14px; padding: 0 5px; font-size: 16px; color: var(--grau); font-variant-numeric: tabular-nums; }
.regler-skala span.aktiv { color: var(--marine); font-weight: 600; }
.quiz-hinweis { font-size: 14.5px; color: var(--grau); margin-top: 16px; }
.skills { display: grid; }
.skill { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--linie); color: var(--tinte); }
.skill:first-child { border-top: 1px solid var(--linie); }
.sterne { display: flex; flex-direction: row-reverse; gap: 4px; }
.sterne input { position: absolute; opacity: 0; pointer-events: none; }
.sterne label { width: 26px; height: 26px; cursor: pointer; background: var(--linie); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") center / contain no-repeat; transition: background .1s; }
.sterne input:checked ~ label, .sterne label:hover, .sterne label:hover ~ label { background: var(--marine); }
.sterne:hover input:checked ~ label:not(:hover):not(:hover ~ label) { background: var(--linie); }
.sterne input:focus-visible + label { outline: 2px solid var(--marine); outline-offset: 2px; border-radius: 2px; }
.felder { display: grid; gap: 16px; }
.felder label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--tinte); }
.felder input { font: inherit; font-size: 16.5px; font-weight: 400; padding: 13px 16px; border: 1px solid var(--linie); border-radius: var(--rund); color: var(--tinte); }
.felder input:focus { outline: none; border-color: var(--marine); box-shadow: 0 0 0 3px var(--marine-hell); }
.upload { display: grid; justify-items: center; gap: 6px; padding: 32px 20px; border: 1.5px dashed var(--linie); border-radius: var(--rund); text-align: center; cursor: pointer; color: var(--text); transition: border-color .15s, background .15s; }
.upload:hover, .upload.ziehen { border-color: var(--marine); background: var(--flaeche); }
.upload input { position: absolute; opacity: 0; pointer-events: none; }
.upload svg { width: 30px; height: 30px; color: var(--marine); margin-bottom: 4px; }
.upload b { color: var(--marine); font-weight: 600; word-break: break-all; }
.upload small { font-size: 14px; color: var(--grau); }
.upload:has(input:focus-visible) { outline: 2px solid var(--marine); outline-offset: 2px; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-size: 15px; cursor: pointer; }
.zustimmung input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--marine); }
.quiz-fertig p { color: var(--grau); }
.quiz-fehler { min-height: 1.5em; margin-top: 14px; font-size: 14.5px; color: #b42318; }
.quiz-fuss { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.quiz-fuss [data-weiter] { margin-left: auto; }
@media (max-width: 560px) {
  .quiz form { padding: 24px 20px; }
  .quiz-seite legend, .quiz-fertig h3 { font-size: 22px; }
  .quiz-optionen.drei { grid-template-columns: 1fr; }
  .quiz-optionen.drei span { text-align: left; }
  .sterne label { width: 22px; height: 22px; }
  .quiz-fuss .knopf { flex: 1; justify-content: center; padding: 14px 12px; }
  .quiz-start { padding: 24px 22px; }
}

/* Rechtstexte */
.recht-raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.recht { max-width: 760px; }
.recht.breit { max-width: none; }
.recht > :first-child { margin-top: 0; }
.recht-aside { position: sticky; top: 112px; }
.kasten { background: var(--flaeche); border-radius: var(--rund); padding: 28px; }
.kasten a { text-decoration: none; }
.inhaltsverzeichnis ol { list-style: none; display: grid; gap: 2px; max-height: calc(100vh - 240px); overflow-y: auto; }
.inhaltsverzeichnis a { display: block; font-size: 14.5px; color: var(--text); text-decoration: none; padding: 5px 0; line-height: 1.4; }
.inhaltsverzeichnis a:hover { color: var(--marine); }
.inhaltsverzeichnis li.teil a { font-weight: 600; color: var(--tinte); margin-top: 10px; }
.inhaltsverzeichnis li.teil:first-child a { margin-top: 0; }
.recht h2.teil { font-size: 30px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--linie); }
.recht h2.teil:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 960px) { .recht-raster { grid-template-columns: 1fr; } .recht-aside { position: static; order: -1; } }
.recht h2 { font-size: 24px; margin: 44px 0 14px; letter-spacing: -0.01em; }
.recht h3 { font-size: 18px; margin: 28px 0 8px; }
.recht p, .recht ul { margin-bottom: 12px; font-size: 16.5px; }
.recht ul { padding-left: 22px; }
.recht .adresse { color: var(--tinte); }

/* Fuß */
.fuss { background: var(--marine-tief); color: rgba(255,255,255,.72); padding: 72px 0 32px; font-size: 15.5px; }
.fuss a { color: rgba(255,255,255,.88); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.fuss .marke { color: #fff; margin-bottom: 18px; }
.fuss .marke b i { color: #a9c3e2; }
.fuss .marke small { color: rgba(255,255,255,.6); }
.fuss h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.fuss ul { list-style: none; display: grid; gap: 8px; }
.fuss-kontakt li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.88); }
.fuss-kontakt svg { width: 18px; height: 18px; flex: 0 0 18px; color: #a9c3e2; }
.fuss-unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; }
.fuss-unten nav { display: flex; gap: 24px; }
@media (max-width: 860px) { .fuss-raster { grid-template-columns: 1fr; } }

/* Handy-Feinschliff */
.inhaltsverzeichnis summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin-bottom: 0; }
.inhaltsverzeichnis summary::-webkit-details-marker { display: none; }
.inhaltsverzeichnis[open] summary { margin-bottom: 14px; }
.inhaltsverzeichnis summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid var(--marine); border-bottom: 1.5px solid var(--marine); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.inhaltsverzeichnis[open] summary::after { transform: rotate(-135deg); }
@media (min-width: 961px) { .inhaltsverzeichnis summary { pointer-events: none; } .inhaltsverzeichnis summary::after { display: none; } }
@media (max-width: 760px) {
  .seitenkopf { padding: 36px 0 32px; }
  .seitenkopf + .abschnitt { padding-top: 40px; }
  .einstieg .knoepfe .knopf { flex: 1 1 100%; justify-content: center; }
  .downloads a { grid-template-columns: 44px 1fr; row-gap: 2px; padding: 16px 0; }
  .downloads small { grid-column: 2; }
  .filter div { flex-wrap: wrap; overflow: visible; }
  .news-raster { gap: 12px; }
  .news { flex-direction: row; align-items: stretch; }
  .news img { width: 112px; aspect-ratio: auto; flex: 0 0 112px; object-fit: cover; }
  .news div { padding: 14px 16px; gap: 6px; }
  .news h3 { font-size: 16px; }
  .news p { display: none; }
  .news time { font-size: 11.5px; }
  .news.platzhalter { min-height: 110px; }
  .beitrag-text { font-size: 17px; }
  .beitrag h1 { margin-bottom: 20px; }
  .beitrag img { margin-bottom: 24px; }
  .stelle summary h3 { font-size: 19px; }
}
@media (max-width: 900px) {
  .seitennav { position: sticky; top: 68px; z-index: 10; background: #fff; margin: 0 calc(var(--rand) * -1); padding: 0 var(--rand); scrollbar-width: none; }
  .seitennav::-webkit-scrollbar { display: none; }
}
@media (max-width: 900px) { html { scroll-padding-top: 128px; } }
.filter .auswahl { display: block; }

/* Impressum: Logo Vision mit Farbe mit Adresse darunter */
.recht .webdesign { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; text-decoration: none; color: var(--tinte); }
.recht .webdesign img { display: block; width: auto; height: 40px; transition: transform .2s; transform-origin: left center; }
.recht .webdesign span { font-size: 14.5px; border-bottom: 1px solid currentColor; }
.recht .webdesign:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .recht .webdesign img { transition: none; } }
