/* Startseite ts-kontor.de, Farben wie Pitch und Portal (web/gemeinsam/basis.css) */
:root {
  --navy: #0f2a44;
  --navy2: #173b5e;
  --petrol: #1e5a6e;
  --teal: #0e7c7b;
  --teal-l: #e3f2f1;
  --amber: #d99a00;
  --gold: #f2c14e;
  --amber-l: #fff4d6;
  --amber-text: #8a6200;
  --ink: #1b2430;
  --mut: #5b6675;
  --line: #dde3ea;
  --bg: #f5f7fa;
  --hell-text: #d7e3ef;
  --schatten: 0 18px 48px rgba(15, 42, 68, 0.22);
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; color: var(--navy); font-weight: 800; max-width: 820px; }
h3 { font-size: 18px; color: var(--navy); font-weight: 700; }
p { margin: 0; }

.innen { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.kicker { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.kicker.hell { color: #9fd3d2; }
.kicker.gold, .gold { color: var(--gold); }
.lead { font-size: 18px; color: var(--mut); margin-top: 14px; max-width: 760px; }

/* Banner „im Aufbau“ */
.aufbau { background: var(--amber-l); color: var(--amber-text); border-bottom: 1px solid #f0d98c; text-align: center; padding: 9px 16px; font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 10; background: var(--navy); border-bottom: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 4px 18px rgba(15, 42, 68, 0.25); }
.kopf-innen { display: flex; align-items: center; gap: 24px; height: 68px; }
.marke { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; }
.marke img { border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
.marke small { display: block; font-weight: 500; font-size: 12.5px; color: var(--hell-text); letter-spacing: 0.02em; }
.marke span { line-height: 1.15; }
.kopf-nav { display: flex; gap: 22px; margin-left: auto; }
.kopf-nav a { color: var(--hell-text); text-decoration: none; font-size: 15px; font-weight: 500; }
.kopf-nav a:hover { color: #fff; }

/* Menü für Hochformat (Smartphone, Tablet hochkant) */
.menue { display: none; }
.menue-knopf { list-style: none; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; user-select: none; }
.menue-knopf::-webkit-details-marker { display: none; }
.menue-striche { display: inline-grid; gap: 4px; width: 20px; }
.menue-striche i { display: block; height: 2px; border-radius: 2px; background: var(--gold); transition: transform 0.2s, opacity 0.2s; }
.menue[open] .menue-striche i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menue[open] .menue-striche i:nth-child(2) { opacity: 0; }
.menue[open] .menue-striche i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menue[open] .menue-knopf { background: var(--gold); color: var(--navy); box-shadow: none; }
.menue[open] .menue-knopf .menue-striche i { background: var(--navy); }
.menue-tafel { position: absolute; left: 0; right: 0; top: 100%; background: linear-gradient(170deg, var(--navy) 0%, var(--navy2) 70%, var(--petrol) 100%); border-top: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 24px 48px rgba(10, 31, 51, 0.45); padding: 8px 0 24px; max-height: calc(100vh - 68px); overflow-y: auto; }
.menue-liste { display: flex; flex-direction: column; }
.menue-liste a { color: #fff; text-decoration: none; font-size: 19px; font-weight: 600; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); display: flex; justify-content: space-between; align-items: center; }
.menue-liste a::after { content: "›"; color: var(--gold); font-size: 24px; line-height: 1; }
.menue-knoepfe { display: grid; gap: 12px; margin-top: 22px; }
.menue-knoepfe .knopf { width: 100%; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; background: var(--teal); color: #fff; transition: transform 0.15s, box-shadow 0.15s, background 0.15s; }
.knopf:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.knopf.klein { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.gold-knopf { background: var(--gold); color: var(--navy); }
.gold-knopf:hover { background: #f5cd6a; }
.hell-knopf { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55); }
.hell-knopf:hover { background: rgba(255, 255, 255, 0.1); }

/* Held */
.held { background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 55%, var(--petrol) 100%); color: #fff; padding: 72px 0 0; position: relative; overflow: hidden; }
.held::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: #fff; }
.held-innen { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.held h1 { font-size: clamp(36px, 5.6vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.held-lead { font-size: 19px; color: var(--hell-text); margin-top: 22px; max-width: 640px; }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.held-siegel img { width: 220px; height: 220px; border-radius: 50%; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.06), 0 0 0 22px rgba(255, 255, 255, 0.03), var(--schatten); }
.fenster.held-bild { position: relative; z-index: 1; margin-top: 56px; }

/* Browserfenster um Bildschirmfotos */
.fenster { margin: 0; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid #cbd5e1; box-shadow: var(--schatten); }
.fenster-leiste { height: 34px; background: #eef2f6; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.fenster-leiste i { width: 11px; height: 11px; border-radius: 50%; background: #c9d2dc; }
.fenster-leiste span { margin-left: 10px; color: #7a8594; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Zielgruppen */
.zielgruppen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 72px; }
.ziel p:last-child { font-size: 16.5px; }

/* Abschnitte */
.abschnitt { padding-top: 88px; padding-bottom: 88px; }
.hintergrund { background: var(--bg); }
.raster2, .raster3, .raster4 { display: grid; gap: 20px; margin-top: 36px; }
.raster2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.raster3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.karte { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.karte p { color: var(--mut); margin-top: 8px; font-size: 15.5px; }
.loesung { margin-top: 40px; background: var(--navy); color: var(--hell-text); border-radius: 16px; padding: 36px 40px; }
.loesung-satz { font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; color: #fff; line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.01em; }

/* Schritte */
.schritte { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.schritte li { border-top: 4px solid var(--teal); padding-top: 20px; }
.schritte li:nth-child(2) { border-color: #3d9796; }
.schritte li:nth-child(3) { border-color: #6fb2b1; }
.schritte li:nth-child(4) { border-color: var(--gold); }
.schritte .nr { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 12px; }
.schritte p { color: var(--mut); margin-top: 8px; font-size: 15.5px; }

/* Funktionen mit Bildern */
.funktion { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; margin-top: 64px; }
.funktion.umgekehrt { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.funktion.umgekehrt .funktion-text { order: 2; }
.funktion h3 { font-size: 24px; line-height: 1.25; }
.haken { list-style: none; padding: 0; margin: 18px 0 0; }
.haken li { position: relative; padding-left: 30px; margin: 12px 0; color: var(--ink); }
.haken li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 6px; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.bildhinweis { margin-top: 40px; font-size: 14px; color: var(--mut); text-align: center; font-style: italic; }

/* Anmelden */
.anmelden-bereich { background: linear-gradient(160deg, var(--navy) 0%, var(--navy2) 70%, var(--petrol) 100%); }
.anmelden-bereich h2 { color: #fff; }
.login-karte { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 16px; padding: 32px; color: var(--hell-text); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.login-karte h3 { color: #fff; font-size: 22px; }
.login-karte .knopf { margin-top: 6px; }
.klein-text { font-size: 13.5px; color: #9fb3c8; }

/* Fuß */
.fuss { background: #0a1f33; color: #9fb3c8; padding: 40px 0; font-size: 14px; }
.fuss-innen { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.klein-marke { font-size: 16px; }
.fuss-links { white-space: nowrap; }

/* Tablet */
@media (max-width: 960px) {
  .kopf-nav, .kopf-anmelden { display: none; }
  .menue { display: block; margin-left: auto; }
  .kopf-innen { position: relative; }
  .held-siegel { display: none; }
  .held-innen { grid-template-columns: 1fr; }
  .raster4, .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raster3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funktion, .funktion.umgekehrt { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; }
  .funktion.umgekehrt .funktion-text { order: 0; }
  .fuss-innen { grid-template-columns: 1fr; gap: 14px; }
  .fuss-links { white-space: normal; }
}

/* Smartphone */
@media (max-width: 640px) {
  .innen { padding: 0 16px; }
  .held { padding-top: 48px; }
  .held::after { height: 60px; }
  .held-lead { font-size: 17px; }
  .held-knoepfe .knopf { width: 100%; }
  .fenster.held-bild { margin-top: 36px; }
  .zielgruppen, .raster2, .raster3, .raster4, .schritte { grid-template-columns: 1fr; }
  .zielgruppen { gap: 20px; padding-top: 36px; padding-bottom: 48px; }
  .abschnitt { padding-top: 60px; padding-bottom: 60px; }
  .loesung { padding: 26px 22px; }
  .login-karte { padding: 24px; }
  .login-karte .knopf { width: 100%; }
}
