/* OrganiseOne Website — gemeinsames Stylesheet
   Farbwelt identisch zur App und zu widget.html (Indigo auf Anthrazit),
   damit Website, Buchungsseite und App wie ein Produkt wirken.
   Bewusst nur Systemschriften: kein Google-Fonts-Abruf (DSGVO) und keine Ladezeit. */

:root {
  color-scheme: dark;
  --bg: #0F1114;
  --bg2: #131519;
  --card: #181B20;
  --card2: #20242B;
  --line: #2A2F37;
  --line2: #363C46;
  --tx: #F2F4F7;
  --tx2: #A0A4AB;
  --tx3: #6C7178;
  --ind: #5B6EF5;
  --ind2: #7C8BFF;
  --ind-soft: rgba(91, 110, 245, .14);
  --grn: #34C77B;
  --grn-soft: rgba(52, 199, 123, .14);
  --yel: #E6B450;
  --red: #FF6B6B;
  --radius: 16px;
  --radius-s: 10px;
  --wrap: 1120px;
  --shadow: 0 18px 48px rgba(0, 0, 0, .45);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--tx);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* height:auto ist Pflicht, sobald Bilder width/height-Attribute tragen –
   sonst bleibt die Attributhöhe stehen und das Bild wird verzerrt. */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ind2); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 800; }
h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 750; }
h3 { font-size: 20px; font-weight: 700; }
h4 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { color: #fff; font-weight: 650; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--tx2); }
.muted { color: var(--tx2); }
.tiny { color: var(--tx3); font-size: 14px; }
.center { text-align: center; }
.mt0 { margin-top: 0; }

/* ---------- Skip-Link (Tastatur/Screenreader) ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ind); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* ---------- Kopfzeile ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 20, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.head-in {
  max-width: var(--wrap); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--tx); font-weight: 750; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand span i { font-style: normal; color: var(--ind2); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--tx2); font-size: 15.5px; font-weight: 550;
  padding: 8px 11px; border-radius: 9px;
}
.nav a:hover { color: var(--tx); background: var(--card); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--tx); background: var(--card); }

.nav-toggle {
  margin-left: auto; display: none; background: var(--card); border: 1px solid var(--line);
  color: var(--tx); width: 42px; height: 42px; border-radius: 11px; font-size: 20px; cursor: pointer;
}

@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 61px 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg2); border-bottom: 1px solid var(--line);
    padding: 10px 14px 18px; max-height: calc(100vh - 61px); overflow: auto;
  }
  .nav:not(.open) { display: none; }
  .nav a { padding: 12px 10px; font-size: 17px; }
  .nav .btn { margin-top: 8px; text-align: center; }
  .nav-toggle { display: block; }
}

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 12px;
  background: var(--ind); color: #fff !important; font-weight: 650; font-size: 16px;
  border: 1px solid var(--ind); cursor: pointer; text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: #4A5DE8; text-decoration: none; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--tx) !important; border-color: var(--line2); }
.btn.ghost:hover { background: var(--card); border-color: var(--tx3); }
.btn.small { padding: 9px 15px; font-size: 15px; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Abschnitte ---------- */
section { padding: clamp(52px, 8vw, 92px) 0; }
section.tight { padding: clamp(34px, 5vw, 56px) 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ind2); margin-bottom: 12px;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 620px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(91, 110, 245, .20), transparent 70%);
}
.hero .wrap { position: relative; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 56ch; }
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-split { grid-template-columns: 1fr; gap: 32px; } }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ind-soft); border: 1px solid rgba(91, 110, 245, .35);
  color: var(--ind2); font-size: 14px; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 20px;
}
.pill.green { background: var(--grn-soft); border-color: rgba(52, 199, 123, .35); color: var(--grn); }

/* ---------- Karten & Raster ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card.link { transition: border-color .15s ease, transform .15s ease; }
a.card { color: inherit; display: block; }
a.card:hover { text-decoration: none; border-color: var(--line2); transform: translateY(-2px); }
.card .ico {
  width: 42px; height: 42px; border-radius: 12px; background: var(--ind-soft);
  display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 14px;
}
.card .more { color: var(--ind2); font-weight: 600; font-size: 15px; }

/* ---------- Nutzen-Zeile ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat b { display: block; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stat span { color: var(--tx2); font-size: 15px; }

/* ---------- Schritte ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px 22px 74px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ind); color: #fff; font-weight: 750; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 6px; }
.step p:last-child, .step ul:last-child { margin-bottom: 0; }
.step .dauer { font-size: 14px; color: var(--tx3); font-weight: 600; }

/* ---------- Tabelle ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 16px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--tx2); font-size: 14px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
.table-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

/* ---------- Preise ---------- */
/* auto-fit statt fester Spaltenzahl: seit der dritten Stufe (halbjährlich) stehen
   hier drei Karten, und die Konsole zeigt je nach Zustand auch mal zwei. */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 780px) { .price-grid { grid-template-columns: 1fr; } }
