/* arq decisions · www.arqdecisions.com
   Farben und Schriften nach dem arq-Manual (Skill arq-stil, marke.md). */

@font-face { font-family: "Roboto"; font-weight: 300; font-style: normal; font-display: swap; src: url(../fonts/roboto-300.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 300; font-style: italic; font-display: swap; src: url(../fonts/roboto-300-italic.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/roboto-400.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/roboto-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/roboto-500.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/roboto-700.woff2) format("woff2"); }
@font-face { font-family: "Roboto Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/roboto-condensed-700.woff2) format("woff2"); }

:root {
  --green: #135b49;
  --green-dark: #0c4334;
  --green-deep: #062519;
  --sage: #9dc09f;
  --sage-2: #d7e1d2;
  --green-2: #91a596;
  --crimson: #bb2649;
  --ink: #2f3639;
  --muted: #59625f;
  --grey-2: #9ba0a5;
  --tint: #f1f5f0;
  --line: #dde6da;
  --white: #fff;
  --cond: "Roboto Condensed", "Roboto", "Arial Narrow", Arial, sans-serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 18px;
  --radius-s: 12px;
  --wrap: 1160px;
  --gutter: 24px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(6, 37, 25, .05), 0 8px 28px rgba(6, 37, 25, .07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--crimson); }
strong, b { font-weight: 500; }
:focus-visible { outline: 2px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--cond); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.005em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); color: var(--green); }
h3 { font-size: 1.45rem; color: var(--green); }
h4 { font-size: 1.28rem; color: var(--green); }
p { margin: 0 0 .9em; }
.rt > :last-child, .card-body > :last-child { margin-bottom: 0; }
.rt ul, .rt ol { padding-left: 1.2em; margin: 0 0 1em; }
.rt li { margin-bottom: .35em; }
.rt li::marker { color: var(--crimson); }

/* ------------------------------------------------------------------ Kopf */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  color: var(--white); background: transparent;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}
.site-header .header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; position: relative; width: 112px; height: 56px; }
.brand .logo { position: absolute; inset: 0; width: 112px; height: auto; transition: opacity .25s; }
.logo--color { opacity: 0; }
.site-header.is-solid { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(6, 37, 25, .06); backdrop-filter: saturate(1.4) blur(8px); }
.site-header.is-solid .logo--white { opacity: 0; }
.site-header.is-solid .logo--color { opacity: 1; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  font: 500 15.5px/1.2 var(--sans); color: inherit; text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.is-solid .nav-link:hover { background: var(--tint); color: var(--green); }
.nav-link[aria-current="page"], .has-sub.is-active > .nav-link { box-shadow: inset 0 -2px 0 var(--sage); border-radius: 0; }
.caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.has-sub { position: relative; }
.sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px;
  background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: 0 12px 40px rgba(6, 37, 25, .18);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: 15.5px; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--tint); color: var(--green); }
.sub li:first-child a { font-weight: 500; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; border-radius: 10px; }
.nav-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 1.5px solid transparent; font: 500 16px/1.25 var(--sans); text-align: center;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--contained { background: var(--green); color: var(--white); box-shadow: 0 6px 18px rgba(19, 91, 73, .22); }
.btn--contained:hover { background: var(--green-dark); color: var(--white); }
.btn--outlined { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outlined:hover { background: var(--ink); color: var(--white); }
.btn--hero, .btn--nav { background: var(--sage); color: var(--green-deep); box-shadow: none; }
.btn--hero:hover, .btn--nav:hover { background: #b4d0b5; color: var(--green-deep); }
.btn--nav { min-height: 42px; padding: 9px 20px; font-size: 15px; }
.is-solid .btn--nav { background: var(--green); color: var(--white); }
.is-solid .btn--nav:hover { background: var(--green-dark); }
.cta-row { display: flex; justify-content: center; margin-top: 36px; }
.cta-row + .cta-row { margin-top: 14px; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white); background: var(--green-deep);
  margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 72px) 0 88px;
  min-height: 460px; display: flex; align-items: center;
}
.hero--tall { min-height: min(720px, 86vh); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; max-width: none; }
/* Prognosepfade: Grafik als eigene Spalte rechts, bündig mit dem Raster */
.hero--art { background: radial-gradient(ellipse 55% 75% at 76% 50%, rgba(157, 192, 159, .12), transparent 70%), linear-gradient(135deg, #0c4334 0%, #062519 100%); }
.hero--art .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero.hero--art h1 { font-size: clamp(2.2rem, 1rem + 2.7vw, 3.6rem); }
.hero-art { position: relative; }
.hero-art svg { display: block; width: 100%; height: auto; }
.hero--soft .hero-art { opacity: .5; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 37, 25, .92) 0%, rgba(6, 37, 25, .78) 38%, rgba(6, 37, 25, .25) 72%, rgba(6, 37, 25, .05) 100%); }
.hero-inner { position: relative; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.1rem); line-height: 1.05; max-width: 15.5em; margin-bottom: .45em; letter-spacing: -.01em; text-wrap: balance; }
.hero-kicker { display: inline-block; margin: 0 0 18px; padding: 5px 12px; border-radius: 999px; background: rgba(157, 192, 159, .18); color: var(--sage); font: 500 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.hero-text { max-width: 640px; font-size: 1.16rem; font-weight: 300; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.hero-text a { color: var(--sage); }
.hero-text strong { font-weight: 500; color: var(--white); }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ Abschnitte */
.sec { padding: 96px 0; }
.sec--light-200 { background: var(--tint); }
.sec--transparent + .sec--transparent { padding-top: 0; }
.sec--light-200 + .sec--light-200 { padding-top: 0; }
.sec-title { text-align: center; max-width: 22em; margin: 0 auto .9em; text-wrap: balance; }
.sec-body { max-width: 760px; font-size: 1.08rem; color: var(--ink); }
.sec-body.align-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-body.align-left { margin-left: auto; margin-right: auto; }
.sec-body + .grid, .grid + .sec-body { margin-top: 40px; }
.sec-title + .sec-body { margin-top: -6px; }
.grid + .grid { margin-top: 24px; }
.sec-body + .cta-row { margin-top: 28px; }
.sec-body h3, .sec-body h4 { margin-top: 1.2em; }
.sec-body.align-center h3, .sec-body.align-center h4 { color: var(--green); }

/* ------------------------------------------------------------------ Karten */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); align-items: stretch; }
.grid--1 { --cols: 1; } .grid--2 { --cols: 2; } .grid--3 { --cols: 3; } .grid--4 { --cols: 4; }
.grid--1 { max-width: 920px; margin-left: auto; margin-right: auto; }

