/* Konstantin Große | Business Support – Corporate Design (fix, nicht verändern)
   Farben: #0F2044 Dunkelblau · #45494E Dunkelgrau · #8A8D91 Mittelgrau · #F4F5F6 Hellgrau · #FFFFFF Weiß · #D9DADC Trennlinie
   Keine weiteren Farben, keine Verläufe, keine Icons, keine Emojis, keine externen Schriften. */

:root {
  --blue: #0F2044;
  --text: #45494E;
  --mid: #8A8D91;
  --light: #F4F5F6;
  --white: #FFFFFF;
  --line: #D9DADC;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Aptos, "Segoe UI", Calibri, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

.wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }

a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: var(--white); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* Kopfzeile */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { color: var(--blue); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
nav a { color: var(--blue); text-decoration: none; margin-right: 1.25rem; font-size: 1rem; }
nav a:last-child { margin-right: 0; }
nav a:hover { text-decoration: underline; }

/* Typografie */
.kicker {
  margin: 0 0 .6rem;
  color: var(--mid);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.3;
}

h1 {
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-size: clamp(1.9rem, 5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h2 { margin: 0 0 1rem; color: var(--blue); font-size: 1.55rem; font-weight: 700; line-height: 1.3; }
h2.sub { margin-top: 2.5rem; }
h3 { margin: 2rem 0 .5rem; color: var(--blue); font-size: 1.15rem; font-weight: 700; }

p { margin: 0 0 1.1rem; }

/* Abschnitte */
section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
section.hero { border-top: 0; padding: 4rem 0 3.5rem; }
.legal { padding: 3.5rem 0 4rem; }

.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; }
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border: 2px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}
.btn:hover { background: var(--white); color: var(--blue); }
.btn.secondary { background: var(--white); color: var(--blue); }
.btn.secondary:hover { background: var(--blue); color: var(--white); }

/* Aufzählung mit Geviertstrich */
ul.dash { list-style: none; margin: 0 0 1.25rem; padding: 0; }
ul.dash li { position: relative; padding-left: 2.1rem; margin-bottom: .6rem; }
ul.dash li::before { content: "\2014"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* Tabellen */
table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; }
th, td { padding: .9rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--blue); color: var(--white); font-weight: 700; border-bottom: 0; }
tbody th { color: var(--blue); font-weight: 700; width: 32%; }

/* Hervorgehobene Boxen */
.box { margin: 2rem 0; padding: 2rem 2.25rem; background: var(--blue); color: var(--white); }
.box p { margin: 0; }
.box .box-title { margin-bottom: .6rem; font-weight: 700; }
.box .box-text { font-style: italic; }
.box.quote p { font-style: italic; font-weight: 700; font-size: 1.25rem; line-height: 1.5; }

.note { font-size: 1rem; }

/* Rechtstexte */
.legal h2 { margin-top: 2.5rem; font-size: 1.3rem; }
.legal ul.dash li { margin-bottom: .5rem; }
.ph { background: var(--light); border: 1px dashed var(--mid); padding: 0 .3rem; color: var(--blue); font-weight: 700; }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--mid); padding: 1.5rem 0 2.5rem; font-size: .95rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.foot p { margin: 0; }
.site-footer a { color: var(--text); }

/* Mobil */
@media (max-width: 600px) {
  body { font-size: 1.05rem; }
  .kicker { font-size: 1.1rem; letter-spacing: .16em; }
  section { padding: 2.5rem 0; }
  section.hero { padding: 2.5rem 0; }
  .box { padding: 1.5rem 1.25rem; }
  nav a { display: inline-block; margin-right: 1rem; }

  table.stack thead { position: absolute; left: -9999px; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack tr { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  table.stack th, table.stack td { border: 0; padding: .1rem 0; }
}
