/* wissly.de – Stylesheet Relaunch 2026
   Farbwelt: Dunkelblau / Blau / Weiß / helle Grautöne, Orange nur als Handlungsakzent. */

:root {
  --navy-900: #0E2038;
  --navy-800: #142B4A;
  --navy-700: #1B3C64;
  --blue-600: #245F9E;
  --blue-500: #2E6FB7;
  --blue-100: #E6EEF7;
  --blue-050: #F2F6FB;
  --grey-050: #F6F8FA;
  --grey-100: #EDF1F5;
  --grey-200: #DCE3EB;
  --grey-400: #A7B2BF;
  --grey-600: #5B6675;
  --ink: #14202E;
  --accent: #C85A00;
  --accent-hover: #A44900;
  --accent-tint: #FDF1E6;
  --white: #FFFFFF;

  --maxw: 1160px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(14, 32, 56, .06), 0 2px 8px rgba(14, 32, 56, .06);
  --shadow-md: 0 4px 16px rgba(14, 32, 56, .10), 0 16px 40px rgba(14, 32, 56, .08);

  --font-body: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Segoe UI Semibold", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-600); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-900); color: #fff; padding: .75rem 1.25rem; z-index: 100;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy-900); margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--grey-600); max-width: 62ch; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-600); margin-bottom: .9rem;
}
.eyebrow--light { color: #9FC3E8; }

.section { padding: 72px 0; }
section[id] { scroll-margin-top: 92px; }
.section--tint { background: var(--grey-050); }
.section--blue { background: var(--blue-050); }
.section--dark { background: var(--navy-900); color: #DCE6F2; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #C3D3E6; }
.section__head { max-width: 68ch; margin-bottom: 40px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  padding: .82rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--secondary { background: transparent; color: var(--navy-800); border-color: var(--grey-200); }
.btn--secondary:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn--onDark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--onDark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6rem 0 0; }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--navy-900); color: #B9CBE0; font-size: .82rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #DCE6F2; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.masthead { border-bottom: 1px solid var(--grey-200); background: #fff; position: sticky; top: 0; z-index: 50; }
.masthead .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; display: block; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--navy-900); letter-spacing: -.01em; line-height: 1.1; }
.brand__sub { display: block; font-size: .72rem; font-weight: 400; color: var(--grey-600); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy-800); text-decoration: none; font-size: .96rem; font-weight: 600; }
.nav a:hover { color: var(--blue-600); }
.nav .btn { padding: .6rem 1.05rem; font-size: .93rem; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .masthead .wrap { flex-wrap: wrap; min-height: 64px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .5rem; background: #fff;
    border: 1px solid var(--grey-200); border-radius: var(--radius); padding: .55rem .9rem;
    font: inherit; font-weight: 600; color: var(--navy-800); cursor: pointer;
  }
  .nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 0 16px;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid var(--grey-100); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%); color: #fff; padding: 64px 0 72px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero p { color: #C7D7E9; }
.hero .lead { color: #C7D7E9; }

.trustline { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: .92rem; color: #B9CBE0; }
.trustline span { display: inline-flex; align-items: center; gap: .5rem; }
.trustline span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Beispielansicht (Signature) ---------- */
.board { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; color: var(--ink); }
.board__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--grey-050); border-bottom: 1px solid var(--grey-200); padding: 12px 18px; }
.board__title { font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--navy-900); }
.board__meta { font-size: .78rem; color: var(--grey-600); }
.board__body { padding: 18px; }
.board__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--grey-050); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 12px 14px; }
.stat__value { display: block; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--navy-900); line-height: 1.1; }
.stat__label { display: block; font-size: .77rem; line-height: 1.3; color: var(--grey-600); }

.board table { width: 100%; border-collapse: collapse; font-size: .87rem; }
.board th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--grey-600); font-weight: 700; padding: 0 0 8px; border-bottom: 1px solid var(--grey-200); }
.board td { padding: 10px 0; border-bottom: 1px solid var(--grey-100); vertical-align: middle; }
.board tr:last-child td { border-bottom: 0; }
.board td:last-child, .board th:last-child { text-align: right; }