.card {
  position: relative; margin: 0; border-radius: var(--radius); padding: 28px 28px 30px;
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
}
.card--light-100 { background: var(--white); box-shadow: var(--shadow); }
.card--light-200 { background: var(--tint); }
.sec--light-200 .card--light-200 { background: var(--white); box-shadow: var(--shadow); }
.card--primary { background: var(--green); color: rgba(255, 255, 255, .92); }
.card--primary h2, .card--primary h3, .card--primary h4, .card--primary strong { color: var(--white); }
.card-body h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .4em; }
.card-body h3 { font-size: 1.4rem; }
.card--primary a { color: var(--sage); }
.card--secondary { background: var(--sage-2); }
.card-body { font-size: 1rem; line-height: 1.6; }
.card-body h4 { font-size: 1.32rem; margin-bottom: .45em; }
.card-body p:has(+ h4) { font-size: .86rem; font-weight: 500; color: var(--green-2); margin-bottom: .35em; letter-spacing: .01em; }
.card--primary .card-body p:has(+ h4) { color: var(--sage); }
.card-body p em:only-child { color: var(--muted); }
.card--primary .card-body p em:only-child { color: rgba(255, 255, 255, .75); }
.card-img { margin: -4px -6px 0; display: flex; justify-content: center; }
.card-img img, .card-img video { width: 100%; object-fit: contain; border-radius: 10px; }
.card-img.quote { justify-content: flex-start; margin: 0 0 -6px; }
.card-img.quote img { width: auto; height: 40px; object-fit: contain; object-position: left; }
.card--quote .card-body { font-size: 1.06rem; }
.card--quote .card-body p:first-child { font-family: var(--sans); font-weight: 300; font-size: 1.12rem; line-height: 1.55; color: var(--white); }
.card--media { padding: 0; background: none; overflow: hidden; border-radius: var(--radius); align-self: start; }
.card--media .card-media { width: 100%; height: auto; object-fit: contain; border-radius: var(--radius); }

.card--person { flex-direction: row; gap: 24px; align-items: flex-start; background: var(--white); box-shadow: var(--shadow); }
.person-photo { width: 120px; height: 132px; flex: none; object-fit: cover; object-position: center 18%; border-radius: 14px; background: var(--green-deep); }
.card--person .card-body h4 { margin-bottom: .2em; }

.card-index { font: 700 1.4rem/1 var(--cond); color: var(--crimson); }

/* Link-Karten (z. B. weitere Fallbeispiele) */
.linklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.linkcard {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 24px; border-radius: var(--radius-s);
  background: var(--tint); color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s;
}
.sec--light-200 .linkcard { background: var(--white); }
.linkcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.linkcard h4 { font-size: 1.15rem; margin-bottom: .3em; }
.linkcard p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }
.linkcard-arrow { font-size: 1.3rem; color: var(--crimson); line-height: 1.2; transition: transform .2s; }
.linkcard:hover .linkcard-arrow { transform: translateX(3px); }

