/* Kurhessische Wehrtechnik – Stylesheet
   Farben und Typografie aus Variante A (Design-Canvas). Keine externen Ressourcen. */

@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }

:root {
  --navy: #1b2a42;
  --gold: #a88b4a;
  --gold-dark: #8a6d33;
  --ivory: #f7f5ef;
  --sand: #efebe0;
  --line: #d9d3c3;
  --text: #1f2328;
  --muted: #6b6556;
  --muted-2: #4a4639;
  --footer-text: #e6e1d3;
  --footer-muted: #b9b3a3;
  --white: #ffffff;
  --sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1120px;
  --gutter: 20px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--ivory); font-size: 18px; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--gold-dark); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; color: var(--navy); }
ul { margin: 0; }
section[id] { scroll-margin-top: 16px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: var(--white); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; } .gap-14 { gap: 14px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-32 { gap: 32px; }

.eyebrow { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; line-height: 1.4; }
.rule { width: 64px; height: 3px; background: var(--gold); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.h2 { font-size: 34px; line-height: 1.2; }
.h3 { font-size: 21px; line-height: 1.3; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.muted { color: var(--muted-2); }
.small { font-size: 16px; line-height: 1.65; }

/* Header */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); position: relative; }
.site-header .wrap { height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.brand svg { width: 54px; height: 65px; flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.brand-claim { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.nav { display: flex; gap: 28px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { color: var(--gold-dark); }

.menu { display: none; }
.menu > summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 22px; height: 16px; }
.menu .icon-close { display: none; }
.menu[open] .icon-open { display: none; }
.menu[open] .icon-close { display: block; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(27, 42, 66, 0.08); z-index: 20; }
.menu-panel nav { display: flex; flex-direction: column; padding: 8px var(--gutter) 16px; }
.menu-panel a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; font-size: 17px; }
.menu-panel a:last-child { border-bottom: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid var(--navy); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: #253859; color: var(--white); }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { border-color: var(--gold-dark); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); min-height: 48px; }
.btn-gold:hover { background: #b99b58; color: var(--navy); }
.btn-row { display: flex; gap: 16px; padding-top: 8px; flex-wrap: wrap; }

/* Sections */
.section { padding: var(--section) 0; }
.bg-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bg-sand { background: var(--sand); }
.border-bottom { border-bottom: 1px solid var(--line); }

.hero { padding: 96px 0; border-bottom: 1px solid var(--line); }
.hero .stack { gap: 32px; padding-top: 16px; }
.hero h1 { font-size: 52px; line-height: 1.15; max-width: 900px; }
.hero .lead { font-size: 20px; line-height: 1.6; max-width: 780px; }
.hero .sub { font-size: 18px; line-height: 1.6; max-width: 780px; color: var(--muted-2); }

.split { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 64px; }
.prose { display: flex; flex-direction: column; gap: 20px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; font-size: 16px; line-height: 1.65; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; }
.services { display: flex; flex-direction: column; gap: 56px; }
.fieldbox { background: var(--ivory); padding: 32px 36px; display: flex; flex-direction: column; gap: 16px; }
.fieldbox .label { font-size: 15px; font-weight: 600; color: var(--muted); }
.fieldlist { padding-left: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 10px; font-size: 16px; line-height: 1.4; }
.col-760 { max-width: 760px; }

.portrait { padding: 10px; background: var(--white); border: 1px solid var(--line); align-self: start; }
.portrait img { width: 300px; height: 400px; object-fit: cover; }
.name-block { display: flex; flex-direction: column; gap: 4px; }
.name-block .role { font-size: 18px; color: var(--muted-2); }

.tags { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding-top: 16px; }
.tags span { padding: 6px 12px; border: 1px solid var(--gold); line-height: 1.4; }
.callout { padding: 24px 28px; background: var(--sand); font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--navy); }
.bg-sand .callout { background: var(--ivory); }
.statement { font-family: var(--serif); font-size: 22px; line-height: 1.45; color: var(--navy); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; font-size: 16px; line-height: 1.6; }
.card { background: var(--ivory); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 22px; line-height: 1.3; }
.card a { font-weight: 600; }

.contact { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 80px; }
.address { font-style: normal; border-top: 3px solid var(--gold); padding-top: 20px; font-size: 17px; line-height: 1.7; }
.address .name { font-weight: 600; }
.address .brand-note { color: var(--muted); }
.address .person { padding-top: 12px; }
.address a[href^="tel:"] { text-decoration: none; }
.channels { display: flex; flex-direction: column; font-size: 17px; line-height: 1.6; }
.channel { padding: 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.channel:first-child { padding-top: 0; }
.channel:last-child { border-bottom: 0; }
.channel h3 { font-size: 22px; line-height: 1.3; }
.channel a { font-weight: 600; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--navy); color: var(--footer-text); padding: 48px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand svg { width: 44px; height: 53px; flex: none; }
.footer-brand .stack { gap: 8px; line-height: 1.3; }
.footer-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--white); }
.footer-note { font-size: 15px; }
.footer-copy { font-size: 14px; color: var(--footer-muted); }
.footer-nav { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 10px; font-size: 15px; }
.footer-nav a { color: var(--footer-text); text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

/* Unterseiten */
.page-head { padding: 72px 0 64px; border-bottom: 1px solid var(--line); background: var(--sand); }
.page-head .stack { gap: 20px; }
.page-head h1 { font-size: 48px; line-height: 1.15; }
.backlink { font-size: 15px; text-decoration: none; color: var(--muted); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.chips span { padding: 6px 14px; border: 1px solid var(--gold); line-height: 1.4; }

.job { padding: 72px 0 88px; }
.job .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.job-body { display: flex; flex-direction: column; gap: 48px; }
.job-body .block { display: flex; flex-direction: column; gap: 16px; }
.job-body h2 { font-size: 30px; line-height: 1.25; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.job-body ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.5; }
.job-body .lead { font-family: var(--serif); font-size: 22px; line-height: 1.4; color: var(--navy); }
.job-body .lead-strong { font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.35; color: var(--navy); }
.job-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; }
.facts { background: var(--white); border-top: 3px solid var(--gold); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.facts h2, .apply h2 { font-size: 22px; line-height: 1.3; }
.facts > p { font-size: 16px; line-height: 1.6; }
.facts dl { margin: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.45; }
.facts dl > div { display: flex; flex-direction: column; gap: 2px; padding-top: 14px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.facts dd { margin: 0; }
.apply { background: var(--navy); color: var(--ivory); padding: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.6; }
.apply h2 { color: var(--white); }
.apply a { color: var(--ivory); }
.apply a[href^="tel:"] { text-decoration: none; }
.apply .btn-gold { color: var(--navy); }

.legal { padding: 64px 0 96px; }
.legal .prose { max-width: 820px; gap: 24px; font-size: 17px; line-height: 1.65; }
.legal .block { display: flex; flex-direction: column; gap: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal h2 { font-size: 24px; line-height: 1.3; }
.legal ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal .impressum { font-size: 18px; line-height: 1.6; max-width: 760px; }
.legal .impressum h2 { font-size: 22px; }
.legal a { overflow-wrap: anywhere; }

/* Responsiv */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .wrap { height: 88px; }
}

@media (max-width: 960px) {
  :root { --section: 64px; }
  .split, .grid-2, .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .grid-3, .cards { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .job .wrap { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .job-aside { position: static; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 40px; }
  .portrait { max-width: 340px; }
  .portrait img { width: 100%; height: auto; aspect-ratio: 3 / 4; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; gap: 28px; }
}

@media (max-width: 600px) {
  :root { --section: 56px; }
  body { font-size: 16px; line-height: 1.6; }
  .site-header .wrap { height: 72px; }
  .brand { gap: 10px; }
  .brand svg { width: 34px; height: 41px; }
  .brand-name { font-size: 18px; }
  .brand-claim { font-size: 10px; letter-spacing: 1.5px; }
  .hero { padding: 48px 0 56px; }
  .hero .stack { gap: 24px; padding-top: 0; }
  .hero h1 { font-size: 32px; }
  .hero .lead { font-size: 18px; line-height: 1.55; }
  .hero .sub { font-size: 16px; }
  .btn-row { flex-direction: column; gap: 12px; }
  .btn-row .btn { width: 100%; }
  .h2 { font-size: 26px; }
  .grid-3 { gap: 28px; }
  .services { gap: 40px; }
  .fieldbox { padding: 24px; }
  .fieldlist { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .callout { padding: 20px 22px; font-size: 18px; }
  .statement { font-size: 20px; }
  .address, .channels { font-size: 16px; }
  .channel a .sep { display: none; }
  .channel a span { display: block; }
  .page-head { padding: 48px 0 40px; }
  .page-head h1 { font-size: 30px; }
  .job { padding: 48px 0 64px; }
  .job-body { gap: 40px; }
  .job-body h2 { font-size: 24px; }
  .job-body ul { font-size: 16px; }
  .job-body .lead { font-size: 20px; }
  .job-body .lead-strong { font-size: 21px; }
  .legal { padding: 48px 0 64px; }
  .legal .prose, .legal .impressum { font-size: 16px; }
  .legal h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  .site-header nav, .menu, .skip, .btn-row { display: none !important; }
  body { background: #fff; }
  .site-footer { background: #fff; color: #000; }
}