.price {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  position: relative;
}
.price.best { border-color: var(--ind); box-shadow: var(--shadow); }
.price .tag {
  position: absolute; top: -12px; right: 20px; background: var(--ind); color: #fff;
  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.price .amount { font-size: 44px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.price .amount small { font-size: 17px; font-weight: 600; color: var(--tx2); letter-spacing: 0; }
.price ul { list-style: none; padding: 0; margin: 20px 0 0; }
.price li { padding-left: 28px; position: relative; color: var(--tx); }
.price li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--grn); font-weight: 800;
}

/* ---------- Aufzählung mit Haken ---------- */
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 30px; position: relative; margin-bottom: .7em; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--grn); font-weight: 800; }
.crosses { list-style: none; padding: 0; }
.crosses li { padding-left: 30px; position: relative; margin-bottom: .7em; }
.crosses li::before { content: "✕"; position: absolute; left: 0; color: var(--tx3); font-weight: 800; }

/* ---------- Zitat / Hinweis ---------- */
.note {
  background: var(--ind-soft); border: 1px solid rgba(91, 110, 245, .3);
  border-radius: var(--radius); padding: 20px 24px;
}
.note.green { background: var(--grn-soft); border-color: rgba(52, 199, 123, .3); }
.note p:last-child { margin-bottom: 0; }

/* ---------- Code ---------- */
.code {
  position: relative; background: #0B0D10; border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 18px 18px; margin-bottom: 14px;
}
.code pre {
  margin: 0; overflow-x: auto; font-size: 14px; line-height: 1.6;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color: #D6DBE4;
}
.code .copy {
  position: absolute; top: 10px; right: 10px; background: var(--card2);
  border: 1px solid var(--line2); color: var(--tx2); font-size: 13px; font-weight: 600;
  padding: 6px 12px; border-radius: 8px; cursor: pointer;
}
.code .copy:hover { color: var(--tx); border-color: var(--tx3); }

/* ---------- Akkordeon (FAQ) ---------- */
details.faq {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 0; margin-bottom: 12px;
}
details.faq > summary {
  cursor: pointer; padding: 18px 22px; font-weight: 650; font-size: 17px;
  list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: "+"; color: var(--ind2); font-size: 22px; line-height: 1; font-weight: 400; }
details.faq[open] > summary::after { content: "–"; }
details.faq .answer { padding: 0 22px 20px; color: var(--tx2); }
details.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Screenshots ----------
   Raster statt Scrollleiste: nichts wird am rechten Rand abgeschnitten.
   Der dünne Rahmen ist wichtig, weil die dunklen Screenshots sonst mit dem
   Seitenhintergrund verschwimmen und wie fehlende Bilder wirken. */
.shots {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px; max-width: 940px; margin: 0 auto;
}
@media (max-width: 900px) { .shots { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 560px; } }
@media (max-width: 540px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 380px; } }
.shots figure { margin: 0; }
.shots .frame {
  background: var(--card2); border: 1px solid var(--line2); border-radius: 20px;
  padding: 5px; box-shadow: var(--shadow); overflow: hidden;
}
.shots img { border-radius: 16px; width: 100%; }
.shots figcaption { color: var(--tx2); font-size: 14px; margin-top: 12px; text-align: center; font-weight: 550; }

/* ---------- Abschluss-Aufruf ---------- */
.cta {
  background: linear-gradient(150deg, #1B2140, var(--card) 65%);
  border: 1px solid var(--line2); border-radius: 22px;
  padding: clamp(32px, 5vw, 56px); text-align: center;
}
.cta h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta .btn-row { justify-content: center; }

/* ---------- Fußzeile ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--bg2); padding: 52px 0 34px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .07em; color: var(--tx3); margin-bottom: 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 8px; }
.site-foot a { color: var(--tx2); }
.site-foot a:hover { color: var(--tx); }
.foot-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--tx3); font-size: 14px;
}
.foot-bottom .spacer { margin-left: auto; }
