/* danielfrank.org — eigenes, responsives Astro-Design. Kein CSS-Framework / keine externen Fonts. */
:root {
  --ink: #102936;
  --ink-soft: #3e5663;
  --deep: #092838;
  --deep-2: #123a4d;
  --blue: #2183bd;
  --blue-2: #5cb5e6;
  --blue-pale: #e6f3fb;
  --bg: #fff;
  --soft: #f3f7f9;
  --soft-2: #eaf1f4;
  --line: #dbe6eb;
  --radius: 18px;
  --shadow: 0 22px 65px rgba(9, 40, 56, .09);
  --container: 1190px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: #b7e3fa; color: #0b2b3b; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1,h2,h3,h4,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.16; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem, 6vw, 5.65rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.38rem); }
h3 { font-size: 1.28rem; }
strong { font-weight: 750; }
.container { width: min(var(--container), calc(100% - 80px)); margin-inline: auto; }
.sr-only { position: absolute!important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 200; background: var(--deep); color: white; padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #1e94da; outline-offset: 4px; }
.period { color: var(--blue); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 80; border-bottom: 1px solid #e7eef1; background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.site-header__inner { height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { color: #091b25; font-size: 2.05rem; letter-spacing: -.09em; font-weight: 850; line-height: 1; display: inline-flex; align-items: baseline; white-space: nowrap; }
.brand > span:first-child { color: var(--blue); }
.nav-desktop { display: flex; align-items: stretch; height: 100%; gap: 27px; margin-left: auto; }
.nav-desktop > a { display: flex; align-items: center; border-bottom: 3px solid transparent; color: #243b48; font-size: .885rem; font-weight: 650; padding-top: 3px; transition: color .15s,border-color .15s; }
.nav-desktop > a:hover, .nav-desktop > a.is-active { color: #08699d; border-bottom-color: var(--blue); }
.button { min-height: 48px; padding: 12px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid transparent; border-radius: 10px; line-height: 1.25; font-size: .92rem; font-weight: 700; transition: background .18s, color .18s, border .18s, transform .18s, box-shadow .18s; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 43px; padding: 9px 17px; }
.button--dark { background: var(--deep); color: white; }
.button--dark:hover { background: #175476; box-shadow: 0 10px 22px rgba(9,40,56,.16); }
.button--primary { background: var(--blue); color: white; }
.button--primary:hover { background: #0c689e; box-shadow: 0 10px 25px rgba(33,131,189,.22); }
.button--outline { color: var(--ink); background: #fff; border-color: #cddde5; }
.button--outline:hover { border-color: var(--blue); background: #f8fcfe; }
.button--white { color: var(--deep); background: #fff; }
.button--white:hover { background: #e5f3fa; }
.mobile-toggle, .mobile-nav { display: none; }

/* Shared headings and text */
.section { padding: 108px 0; }
.section--tight { padding: 70px 0; }
.section--soft { background: var(--soft); }
.section-heading { max-width: 690px; margin-bottom: 40px; }
.section-heading h2 { margin: 18px 0 16px; }
.section-heading > p { color: var(--ink-soft); font-size: 1.065rem; max-width: 690px; margin: 0; }
.eyebrow { color: #1a698e; font-size: .76rem; font-weight: 800; letter-spacing: .18em; line-height: 1.4; display: inline-flex; align-items: center; gap: 13px; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 34px; height: 3px; background: var(--blue); flex: none; }
.eyebrow--light { color: #aed5eb; }
.body-lead { color: #375360; font-size: 1.15rem; line-height: 1.76; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 750; font-size: .96rem; color: #0b5e8b; border-bottom: 1px solid #7eb2d0; padding: 0 0 7px; }
.text-link:hover { color: #0b2f44; gap: 17px; }
.pill { display: inline-flex; border-radius: 99px; padding: 5px 11px; font-size: .76rem; font-weight: 750; line-height: 1.4; }
.pill--outline { border: 1px solid #cfdfe7; background: #fff; color: var(--ink-soft); }
.pill--blue { background: #e1f1fc; color: #08659a; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-list span { display: inline-flex; background: #ecf3f6; border: 1px solid #e1ebf0; border-radius: 99px; padding: 5px 12px; color: #45606e; font-size: .73rem; font-weight: 650; }

/* Home hero */
.home-hero { position: relative; isolation: isolate; background: radial-gradient(circle at 78% 39%, #dceff8 0, rgba(220,239,248,0) 38%), linear-gradient(135deg, #f9fbfc 0%, #eef5f8 100%); overflow: hidden; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .34; background-image: linear-gradient(#d8e4eb 1px, transparent 1px),linear-gradient(90deg,#d8e4eb 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg,transparent 26%,#000 100%); }
.home-hero__inner { min-height: 652px; display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 55px; padding-top: 54px; padding-bottom: 51px; }
.home-hero__copy { position: relative; z-index: 3; }
.home-hero__copy h1 { margin: 23px 0 12px; color: #0d2634; font-size: clamp(3.55rem, 6.4vw, 6rem); letter-spacing: -.072em; white-space: nowrap; }
.home-hero__subtitle { font-size: clamp(1.43rem, 2.9vw, 2.2rem); font-weight: 660; letter-spacing: -.04em; color: #3d5866; line-height: 1.3; margin: 0 0 25px; }
.home-hero__description { max-width: 525px; font-size: 1.075rem; line-height: 1.82; color: #405d6c; margin-bottom: 25px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.81); border: 1px solid #d5e3eb; border-radius: 100px; padding: 6px 11px; font-size: .74rem; font-weight: 700; white-space: nowrap; box-shadow: 0 2px 4px rgba(10,45,65,.02); }
.hero-badges svg { color: #236e99; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.home-hero__visual { min-height: 506px; display: flex; align-items: center; justify-content: center; position: relative; }
.home-hero__visual::before { content: ''; position: absolute; width: 520px; aspect-ratio: 1; border: 1px solid #c5e0ee; border-radius: 50%; left: 5%; top: -7px; }
.home-hero__visual::after { content: ''; position: absolute; width: 400px; aspect-ratio: 1; border: 1px solid #c5e0ee; border-radius: 50%; left: 16%; top: 47px; }
.portrait-frame { width: min(100%,392px); position: relative; z-index: 2; border-radius: 14px; border: 8px solid #fff; background: #f1f4f5; box-shadow: 0 30px 75px rgba(15,52,75,.2); transform: rotate(1.25deg); }
.portrait-frame img { width: 100%; height: 407px; object-fit: cover; object-position: center 20%; border-radius: 4px; }
.portrait-frame__top { display: flex; align-items: center; gap: 9px; height: 42px; padding: 0 9px 0 10px; color: #4a6472; font-size: .66rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; }
.portrait-frame__top svg { margin-left: auto; }
.portrait-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.portrait-caption { display: flex; justify-content: space-between; padding: 14px 11px 9px; color: #355767; font-size: .64rem; font-weight: 750; letter-spacing: .12em; }
.hero-coordinate { position: absolute; right: -10px; top: 9%; z-index: 3; line-height: 1.4; color: #609aba; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; text-align: right; letter-spacing: .07em; }
.visual-brackets { position: absolute; width: 56px; height: 56px; border-left: 4px solid var(--blue); border-bottom: 4px solid var(--blue); bottom: 24px; left: 16px; z-index: 3; }
.hero-rail { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; border-top: 1px solid #d5e1e8; color: #56717f; font-size: .72rem; font-weight: 600; letter-spacing: .07em; }
.rail-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 9px; vertical-align: middle; }

/* Home feature cards */
.section--intro { padding-top: 96px; }
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.feature-card { min-height: 278px; background: #fff; border: 1px solid #dce6ec; border-bottom: 3px solid #174f70; border-radius: 13px; padding: 24px 22px 19px; position: relative; transition: transform .22s,border-color .22s,box-shadow .22s; }
.feature-card:hover { transform: translateY(-6px); border-color: #8fc9e5; box-shadow: var(--shadow); }
.feature-icon { width: 50px; height: 50px; display: grid; place-items: center; color: #0f5279; background: #e9f4fa; border-radius: 12px; margin-bottom: 19px; }
.feature-index { position: absolute; right: 22px; top: 29px; color: #a2b8c3; font-size: .72rem; font-weight: 750; font-family: ui-monospace, monospace; }
.feature-card h3 { font-size: 1.27rem; margin: 0 0 10px; }
.feature-card p { color: #516a79; font-size: .87rem; line-height: 1.6; padding-bottom: 22px; margin: 0; }
.feature-arrow { position: absolute; right: 22px; bottom: 15px; color: #0e5279; }

/* Career preview */
.section--career-preview { background: var(--soft); }
.split-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: min(10vw,120px); }
.split-intro .body-lead { max-width: 460px; margin: -8px 0 28px; }
.mini-timeline { border-left: 1px solid #c7d8e1; padding-left: 34px; margin-top: 10px; }
.mini-timeline__item { position: relative; padding: 0 0 38px; }
.mini-timeline__item:last-child { padding-bottom: 0; }
.mini-timeline__marker { position: absolute; top: 3px; left: -41px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid #fff; background: var(--blue); box-shadow: 0 0 0 1px #c0d7e3; }
.mini-timeline__period { font-size: .73rem; letter-spacing: .06em; color: #367ba4; font-weight: 800; }
.mini-timeline__item h3 { font-size: 1.18rem; margin: 4px 0 3px; }
.mini-timeline__item p { color: #65808c; font-size: .88rem; margin: 0; }

/* Civic highlight */
.civic-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: min(9vw,108px); align-items: center; }
.civic-visual { position: relative; aspect-ratio: 1.18; overflow: hidden; background: radial-gradient(circle at 70% 40%, #205a79, transparent 40%), linear-gradient(140deg,#0a2c3f,#0d425c); border-radius: 16px; color: #fff; box-shadow: 0 28px 75px rgba(10,50,70,.14); }
.civic-visual::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent,transparent 47px,rgba(255,255,255,.055) 48px),repeating-linear-gradient(90deg,transparent,transparent 47px,rgba(255,255,255,.055) 48px); }
.civic-caption { position: absolute; top: 28px; left: 30px; font-size: .7rem; font-weight: 750; letter-spacing: .16em; color: #b3d2e1; }
.civic-monogram { position: absolute; top: 38%; left: 49%; transform: translate(-50%,-50%); font-size: clamp(12rem,22vw,20rem); font-weight: 850; letter-spacing: -.1em; line-height: 1; color: rgba(255,255,255,.09); }
.civic-circles span { position: absolute; border: 1px solid rgba(147,211,242,.26); border-radius: 50%; width: 68%; aspect-ratio: 1; top: 7%; left: 16%; }
.civic-circles span:nth-child(2) { width: 53%; top: 16%; left: 23%; }
.civic-circles span:nth-child(3) { width: 39%; top: 24%; left: 30%; }
.civic-visual__bottom { position: absolute; bottom: 34px; left: 30px; display: flex; flex-direction: column; text-transform: uppercase; }
.civic-visual__bottom span { font-size: .84rem; letter-spacing: .15em; color: #b9dce9; }
.civic-visual__bottom strong { font-size: 3rem; letter-spacing: -.035em; line-height: 1.2; }
.civic-copy h2 { margin: 20px 0 20px; }
.civic-copy > p { color: #4f6b7a; font-size: 1rem; line-height: 1.82; max-width: 540px; margin-bottom: 27px; }

/* Projects preview */
.section--project-preview { background: #f8fafb; }
.section-topline { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 39px; }
.section-topline .section-heading { margin: 0; }
.section-topline > .text-link { margin-bottom: 9px; white-space: nowrap; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-card { display: flex; flex-direction: column; min-height: 455px; border-radius: 15px; overflow: hidden; position: relative; transition: transform .22s,box-shadow .22s; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-card--blue { background: #0a3249; color: #fff; }
.project-card--light { background: #e7f1f7; color: var(--ink); }
.project-card__top { display: flex; justify-content: space-between; align-items: center; padding: 28px 28px 0; font-size: .73rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.project-card__art { flex: 1; min-height: 165px; position: relative; display: grid; place-items: center; overflow: hidden; }
.art-code { font-size: clamp(3.1rem, 6vw, 5rem); font-weight: 850; letter-spacing: -.08em; color: #d6f2ff; position: relative; z-index: 1; }
.art-orbit { position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(150,210,235,.2); border-radius: 50%; }
.art-orbit--two { width: 48%; }
.art-code--df { color: #0b384f; font-size: 7.5rem; }
.art-grid { position: absolute; inset: 0; background-image: linear-gradient(#c7dde9 1px,transparent 1px),linear-gradient(90deg,#c7dde9 1px,transparent 1px); background-size: 42px 42px; opacity: .65; }
.project-card__bottom { min-height: 167px; border-top: 1px solid rgba(255,255,255,.18); padding: 22px 28px 26px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.project-card--light .project-card__bottom { border-top-color: #c9dfe9; }
.project-card__number { font-size: .68rem; font-weight: 750; letter-spacing: .12em; opacity: .66; }
.project-card__bottom h3 { font-size: 1.5rem; margin: 5px 0 7px; }
.project-card__bottom p { font-size: .87rem; line-height: 1.55; opacity: .82; margin: 0; max-width: 435px; }
.project-card__circle { width: 44px; height: 44px; border: 1px solid currentColor; opacity: .85; border-radius: 50%; display: grid; place-items: center; flex: none; }

/* Contact banner and footer */
.contact-banner { background: #082839; color: #fff; position: relative; overflow: hidden; }
.contact-banner::before { content: ''; position: absolute; inset: 0; opacity: .13; background-image: repeating-linear-gradient(125deg,transparent 0,transparent 130px,#71bce7 131px,#71bce7 132px); }
.contact-banner__inner { position: relative; padding-top: 74px; padding-bottom: 74px; display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.contact-banner h2 { font-size: clamp(2rem,3.7vw,3.1rem); margin: 15px 0 12px; }
.contact-banner h2 span { color: #58b2e5; }
.contact-banner p { color: #c0d4df; margin: 0; }
.contact-banner .button { flex: none; }
.site-footer { background: #081f2d; color: #d4e4eb; }
.footer-upper { padding: 67px 0 57px; display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 60px; }
.brand--footer { color: #fff; font-size: 2.55rem; }
.footer-about p { margin: 18px 0; max-width: 320px; line-height: 1.8; color: #a7c0cd; font-size: .96rem; }
.footer-location { display: flex; align-items: center; gap: 8px; color: #7fa5b9; font-size: .82rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links h3 { font-size: .87rem; color: white; letter-spacing: .03em; margin: 4px 0 7px; }
.footer-links a { font-size: .87rem; color: #abc3d0; display: inline-flex; align-items: center; gap: 5px; }
.footer-links a:hover,.footer-bottom a:hover { color: #69c1f0; }
.footer-bottom { border-top: 1px solid #1b3a4c; }
.footer-bottom__inner { min-height: 74px; display: flex; gap: 24px; align-items: center; justify-content: space-between; font-size: .77rem; color: #8aabbc; }
.footer-bottom__inner div { display: flex; gap: 19px; }

/* Page heroes */
.page-hero { color: #fff; background: linear-gradient(105deg,#082838 0%,#17465f 100%); position: relative; overflow: hidden; }
.page-hero--civic { background: linear-gradient(105deg,#082838,#1c4e65); }
.page-hero--contact { background: linear-gradient(105deg,#082838,#154b67); }
.page-hero__inner { min-height: 370px; display: flex; align-items: center; padding-top: 43px; padding-bottom: 54px; position: relative; }
.page-hero__copy { position: relative; z-index: 2; max-width: 850px; }
.page-hero h1 { font-size: clamp(3.1rem, 6vw, 5.25rem); margin: 20px 0 17px; }
.page-hero p { max-width: 745px; color: #bfd6e2; font-size: 1.055rem; line-height: 1.8; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #92bed4; font-size: .77rem; margin-bottom: 30px; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero__graphic { position: absolute; right: -70px; top: 0; width: 500px; height: 100%; overflow: hidden; opacity: .45; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(169,214,234,.14) 1px,transparent 1px),linear-gradient(90deg,rgba(169,214,234,.14) 1px,transparent 1px); background-size: 39px 39px; }
.hero-circle { position: absolute; border: 1px solid #8bbad0; border-radius: 50%; }
.circle-one { width: 350px; height: 350px; right: 70px; top: 0; }
.circle-two { width: 225px; height: 225px; right: 130px; top: 62px; }
.hero-cross { position: absolute; color: #72b8dd; right: 60px; top: 40px; font-size: 4.5rem; font-weight: 200; }

/* Career page */
.content-narrow { max-width: 970px; }
.career-timeline { margin-top: 48px; }
.career-item { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 12px; }
.career-item__rail { position: relative; }
.career-item__rail::after { content: ''; position: absolute; top: 24px; bottom: 0; left: 12px; background: #d3e3eb; width: 2px; }
.career-item:last-child .career-item__rail::after { display: none; }
.career-item__node { display: block; width: 17px; height: 17px; border: 4px solid #d0e6f2; border-radius: 50%; background: #6b9ab5; position: relative; z-index: 1; top: 6px; left: 5px; }
.career-item__node--current { border-color: #c9eafa; background: #0873ae; }
.career-item__body { border-bottom: 1px solid var(--line); padding-bottom: 43px; margin-bottom: 42px; }
.career-item:last-child .career-item__body { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.career-item__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.career-item h3 { font-size: 1.65rem; margin: 0 0 6px; }
.career-item__company { margin-bottom: 17px; font-size: .98rem; font-weight: 720; color: #256989; }
.career-item__company span { color: #6d828c; font-weight: 550; }
.career-item__description { margin-bottom: 12px; color: #415e6c; font-size: 1rem; }
.check-list { list-style: none; padding: 0; margin: 0 0 23px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; margin: 8px 0; color: #597380; font-size: .91rem; }
.check-list li svg { flex: none; color: var(--blue); margin-top: 4px; }
.education-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 19px; }
.education-card { background: white; border: 1px solid #e0e9ed; border-radius: 13px; padding: 28px; min-height: 291px; position: relative; }
.education-index { color: #bed1dc; font-size: 2rem; font-weight: 800; letter-spacing: -.06em; position: absolute; right: 25px; top: 11px; }
.education-period { display: inline-block; padding: 5px 9px; border-radius: 5px; background: #e6f2f8; color: #21698f; font-size: .75rem; font-weight: 800; margin-bottom: 26px; position: relative; }
.education-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.education-institution { color: #226d94!important; font-weight: 700; }
.education-card p { margin-bottom: 11px; color: #57717f; font-size: .87rem; }
.skills-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.skill-group { padding: 24px; border: 1px solid #e0e9ef; border-radius: 12px; }
.skill-group h3 { font-size: 1.02rem; display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #e4ecf0; margin: 0 0 14px; }
.skill-group h3 svg { color: #1779ad; }
.skill-group ul { list-style: none; padding: 0; margin: 0; }
.skill-group li { font-size: .89rem; color: #58717e; line-height: 1.55; padding: 6px 0; }
.skill-group li::before { content: '•'; color: var(--blue); margin-right: 9px; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 36px 42px; border-radius: 15px; background: var(--soft); }
.inline-cta h2 { font-size: 1.75rem; margin: 0 0 8px; }
.inline-cta p { font-size: .94rem; color: #637e8b; margin: 0; }
.inline-cta .button { flex: none; }

/* About page */
.about-split { display: grid; grid-template-columns: .79fr 1.21fr; gap: min(9vw,115px); align-items: center; }
.about-photo { border-radius: 15px; overflow: hidden; background: #eef2f4; box-shadow: var(--shadow); }
.about-photo img { width: 100%; max-height: 580px; object-fit: cover; object-position: 50% 20%; }
.about-photo__label { padding: 19px 24px; display: flex; justify-content: space-between; gap: 10px; letter-spacing: .1em; font-size: .72rem; font-weight: 800; background: var(--deep); color: white; }
.about-photo__label span { color: #64bde8; }
.about-text h2 { margin: 18px 0 23px; font-size: clamp(2.1rem,3.3vw,3.15rem); }
.about-text h2 span { color: #2b7fa8; }
.about-text > p { color: #536d7b; line-height: 1.84; font-size: .99rem; margin-bottom: 18px; }
.about-text .text-link { margin-top: 8px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card { padding: 28px; background: #fff; border: 1px solid #e2ebf0; border-radius: 13px; min-height: 235px; position: relative; }
.value-card > svg { color: #1178b0; margin-bottom: 21px; }
.value-card__number { position: absolute; top: 22px; right: 24px; color: #aac4d1; font-weight: 800; font-family: ui-monospace,monospace; font-size: .8rem; }
.value-card h3 { font-size: 1.29rem; margin-bottom: 10px; }
.value-card p { color: #587482; font-size: .9rem; line-height: 1.66; margin-bottom: 0; }
.about-bottom { display: grid; grid-template-columns: 1fr .86fr; gap: 95px; align-items: center; }
.about-bottom .body-lead { margin-top: -10px; margin-bottom: 27px; }
.quote-panel { background: var(--deep); color: #fff; border-radius: 16px; padding: 29px 38px 38px; min-height: 286px; }
.quote-panel__mark { display: block; color: #68bdec; font-size: 6rem; height: 66px; line-height: 1; font-family: Georgia, serif; }
.quote-panel p { font-size: 1.52rem; letter-spacing: -.02em; line-height: 1.42; font-weight: 600; }
.quote-panel > span:last-child { color: #8ebcd5; font-size: .8rem; }

/* Engagement page */
.civic-about { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: min(10vw,130px); }
.civic-about h2 { margin: 16px 0 23px; }
.civic-about p:not(.body-lead) { color: #57717e; font-size: .98rem; line-height: 1.81; }
.civic-about .tag-list { margin-top: 28px; }
.mandate-panel { min-height: 357px; border-radius: 15px; background: radial-gradient(circle at 82% 1%, #286284,transparent 45%),var(--deep); color: white; padding: 35px; }
.mandate-panel__eyebrow { display: block; font-size: .7rem; letter-spacing: .2em; font-weight: 800; color: #9fc9db; }
.mandate-panel > strong { display: block; margin-top: 14px; color: #fff; font-size: clamp(2.8rem,4.5vw,4rem); line-height: 1.2; letter-spacing: -.06em; }
.mandate-panel > strong > span { color: #7cc8ef; }
.mandate-panel__separator { margin: 36px 0 28px; border-top: 1px solid #34596c; }
.mandate-panel svg { color: #88c9e9; }
.mandate-panel h3 { margin: 11px 0 3px; font-size: 1.3rem; }
.mandate-panel p { color: #aec9d5; font-size: .88rem; margin: 0; }
.committee-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.committee-card { position: relative; min-height: 244px; background: white; border: 1px solid #e0eaf0; border-radius: 13px; padding: 26px; }
.committee-card__number { position: absolute; top: 27px; right: 27px; color: #a5beca; font-size: .77rem; font-weight: 800; }
.committee-card__icon { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 12px; background: #e8f4fa; color: #176b99; margin-bottom: 22px; }
.committee-card h3 { font-size: 1.2rem; max-width: 260px; margin-bottom: 14px; }
.committee-card p { font-size: .82rem; color: #6a8592; margin: 0; }
.substitutes { margin-top: 36px; padding: 24px 30px; background: #e8f0f4; border-radius: 12px; }
.substitutes h3 { font-size: 1.02rem; margin: 0 0 14px; }
.substitute-list { display: flex; flex-wrap: wrap; gap: 15px 26px; }
.substitute-list span { display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; color: #496573; }
.substitute-list svg { color: #187fae; }
.engagement-bottom { display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: center; }
.engagement-bottom .body-lead { margin-top: -8px; margin-bottom: 25px; }
.engagement-note { background: #eaf4f9; padding: 32px; border-radius: 15px; }
.engagement-note > svg { color: var(--blue); margin-bottom: 19px; }
.engagement-note h3 { font-size: 1.27rem; margin-bottom: 9px; }
.engagement-note p { color: #557583; font-size: .9rem; margin-bottom: 20px; }

/* Project listing and detail */
.projects-list { display: grid; gap: 22px; }
.project-list-card { display: grid; grid-template-columns: 38% 1fr 44px; gap: 40px; border: 1px solid #dce7ed; border-radius: 15px; padding: 18px 24px 18px 18px; align-items: center; transition: box-shadow .2s,transform .2s; }
.project-list-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project-list-card__image { position: relative; min-height: 264px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: repeating-linear-gradient(0deg,transparent 0,transparent 44px,rgba(255,255,255,.05) 45px),#0c3449; color: #d5f3ff; }
.project-list-card__image--two { background: repeating-linear-gradient(90deg,transparent 0,transparent 44px,rgba(20,70,90,.08) 45px),#dfedf4; color: #10415e; }
.project-list-card__image > span:first-child { font-size: clamp(2.4rem,4vw,4.6rem); font-weight: 850; letter-spacing: -.075em; white-space: nowrap; }
.project-list-card__number { position: absolute; right: 19px; top: 15px; font-size: .72rem; letter-spacing: .16em; font-weight: 800; }
.project-list-card__content { padding: 17px 0; }
.kicker { color: #1c7da9; font-size: .71rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-list-card__content h3 { font-size: 1.9rem; margin: 12px 0 11px; }
.project-list-card__content p { color: #597381; line-height: 1.7; max-width: 520px; font-size: .96rem; }
.project-list-card__content .text-link { margin-top: 22px; }
.project-list-card__arrow { align-self: start; margin-top: 15px; color: #277da7; }
.detail-hero { background: radial-gradient(circle at 70% 35%,#144d6d,transparent 37%),#082b3c; color: white; overflow: hidden; }
.detail-hero > .container { position: relative; min-height: 470px; padding-top: 44px; padding-bottom: 65px; }
.detail-hero .breadcrumb { margin-bottom: 54px; }
.detail-hero h1 { position: relative; z-index: 1; font-size: clamp(3.8rem,7vw,7.15rem); margin: 16px 0; }
.detail-hero h1 > span { color: #5db6e7; }
.detail-hero p { position: relative; z-index: 1; color: #c0d8e4; font-size: 1.18rem; }
.detail-tags { display: flex; gap: 9px; flex-wrap: wrap; position: relative; z-index: 1; margin-top: 32px; }
.detail-tags span { padding: 5px 12px; border: 1px solid #58829a; color: #c1d9e6; border-radius: 99px; font-size: .75rem; }
.detail-hero__motif { position: absolute; right: -20px; bottom: -65px; font-size: clamp(8rem,18vw,17rem); line-height: 1; font-weight: 900; letter-spacing: -.1em; opacity: .075; white-space: nowrap; }
.detail-hero--light { background: linear-gradient(110deg,#eaf4f9,#d6eaf4); color: var(--ink); }
.detail-hero--light .breadcrumb { color: #557d93; }
.detail-hero--light p { color: #547486; }
.detail-hero--light .detail-tags span { color: #386981; border-color: #a9cbdc; }
.detail-hero--light .detail-hero__motif { opacity: .09; }
.detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: min(10vw,120px); align-items: start; }
.detail-grid h2 { font-size: clamp(2.2rem,3.8vw,3.5rem); margin: 20px 0 20px; }
.detail-grid p:not(.body-lead) { color: #5c7684; line-height: 1.8; }
.detail-aside { border: 1px solid #dfe9ef; border-radius: 14px; padding: 28px; background: #f8fbfc; }
.detail-aside h3 { margin-bottom: 24px; }
.detail-aside > div { display: flex; flex-direction: column; gap: 3px; padding: 15px 0; border-top: 1px solid #dbe7ed; }
.detail-aside > div > span { color: #6b8a99; font-size: .76rem; }
.detail-aside > div > strong { font-size: .94rem; }
.detail-aside .button { margin-top: 27px; width: 100%; }
.h2-small { font-size: 2rem; margin-bottom: 25px; }
.back-row { padding: 29px 0 87px; }
.arrow-flip { transform: rotate(180deg); }

/* Contact page */
.contact-page-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: min(11vw,120px); }
.contact-page-grid h2 { margin: 20px 0; }
.contact-page-grid p:not(.body-lead) { color: #5c7683; line-height: 1.78; }
.contact-methods { margin-top: 30px; display: grid; gap: 14px; }
.contact-method { display: flex; align-items: center; gap: 18px; padding: 19px; border: 1px solid #dce8ee; border-radius: 12px; transition: border-color .2s,background .2s; }
.contact-method:hover { border-color: #91c9e2; background: #f7fbfd; }
.contact-method__icon { width: 51px; height: 51px; display: grid; place-items: center; flex: none; border-radius: 11px; background: #e8f3fa; color: #0d6c9f; }
.contact-method > span:nth-child(2) { display: flex; flex-direction: column; overflow-wrap: anywhere; flex: 1; line-height: 1.55; }
.contact-method small { font-size: .73rem; letter-spacing: .08em; color: #6a8795; font-weight: 800; }
.contact-method strong { font-size: .95rem; }
.contact-method > svg { color: var(--blue); flex: none; }
.contact-side { background: radial-gradient(circle at 90% 10%,#226485,transparent 43%),var(--deep); padding: 38px; min-height: 410px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; border-radius: 16px; color: white; }
.contact-side__symbol { margin-bottom: auto; color: #93d2f4; }
.contact-side h3 { font-size: 2.3rem; line-height: 1.2; margin-bottom: 17px; }
.contact-side p { color: #bbd7e4; }
.contact-side > span { color: #8bb6c9; font-size: .8rem; margin-top: 20px; }

/* Legal and 404 */
.legal-content { max-width: 840px; font-size: .97rem; }
.legal-content h2 { font-size: 1.42rem; letter-spacing: -.015em; margin: 43px 0 13px; }
.legal-content p { color: #506a79; line-height: 1.83; }
.legal-content a { color: #046898; text-decoration: underline; }
.legal-warning { padding: 21px 25px; border: 1px solid #e6c77e; border-left: 5px solid #d69a1d; background: #fffbf0; border-radius: 9px; }
.legal-warning strong { color: #855c16; }
.legal-warning p { margin: 7px 0 0; color: #735d34; }
.legal-warning code { font-family: ui-monospace,monospace; font-size: .82rem; }
.legal-date { font-size: .8rem; color: #758e9c!important; margin-top: 30px; }
.legal-disclaimer { margin-top: 50px; padding-top: 15px; border-top: 1px solid #dce6ed; font-size: .82rem; }
.error-page { padding: 135px 0 160px; text-align: center; }
.error-code { font-size: 9rem; color: #e5f3fa; line-height: 1; font-weight: 850; letter-spacing: -.1em; }
.error-page h1 { font-size: clamp(2.2rem,4vw,3.6rem); max-width: 650px; margin: 20px auto; }
.error-page p { color: #617b89; margin-bottom: 29px; }

/* Breakpoints */
@media (max-width: 1120px) {
  .nav-desktop { gap: 18px; }
  .site-header__inner { gap: 20px; }
  .container { width: min(var(--container),calc(100% - 56px)); }
  .home-hero__inner { gap: 24px; }
  .home-hero__copy h1 { font-size: clamp(3.3rem,6vw,5.4rem); }
  .feature-grid { gap: 12px; }
  .feature-card { padding: 21px 16px; }
  .feature-index { right: 15px; }
  .project-list-card { grid-template-columns: 36% 1fr 25px; gap: 24px; }
}
@media (max-width: 910px) {
  .nav-desktop { display: none; }
  .site-header__inner > .button { margin-left: auto; }
  .mobile-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d7e5ed; border-radius: 9px; background: white; color: var(--deep); cursor: pointer; }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; gap: 0; padding: 8px 28px 24px; border-top: 1px solid #e3ecf0; background: white; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100dvh - 83px); overflow-y: auto; box-shadow: 0 30px 40px rgba(7,38,51,.12); }
  .mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; font-size: 1rem; font-weight: 700; border-bottom: 1px solid #e9eff2; }
  .mobile-nav a.is-active { color: #0b78b3; }
  .home-hero__inner { min-height: 600px; }
  .home-hero__copy h1 { white-space: normal; }
  .portrait-frame img { height: 360px; }
  .home-hero__visual { min-height: 440px; }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card { min-height: 238px; padding: 24px; }
  .civic-split,.about-bottom { gap: 55px; }
  .education-grid,.committee-grid,.values-grid { gap: 12px; }
  .education-card,.committee-card,.value-card { padding: 21px; }
  .footer-upper { gap: 25px; }
}
@media (max-width: 730px) {
  html { scroll-padding-top: 73px; }
  .container { width: min(var(--container),calc(100% - 36px)); }
  .site-header__inner { height: 70px; }
  .site-header__inner > .button { display: none; }
  .mobile-nav:not([hidden]) { max-height: calc(100dvh - 70px); }
  .brand { font-size: 1.93rem; }
  .section { padding: 69px 0; }
  .section--tight { padding: 42px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { margin-top: 14px; }
  .home-hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 30px; min-height: unset; padding-top: 68px; padding-bottom: 24px; }
  .home-hero__copy h1 { font-size: clamp(3.35rem,11.5vw,5.1rem); margin: 18px 0 9px; }
  .home-hero__subtitle { font-size: 1.6rem; }
  .home-hero__visual { min-height: unset; padding: 6px 8px 32px; }
  .portrait-frame { max-width: 355px; }
  .portrait-frame img { height: 345px; }
  .hero-coordinate { right: 6%; top: 7%; }
  .hero-rail { flex-wrap: wrap; gap: 5px 18px; padding: 13px 0; font-size: .65rem; }
  .hero-rail > span:last-child { display: none; }
  .feature-grid { gap: 11px; }
  .feature-card { min-height: 255px; padding: 21px; }
  .split-intro,.civic-split,.about-split,.about-bottom,.civic-about,.engagement-bottom,.detail-grid,.contact-page-grid { grid-template-columns: 1fr; gap: 36px; }
  .mini-timeline { margin-left: 7px; }
  .civic-visual { max-width: 600px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 370px; }
  .project-card__art { min-height: 142px; }
  .project-card__bottom { min-height: 143px; }
  .section-topline { align-items: flex-start; flex-direction: column; }
  .section-topline .text-link { margin-top: 2px; }
  .contact-banner__inner { flex-direction: column; align-items: flex-start; padding-top: 63px; padding-bottom: 63px; gap: 22px; }
  .footer-upper { grid-template-columns: repeat(2,1fr); gap: 32px; padding: 51px 0 39px; }
  .footer-about { grid-column: span 2; }
  .footer-bottom__inner { padding: 21px 0; flex-wrap: wrap; gap: 10px 19px; }
  .footer-bottom__inner > span:nth-child(2) { display: none; }
  .page-hero__inner { min-height: 330px; padding-top: 27px; padding-bottom: 45px; }
  .page-hero__graphic { right: -260px; }
  .page-hero h1 { font-size: clamp(2.55rem,8.6vw,4.4rem); }
  .page-hero p { font-size: .99rem; }
  .breadcrumb { margin-bottom: 24px; }
  .education-grid,.committee-grid,.values-grid { grid-template-columns: 1fr; }
  .education-card,.committee-card,.value-card { min-height: 0; padding: 25px; }
  .skills-grid { grid-template-columns: repeat(2,1fr); }
  .career-item { grid-template-columns: 24px minmax(0,1fr); gap: 6px; }
  .career-item__rail::after { left: 8px; }
  .career-item__node { left: 1px; }
  .inline-cta { align-items: flex-start; flex-direction: column; gap: 20px; padding: 28px; }
  .about-photo { max-width: 430px; }
  .mandate-panel { min-height: 300px; }
  .project-list-card { grid-template-columns: 1fr; gap: 0; padding: 12px; }
  .project-list-card__image { min-height: 240px; }
  .project-list-card__content { padding: 22px 11px 24px; }
  .project-list-card__arrow { display: none; }
  .detail-hero > .container { min-height: 420px; padding-bottom: 50px; }
  .detail-hero .breadcrumb { margin-bottom: 44px; }
  .detail-hero h1 { font-size: clamp(3.5rem,9vw,6rem); }
  .contact-side { min-height: 320px; }
}
@media (max-width: 440px) {
  .hero-actions .button { width: 100%; }
  .hero-badges { gap: 6px; }
  .hero-badges span { font-size: .69rem; padding: 5px 9px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 205px; padding: 23px; }
  .feature-card p { max-width: 340px; }
  .skills-grid { grid-template-columns: 1fr; }
  .substitutes { padding: 23px; }
  .committee-card { min-height: 204px; }
  .page-hero h1 { overflow-wrap: anywhere; }
  .detail-hero h1 { font-size: 3.5rem; overflow-wrap: anywhere; }
  .contact-method { gap: 11px; padding: 14px; }
  .contact-method__icon { width: 41px; height: 41px; }
  .contact-method strong { font-size: .85rem; }
  .error-code { font-size: 6.7rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition: none!important; animation: none!important; } }

/* Kontakt über soziale Netzwerke: unkonfigurierte Profile werden nicht als Link ausgegeben. */
.contact-method--pending { opacity: .7; cursor: default; background: #f8fbfd; }
.contact-method--pending:hover { border-color: #dce8ee; background: #f8fbfd; }
.contact-method__pending { display: block; color: #66808e; font-size: .8rem; margin-top: 2px; }
/* Die einzelne Projektkarte erhält genügend Raum, ohne zwei Projekte vorzutäuschen. */
.project-grid--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.project-card--single { min-height: 390px; }