.pill { display: inline-block; font-size: .76rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; white-space: nowrap; }
.pill--done { background: #E4F1E6; color: #205C2C; }
.pill--open { background: var(--accent-tint); color: #8A3F00; }
.pill--due { background: var(--blue-100); color: var(--navy-700); }

.bar { display: block; height: 7px; border-radius: 999px; background: var(--grey-200); overflow: hidden; min-width: 84px; }
.bar > i { display: block; height: 100%; background: var(--blue-500); }

.caption { font-size: .8rem; color: #A9BDD4; margin-top: 12px; }
.caption--dark { color: var(--grey-600); }

/* ---------- Bildbausteine ---------- */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media--flip .media__text { order: 2; }
.media__figure { margin: 0; }
a.media__link { display: block; cursor: pointer; }
a.media__link img { transition: transform .25s ease, box-shadow .25s ease; }
a.media__link:hover img, a.media__link:focus-visible img { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.media__figure img {
  width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10; object-fit: cover;
}
.media__figure figcaption { font-size: .8rem; color: var(--grey-600); margin-top: 10px; }

/* ---------- Karten & Raster ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }

.step { position: relative; padding-left: 56px; }
.step__no {
  position: absolute; left: 0; top: 2px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-900); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: .55rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .48em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue-500); border-bottom: 2.5px solid var(--blue-500);
  transform: rotate(-45deg);
}
.ticks--light li::before { border-color: #7FB2E4; }

/* ---------- Wege / Pakete ---------- */
.route { display: flex; flex-direction: column; height: 100%; }
.route__tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); margin-bottom: .6rem; }
.route .btn-row { margin-top: auto; padding-top: 1.2rem; }

.price-card { display: flex; flex-direction: column; height: 100%; border-top: 5px solid var(--grey-200); }
.price-card--featured { border-top-color: var(--accent); }
.price-card__badge { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.price-card__who { color: var(--grey-600); font-size: .93rem; margin-bottom: 1rem; }
.price-card__price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .2rem; }
.price-card__amount { font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--navy-900); line-height: 1; }
.price-card__unit { font-size: .9rem; color: var(--grey-600); }
.price-card__setup { font-size: .9rem; color: var(--grey-600); margin-bottom: 1.2rem; }
.price-card .ticks { margin-bottom: 1.2rem; font-size: .95rem; }
.price-card .btn-row { margin-top: auto; }

.note {
  background: var(--blue-050); border-left: 4px solid var(--blue-500);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; font-size: .95rem; color: var(--navy-800);
}
.note p:last-child { margin-bottom: 0; }
.note--plain { background: var(--grey-050); border-left-color: var(--grey-400); color: var(--grey-600); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--grey-200); }
.faq details { border-bottom: 1px solid var(--grey-200); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--blue-500); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > *:not(summary) { margin-bottom: 20px; color: var(--grey-600); max-width: 78ch; }

/* ---------- Demo / Formular ---------- */
.demo { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.form { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--navy-800); margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--grey-600); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: .68rem .8rem; border: 1px solid var(--grey-200); border-radius: var(--radius); background: #fff;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--grey-400); }
.field textarea { min-height: 96px; resize: vertical; }
.form__hint { font-size: .85rem; color: var(--grey-600); margin: .1rem 0 0; }
.form__error { color: #8A2417; font-size: .9rem; font-weight: 600; margin: 0 0 12px; }
.form__erfolg { color: #1E6B41; font-size: .9rem; font-weight: 600; margin: 0 0 12px; }
.form__hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn[disabled] { opacity: .55; cursor: default; }
.contact-person { display: flex; gap: 18px; align-items: flex-start; }
.contact-person__id {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue-100); color: var(--navy-800);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; flex: none;
}

/* ---------- Fußzeile ---------- */
.footer { background: var(--navy-900); color: #B9CBE0; padding: 56px 0 28px; font-size: .94rem; }
.footer h2, .footer h3 { color: #fff; font-size: 1rem; margin-bottom: .8rem; }
.footer a { color: #DCE6F2; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .45rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer__bottom {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; color: #92A8C0;
}

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; background: #fff; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
table.data thead th { background: var(--navy-900); color: #fff; font-size: .85rem; letter-spacing: .03em; }
table.data tbody th { font-weight: 700; color: var(--navy-900); background: var(--grey-050); width: 34%; }

/* ---------- Hilfsklassen ---------- */
.stack > * + * { margin-top: 1rem; }
.mt-32 { margin-top: 32px; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Responsiv ---------- */
@media (max-width: 980px) {
  .hero__grid, .demo, .media { grid-template-columns: 1fr; gap: 36px; }
  .media--flip .media__text { order: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .board__stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 10px; }
  .stat__value { font-size: 1.25rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .hero { padding: 40px 0 48px; }
}
