:root {
  --blue: #0089cf;
  --cyan: #68daf7;
  --navy: #071d2d;
  --navy-2: #0a334e;
  --ink: #102a3c;
  --muted: #627485;
  --line: #dce8ee;
  --ice: #f1f9fc;
  --white: #fff;
  --shell: min(1180px, calc(100% - 48px));
  font-family: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-150%); background: #fff; padding: 10px 16px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }
.finder-header { position: absolute; inset: 0 0 auto; z-index: 10; height: 88px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); }
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; line-height: 1; }
.brand-main { font-size: 2rem; font-weight: 800; letter-spacing: -.075em; }
.brand-main span { color: var(--cyan); font-size: .57em; vertical-align: -.2em; }
.brand-sub { font-size: .82rem; font-weight: 500; letter-spacing: .17em; text-transform: uppercase; }
.back-link { padding: 9px 13px; border: 1px solid rgba(255,255,255,.4); font-size: .8rem; font-weight: 800; }
.back-link span { margin-right: 10px; }
.finder-hero { position: relative; overflow: hidden; min-height: 550px; padding: 155px 0 86px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, #073552 58%, #007ab9 100%); }
.finder-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 46px; background: #fff; clip-path: polygon(0 100%,100% 0,100% 100%); }
.water-lines { position: absolute; inset: -40%; opacity: .22; transform: rotate(-8deg); background: repeating-radial-gradient(ellipse at 77% 49%, transparent 0 37px, rgba(255,255,255,.45) 39px, transparent 42px 74px); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr .9fr; gap: 100px; align-items: end; }
.eyebrow { margin: 0 0 16px; color: var(--cyan); font-size: .74rem; line-height: 1.2; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
h1, h2 { margin: 0; color: var(--navy); letter-spacing: -.05em; line-height: 1.02; }
h1 { color: #fff; font-size: clamp(3rem, 5vw, 5.2rem); }
h1 em { color: #70daf7; font-style: normal; font-weight: 300; }
.lead { max-width: 650px; margin: 25px 0 0; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.progress { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
.progress li { display: grid; grid-template-columns: 44px 1fr; align-items: center; min-height: 54px; border-bottom: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.55); }
.progress li.current { color: #fff; background: linear-gradient(90deg, rgba(0,150,220,.22), transparent); }
.progress span { color: var(--cyan); font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.progress strong { font-size: .85rem; }
.selection { padding: 98px 0 110px; }
.selection-heading, .procedure-head, .tool-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 46px; }
.selection-heading h2, .procedure h2, .tool-heading h2 { max-width: 760px; font-size: clamp(2.15rem, 3.8vw, 3.7rem); }
.selection-heading > p { max-width: 360px; margin: 0; color: var(--muted); }
.target-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.target-card { position: relative; min-height: 330px; padding: 36px; text-align: left; color: var(--ink); background: #fff; border: 1px solid var(--line); cursor: pointer; transition: .2s ease; }
.target-card:hover, .target-card:focus-visible, .target-card.selected { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 22px 55px rgba(2,49,76,.12); }
.target-card.selected { background: linear-gradient(145deg, #fff, var(--ice)); }
.target-number { position: absolute; top: 30px; right: 30px; color: #96aab6; font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.target-icon { display: block; width: 58px; height: 58px; margin-bottom: 38px; color: var(--blue); }
.target-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.target-card strong { display: block; font-size: 1.65rem; line-height: 1.12; letter-spacing: -.03em; }
.target-card small { display: block; margin-top: 10px; color: var(--muted); font-size: .84rem; }
.choose { position: absolute; left: 36px; right: 36px; bottom: 30px; display: flex; justify-content: space-between; padding-top: 13px; border-top: 1px solid var(--line); color: var(--blue); font-size: .78rem; font-weight: 800; }
.choose i { font-style: normal; }
.procedure { margin-top: 92px; padding-top: 72px; border-top: 1px solid var(--line); }
.reset-button { padding: 10px 14px; color: var(--ink); background: transparent; border: 1px solid #b9cbd5; cursor: pointer; font-size: .76rem; font-weight: 800; }
.procedure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.procedure-card { position: relative; min-height: 230px; padding: 28px 30px; border: 1px solid var(--line); background: var(--ice); }
.procedure-card strong { display: block; margin-bottom: 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.procedure-card p { margin: 0 0 24px; color: var(--muted); font-size: .88rem; }
.start-button, .contact-button { display: inline-flex; align-items: center; gap: 30px; padding: 12px 17px; color: #fff; background: var(--blue); border: 0; cursor: pointer; font-size: .78rem; font-weight: 800; }
.contact-button { background: var(--navy); }
.procedure-card.pending { background: #f8fafb; }
.procedure-card.pending::after { content: "Projektbezogene Auslegung"; position: absolute; top: 20px; right: 20px; color: #7d919e; font-size: .6rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tool-section { padding: 80px 0 0; background: #eaf3f7; }
.tool-actions { display: flex; align-items: center; gap: 12px; }
.external-tool, .print-tool { padding: 10px 14px; color: #fff; background: var(--blue); border: 1px solid var(--blue); cursor: pointer; font-size: .76rem; font-weight: 800; }
.print-tool { background: var(--navy); border-color: var(--navy); }
.tool-frame-wrap { width: min(1460px, calc(100% - 28px)); margin: 0 auto; border: 1px solid #c9dbe4; background: #fff; box-shadow: 0 20px 60px rgba(2,38,59,.12); }
#tool-frame { display: block; width: 100%; height: 1200px; border: 0; background: #fff; }
.pdf-hint { margin-top: 18px; padding-bottom: 52px; color: var(--muted); font-size: .82rem; }
.finder-note { padding: 82px 0; background: #fff; }
.note-grid { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 55px; align-items: center; }
.note-grid strong { font-size: 1.35rem; line-height: 1.25; }
.note-grid p { margin: 0; color: var(--muted); font-size: .88rem; }
.note-grid a { color: var(--blue); font-size: .82rem; font-weight: 800; white-space: nowrap; }
.note-grid a span { margin-left: 18px; }
footer { color: #92a7b3; background: #061723; }
.footer-row { display: flex; justify-content: space-between; padding: 23px 0; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
[hidden] { display: none !important; }
@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .finder-header { height: 74px; }
  .brand-main { font-size: 1.75rem; }
  .back-link { border: 0; padding: 8px 0; }
  .finder-hero { padding: 130px 0 75px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .progress { display: grid; grid-template-columns: repeat(5, 1fr); }
  .progress li { display: block; min-height: auto; padding: 12px 4px; border-right: 1px solid rgba(255,255,255,.16); }
  .progress strong { display: none; }
  .selection { padding: 75px 0 85px; }
  .selection-heading, .procedure-head, .tool-heading { display: block; }
  .selection-heading > p { margin-top: 22px; }
  .target-grid, .procedure-grid { grid-template-columns: 1fr; }
  .procedure-head .reset-button { margin-top: 24px; }
  .tool-actions { margin-top: 24px; flex-wrap: wrap; }
  #tool-frame { height: 1000px; }
  .note-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .brand-sub { display: none; }
  h1 { font-size: 3.15rem; }
  .target-card { min-height: 310px; padding: 28px; }
  .choose { left: 28px; right: 28px; }
  .procedure-card.pending::after { position: static; display: block; margin-bottom: 12px; }
  .tool-frame-wrap { width: 100%; }
  #tool-frame { height: 920px; }
  .footer-row { flex-direction: column; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
