:root {
  color-scheme: light;
  --paper: #f6f4ee;
  --white: #fffefa;
  --ink: #102a23;
  --muted: #496057;
  --line: #d8ded4;
  --green: #c8ff73;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #46795f;
  outline-offset: 3px;
}
.frame { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.top { border-bottom: 1px solid var(--line); }
.top-inner { min-height: 80px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; gap: 0; align-items: center; font-weight: 800; font-size: 1.55rem; letter-spacing: -.06em; text-decoration: none; }
.brand span { font-weight: 500; }
.brand i { width: 23px; height: 17px; margin-right: 12px; background: var(--green); border: 2px solid var(--ink); transform: skew(-28deg); box-shadow: 4px 4px 0 var(--ink); }
.pilot-link, .top nav { font-size: .94rem; font-weight: 650; }
.top nav { display: flex; align-items: center; gap: clamp(12px, 3vw, 32px); }
.top nav a:not([aria-current]) { text-decoration: none; }
.text-button { border: 0; background: transparent; color: inherit; padding: 6px 0; font: inherit; cursor: pointer; }
.text-button:hover, .top nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; min-height: 590px; padding-block: 68px; }
.hero h1 { margin: 0; max-width: 12ch; font-size: clamp(3.15rem, 6vw, 6.05rem); line-height: .98; letter-spacing: -.082em; font-weight: 770; }
.hero h1 em { display: inline; font: inherit; color: #396548; }
.hero-copy > p { max-width: 44ch; color: var(--muted); font-size: 1.13rem; line-height: 1.55; margin: 25px 0 0; }
.hero-copy .pilot-note { display: flex; align-items: center; gap: 10px; margin-top: 32px; font-size: .9rem; font-weight: 650; }
.pilot-note span { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #648e53; }
.hero-art { height: 100%; min-height: 420px; border-radius: 20px; background: #14382c; position: relative; overflow: hidden; isolation: isolate; }
.hero-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 39px, #b6e5b219 40px), repeating-linear-gradient(0deg, transparent 0 39px, #b6e5b219 40px); }
.hero-art i { position: absolute; width: 75%; height: 85%; left: 12%; top: 36%; border: 1px solid #c8ff7390; border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(38deg); }
.hero-art i:nth-child(2) { width: 85%; height: 101%; left: 9%; top: 28%; border-color: #9ff273a0 transparent transparent #9ff273a0; }
.hero-art i:nth-child(3) { width: 96%; height: 120%; left: 7%; top: 20%; border-width: 3px; border-color: var(--green) transparent transparent var(--green); }
.hero-art i:nth-child(4) { width: 28px; height: 28px; left: 65%; top: 20%; border: 0; background: var(--green); box-shadow: 0 0 0 12px #c8ff732a; }
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; padding-block: 22px; }
.workspace main { padding-block: 45px 56px; min-height: 68vh; }
.workspace h1 { margin: 0; font-size: clamp(2.3rem, 5vw, 3.65rem); line-height: 1; letter-spacing: -.067em; }
.workspace h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.027em; }
.workspace p { color: var(--muted); line-height: 1.5; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 25px; }
.page-head p { margin: 12px 0 0; }
.panel { border-radius: 15px; padding: 24px; background: var(--white); border: 1px solid var(--line); }
.compact { max-width: 530px; margin-inline: auto; padding: clamp(22px, 5vw, 42px); }
.compact p { margin: 14px 0 25px; }
.stack, .edit-grid { display: grid; gap: 18px; }
.stack > button { justify-self: start; }
label { display: grid; gap: 7px; font-size: .91rem; font-weight: 650; }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-width: 0; padding: 11px 12px; border-radius: 8px; border: 1px solid #bbc9bf;
  background: #fff; color: var(--ink); font: 400 1rem "Aptos", "Segoe UI", system-ui, sans-serif;
}
textarea { resize: vertical; }
.check { display: flex; align-items: start; gap: 8px; font-weight: 500; }
.check input { margin-top: 3px; accent-color: #365e46; }
.primary, .secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: 9px; font: 650 .95rem "Aptos", "Segoe UI", system-ui, sans-serif; border-radius: 8px; border: 1px solid transparent; padding: 10px 17px; text-decoration: none; cursor: pointer; }
.primary { background: var(--ink); color: #fff; }
.primary:hover { background: #28523d; }
.secondary { background: var(--paper); border-color: var(--line); color: var(--ink); }
.secondary:hover { background: #e9ede4; }
.filters { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; align-items: end; gap: 12px; }
.filters > a { align-self: center; font-size: .86rem; }
.count { margin: 22px 0 11px; font-size: .92rem; }
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.profile-card { display: block; position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 21px; background: var(--white); text-decoration: none; }
.profile-card:hover { border-color: #528369; }
.badge { display: inline-block; width: fit-content; border-radius: 30px; padding: 5px 10px; font-size: .78rem; font-weight: 670; background: #e8ebeb; color: #30463e; }
.badge[data-status="offen"] { background: #e1f3d5; }
.badge[data-status="suchend"] { background: #c8ff73; }
.badge[data-status="pausiert"] { background: #f4ebd0; }
.profile-card h2 { margin: 16px 28px 4px 0; overflow-wrap: anywhere; }
.profile-card p { margin: 0 20px 0 0; overflow-wrap: anywhere; }
.profile-card p.region { font-size: .88rem; margin-top: 12px; }
.card-arrow { position: absolute; top: 21px; right: 20px; font-weight: 700; }
.back { display: inline-block; margin-bottom: 23px; font-size: .92rem; }
.profile-detail { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 15px; }
.edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wide { grid-column: 1 / -1; }
.profile-meta dl { margin: 18px 0; }
.profile-meta dt { font-size: .83rem; font-weight: 650; margin: 12px 0 4px; }
.profile-meta dd { margin: 0; overflow-wrap: anywhere; }
.profile-meta p { margin-bottom: 0; font-size: .87rem; }
.editor .primary { margin-top: 5px; }
.alert, .notice { padding: 13px 17px; margin-bottom: 20px; border-radius: 8px; font-weight: 600; }
.alert { background: #f9e7dc; color: #793b28; }
.notice { background: #e0f3d8; }

@media (max-width: 820px) {
  .hero { gap: 25px; min-height: 470px; padding-block: 48px; }
  .hero-art { min-height: 320px; }
  .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .frame { width: calc(100% - 32px); }
  .top-inner { min-height: 63px; }
  .brand { font-size: 1.3rem; }
  .brand i { width: 18px; height: 14px; margin-right: 9px; }
  .hero { grid-template-columns: 1fr; padding-block: 34px; }
  .hero h1 { font-size: clamp(2.9rem, 10vw, 4rem); }
  .hero-art { min-height: 245px; border-radius: 14px; }
  .workspace main { padding-block: 29px 36px; }
  .page-head { align-items: start; flex-direction: column; gap: 15px; }
  .profiles, .profile-detail, .edit-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr auto; padding: 17px; }
  .filters label:first-of-type { grid-column: 1 / -1; }
  .filters a { grid-column: 1 / -1; }
  .editor { padding: 17px; }
}