.textblock { max-width: 760px; margin: 0 auto; }
.textblock + .grid, .grid + .textblock { margin-top: 32px; }
.rt-img { margin: 0 0 1em; }


/* ------------------------------------------------------------------ Seitenspezifisch */
.page-privacy .sec-body, .page-help .sec-body { max-width: 820px; }
.page-privacy .sec-body h2, .page-privacy .sec-body h3, .page-privacy .sec-body h4 { text-align: left; }

/* ------------------------------------------------------------------ Fuß */
.site-footer { background: var(--green); color: rgba(255, 255, 255, .86); padding: 72px 0 28px; font-size: .93rem; line-height: 1.6; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--sage); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.foot-imprint p { margin-bottom: .7em; }
.foot-contact p { margin-bottom: 1em; }
.contacts { list-style: none; margin: 0; padding: 0; }
.contacts li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.contacts li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; background: var(--sage); -webkit-mask: var(--ico) no-repeat center / contain; mask: var(--ico) no-repeat center / contain; }
.ico--pin { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.ico--mail { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5h18a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1zm9 7.2L4.4 7H19.6L12 12.2zM4 8.6V17h16V8.6l-8 5.4-8-5.4z'/%3E%3C/svg%3E"); }
.foot-badges { display: flex; align-items: center; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.foot-logo { width: 96px; height: auto; }
.foot-badge { height: 56px; width: auto; border-radius: 6px; background: var(--white); padding: 4px; }
.foot-social { margin-top: 14px; }
.social { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, .1); color: var(--white); }
.social:hover { background: var(--sage); color: var(--green-deep); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .85rem; color: rgba(255, 255, 255, .6); }
.foot-bottom a { color: rgba(255, 255, 255, .75); text-decoration: none; }

/* ------------------------------------------------------------------ Dialog */
.modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: 20px; padding: 40px 40px 34px; color: var(--ink); box-shadow: 0 30px 80px rgba(6, 37, 25, .35); }
.modal--wide { width: min(920px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(6, 37, 25, .55); backdrop-filter: blur(3px); }
.modal h2 { font-size: 1.9rem; margin-right: 32px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--tint); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.modal-close:hover { background: var(--sage-2); }
.modal-frame { margin-top: 20px; border-radius: 14px; overflow: hidden; background: var(--tint); }
.modal-frame iframe { display: block; width: 100%; height: min(620px, 62vh); border: 0; }
.modal-alt { margin: 12px 0 0; font-size: .92rem; }
body.modal-open { overflow: hidden; }

/* ------------------------------------------------------------------ Responsiv */
@media (max-width: 1080px) {
  .grid--4 { --cols: 2; }
  .nav-link { padding: 8px 9px; font-size: 15px; }
  .nav { gap: 12px; }
}
@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand, .brand .logo { width: 96px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; max-height: calc(100vh - var(--header-h)); overflow: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 24px;
    background: var(--white); color: var(--ink); box-shadow: 0 20px 40px rgba(6, 37, 25, .16);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: var(--white); color: var(--ink); }
  .nav-open .site-header .logo--white { opacity: 0; }
  .nav-open .site-header .logo--color { opacity: 1; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 17px; border-radius: 0; }
  .nav-link:hover { background: none; }
  .nav-link[aria-current="page"], .has-sub.is-active > .nav-link { box-shadow: none; color: var(--green); }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 10px 8px; min-width: 0; display: none; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open:hover .sub { display: block; }
  .btn--nav { margin-top: 18px; min-height: 50px; background: var(--green); color: var(--white); }
  .grid--3 { --cols: 2; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-imprint { grid-column: 1 / -1; }
  /* Hero: Grafik unter dem Text */
  .hero--art .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-art { width: 100%; max-width: 640px; }
  .hero--soft .hero-art { display: none; }
}
@media (max-width: 600px) {
  /* Handy: auf Jetzt-Punkt und Zukunft zugeschnitten (Ausschnitt x 150–1000, y 80–800), links weich ausgeblendet */
  .hero-art {
    aspect-ratio: 850 / 720; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%); mask-image: linear-gradient(90deg, transparent 0, #000 12%);
  }
  .hero-art svg { position: absolute; width: 117.65%; max-width: none; right: 0; top: -11.11%; }
}
@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  .sec { padding: 64px 0; }
  .grid--2, .grid--3, .grid--4 { --cols: 1; }
  .hero { padding: calc(var(--header-h) + 48px) 0 64px; min-height: 0; }
  .hero--tall { min-height: 0; }
  .hero-shade { background: linear-gradient(180deg, rgba(6, 37, 25, .72) 0%, rgba(6, 37, 25, .88) 100%); }
  .hero-text { font-size: 1.06rem; }
  .card { padding: 24px 22px 26px; }
  .card--person { flex-direction: column; }
  .person-photo { width: 104px; height: 116px; }
  .modal { padding: 30px 22px 26px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
