/* ikoone – GeoSpatial Connect · Website-Stylesheet (Relaunch Oktober 2026)
   Gestaltungsidee: der Leitungsplan. Navy als Tinte, Türkis für Knotenpunkte,
   weißes Planpapier mit feinem Raster. Schriften lokal gehostet (keine Google-Server). */

@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/ikoone/montserrat-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/ikoone/montserrat-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/ikoone/source-sans-3-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/ikoone/source-sans-3-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-style: normal; font-display: swap; src: url(/assets/fonts/ikoone/source-sans-3-latin-600-normal.woff2) format("woff2"); }

:root {
  --ink: #13294B;
  --ink-soft: #2A3D5E;
  --text: #2A3546;
  --muted: #56657A;
  --teal: #17979C;
  --teal-text: #0E7479;
  --teal-light: #3CC4C8;
  --line: #D9E0E8;
  --grid: #EEF2F6;
  --wash: #F5F8FA;
  --paper: #FFFFFF;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.6; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--teal-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.12; margin: 0 0 22px; }
h2 { font-size: clamp(25px, 2.6vw, 32px); line-height: 1.2; margin: 0 0 18px; }
h3 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; font-weight: 600; }
p { margin: 0 0 16px; }
strong { font-weight: 600; color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ Kopfzeile */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { width: 138px; height: auto; }
.nav-toggle { display: none; font: 600 15px var(--display); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 9px 14px; min-height: 44px; cursor: pointer; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; }
.site-nav a, .site-nav .nav-label { display: block; font: 500 15px/1 var(--display); color: var(--ink); text-decoration: none; padding: 12px 12px; border-radius: 4px; }
.site-nav a:hover, .site-nav .has-sub:hover > .nav-label { background: var(--wash); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--teal-text); }
.site-nav .nav-cta { background: var(--ink); color: #fff; margin-left: 8px; padding: 12px 16px; }
.site-nav .nav-cta:hover { background: var(--ink-soft); color: #fff; }
.has-sub { position: relative; }
.has-sub > .nav-label { cursor: default; }
.has-sub > .nav-label::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; left: 0; top: 100%; min-width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 6px; box-shadow: 0 12px 28px rgba(19,41,75,.10); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { font-family: var(--body); font-size: 16px; font-weight: 400; padding: 10px 12px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; }
  .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a, .site-nav .nav-label { padding: 14px 4px; font-size: 17px; }
  .has-sub > .nav-label { color: var(--muted); font-size: 14px; padding-bottom: 4px; }
  .has-sub > .nav-label::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
  .site-nav .nav-cta { margin: 12px 0 0; text-align: center; }
}

/* ------------------------------------------------------------------ Buttons */
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border-radius: 4px; font: 600 16px/1.2 var(--display); text-decoration: none; background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn:hover { background: var(--ink-soft); color: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--wash); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* ------------------------------------------------------------------ Startseite: Hero mit Planausschnitt */
.hero { padding: 72px 0 80px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(30px, 3.6vw, 46px); hyphens: manual; overflow-wrap: break-word; }
.hero-text { background: rgba(255,255,255,.88); padding: 8px 0; }
.hero .lead { font-size: 21px; line-height: 1.55; color: var(--muted); max-width: 34em; margin-bottom: 28px; }
.plan { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px; box-shadow: 0 18px 40px rgba(19,41,75,.08); }
.plan svg { display: block; width: 100%; height: auto; }
.plan figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); padding: 10px 4px 0; border-top: 1px solid var(--line); margin-top: 10px; }
.plan figcaption strong { color: var(--ink); font-weight: 600; }
.p-grid { stroke: var(--grid); stroke-width: 1; }
.p-parcel { fill: #F4F7F9; stroke: #CDD6E0; stroke-width: 1; }
.p-street { fill: #FBFCFD; stroke: #CDD6E0; stroke-width: 1; }
.p-main { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.p-branch { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; }
.p-node { fill: #fff; stroke: var(--ink); stroke-width: 1.6; }
.p-hit { fill: none; stroke: var(--teal); stroke-width: 5; stroke-linecap: round; }
.p-halo { fill: var(--teal); opacity: .18; }
.p-dot { fill: var(--teal); }
.p-tick { stroke: #9AA8B8; stroke-width: 1; }
.p-label { font: 400 11px var(--body); fill: #7A889A; }
.p-callout { font: 600 13px var(--body); fill: var(--ink); }
.p-callout-sub { font: 400 12px var(--body); fill: var(--muted); }
.p-box { fill: #fff; stroke: var(--teal); stroke-width: 1.2; }
.p-leader { stroke: var(--teal); stroke-width: 1.2; fill: none; }
.p-north { fill: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .p-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s ease-out .2s forwards; }
  .p-branch.p-draw { animation-delay: 1s; animation-duration: .7s; }
  .p-appear { opacity: 0; animation: appear .5s ease-out 1.7s forwards; }
  .p-hit { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .6s ease-out 2.1s forwards; }
  .p-halo { transform-box: fill-box; transform-origin: center; animation: pulse 1.6s ease-out 2.6s 3; }
  .p-alert { opacity: 0; animation: appear .4s ease-out 2.6s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(.4); opacity: .45; } 100% { transform: scale(2.4); opacity: 0; } }

/* ------------------------------------------------------------------ Abschnitte */
.section { padding: 88px 0; }
.section-wash { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 19px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.prose { max-width: 40em; }
.example { border-top: 3px solid var(--ink); padding-top: 22px; }
.example h3 { font-size: 22px; }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.service { border-top: 1px solid var(--line); padding: 26px 0 30px; position: relative; }
.service::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.service h3 { font-size: 22px; }
.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service:hover h3 a { color: var(--teal-text); }
.service p { margin: 0; color: var(--muted); max-width: 30em; }

.sectors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sectors li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr) auto; gap: 32px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.sectors h3 { margin: 0; }
.sectors .who { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; font-family: var(--body); font-weight: 400; letter-spacing: 0; }
.sectors p { margin: 0; }
.sectors a { white-space: nowrap; font-weight: 600; }

.quote { padding: 96px 0; background: var(--ink); color: #fff; }
.quote blockquote { margin: 0; max-width: 30em; font: 500 clamp(24px, 2.8vw, 34px)/1.35 var(--display); letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 20px; font: 400 16px var(--body); font-style: normal; color: #B9C3D3; }

/* Markenwelt: drei verbundene Knoten */
.brandline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.brandline::before { content: ""; position: absolute; top: 11px; left: 12px; right: calc(33.333% - 20px); height: 2px; background: var(--ink); }
.brandline li { position: relative; padding-top: 44px; }
.brandline li::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-sizing: border-box; }
.brandline li.here::before { background: var(--teal); border-color: var(--teal); box-shadow: 0 0 0 6px rgba(23,151,156,.16); }
.brandline h3 { font-size: 22px; margin-bottom: 4px; }
.brandline .role { font-weight: 600; color: var(--teal-text); margin-bottom: 8px; }
.brandline p { color: var(--muted); }

.refs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.refs li { border-top: 1px solid var(--line); padding: 22px 0 28px; }
.refs h2, .refs h3 { font-size: 20px; margin: 0 0 8px; }
.refs .cat { font-size: 15px; color: var(--teal-text); font-weight: 600; margin-bottom: 6px; }
.refs p { color: var(--muted); font-size: 17px; margin: 0; }

/* FAQ */
.faq { max-width: 52em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px 0; font: 600 19px/1.35 var(--display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--ink); background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--teal), var(--teal)) center / 10px 1.5px no-repeat; border-color: var(--teal); }
.faq details p { margin: 0 0 22px; max-width: 46em; color: var(--text); }

/* ------------------------------------------------------------------ Unterseiten */
.page-head { padding: 56px 0 56px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 32px 32px; background-position: -1px -1px; }
.page-head h1 { max-width: 20em; }
.page-head .lead { font-size: 21px; color: var(--muted); max-width: 36em; margin-bottom: 26px; }
.page-head-small { padding: 48px 0 40px; }
.page-head-small h1 { margin: 0; }
.crumbs { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A9B4C2; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.article { padding: 64px 0 80px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; align-items: start; }
.article-body { max-width: 40em; }
.article-body h2 { margin-top: 44px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: 26px; }
.article-body ul, .article-body ol { padding-left: 1.2em; margin: 0 0 20px; }
.article-body li { margin-bottom: 10px; }
.article-body li::marker { color: var(--teal); }
.article-body .note { background: var(--wash); border: 1px solid var(--line); border-radius: 6px; padding: 16px 20px; font-size: 17px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 17px; }
.article-body th, .article-body td { text-align: left; vertical-align: top; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); }
.article-body th { width: 34%; color: var(--ink); font-weight: 600; }
.portrait { float: right; width: 220px; margin: 0 0 20px 32px; border-radius: 6px; }

.aside { position: sticky; top: 100px; border-top: 3px solid var(--ink); padding-top: 22px; }
.aside h2 { font-size: 20px; margin: 0 0 16px; }
.aside dl { margin: 0 0 22px; }
.aside dt { font: 600 17px var(--display); color: var(--ink); }
.aside dd { margin: 2px 0 14px; color: var(--muted); font-size: 16px; }

.related { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.related h2 { font-size: 19px !important; margin: 0 0 12px !important; }
.related ul { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px; }
.related li { margin: 0 !important; }
.related a { display: inline-block; border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; text-decoration: none; color: var(--ink); }
.related a:hover { background: var(--wash); }

.faq-section { padding: 72px 0; background: var(--wash); border-top: 1px solid var(--line); }
.faq-section h2 { margin-bottom: 20px; }

/* ------------------------------------------------------------------ Kontakt / Fußzeile */
.contact { background: var(--ink); color: #D5DCE6; padding: 80px 0 40px; }
.contact h2 { color: #fff; }
.contact a { color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-grid p { max-width: 30em; }
.contact-list { list-style: none; margin: 0; padding: 0; font-size: 20px; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.contact-list li:first-child { padding-top: 0; }
.contact-list span { display: block; font-size: 14px; color: #8FA0B6; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 28px; font-size: 15px; }
.footer-bottom img { width: 120px; height: auto; }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom a { color: #D5DCE6; text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------------------ Responsiv */
@media (max-width: 960px) {
  .hero .container, .two-col, .article-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .aside { position: static; }
  .refs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .hero { padding: 40px 0 56px; }
  .hero .lead, .page-head .lead { font-size: 19px; }
  .services, .refs { grid-template-columns: minmax(0, 1fr); }
  .sectors li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .brandline { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-left: 44px; }
  .brandline::before { top: 12px; bottom: 40px; left: 11px; right: auto; width: 2px; height: auto; }
  .brandline li { padding-top: 0; }
  .brandline li::before { left: -44px; }
  .portrait { float: none; display: block; margin: 0 0 20px; }
  .quote { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .sub { transition: none; } }
