/* Schriften: selbst gehostet, nie von Google (der Aufruf gäbe die IP des Besuchers weiter). */
@font-face {
  font-family: "Saira Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/saira-condensed-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sans-italic-latin.woff2") format("woff2");
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--ink-2);
  font-family: var(--font-ui);
  font-size: var(--text-base);
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
}

/* Überschriften in der Textschrift, groß und leicht (Marc, 11.09.2026). Saira Condensed bleibt
   den Wortmarken und Abzeichen vorbehalten. Kleine Überschriften halbfett, sonst zu dünn. */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-ui);
  line-height: 1.15;
  color: var(--ink-1);
  letter-spacing: -.01em;
}
h1, h2 { font-weight: 300; }
h3, h4 { font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(36px, 4.6vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }

p, ul, ol { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { padding-left: 1.2em; }

a { color: var(--brand-red); text-decoration: none; }
a:hover { color: var(--brand-red-hover); text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: 72px 0; }
@media (min-width: 860px) { .section { padding: 104px 0; } }
.section-alt { background: var(--surface-app); }
.section-title { margin-bottom: 12px; }
.section-lead { font-size: 19px; color: var(--ink-2); margin-bottom: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--control-h);
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background var(--ease-out) 150ms, color var(--ease-out) 150ms, border-color var(--ease-out) 150ms;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand-red); color: var(--ink-on-brand); }
.btn-primary:hover { background: var(--brand-red-hover); color: var(--ink-on-brand); }
.btn-secondary { border: 1.5px solid var(--ink-1); color: var(--ink-1); background: transparent; }
.btn-secondary:hover { border-color: var(--brand-red); color: var(--brand-red); }

/* Sprünge zu Ankern laufen weich, außer der Nutzer will keine Bewegung */
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Einleitung in zwei Spalten (c1:Manager, Onlinebuchung, Cockpit): Überschrift und Punkte links, Screenshot rechts.
   Beide beginnen auf derselben Oberkante. Das Bild bleibt vollständig; ein Zuschnitt auf die Texthöhe schnitt bei
   schmaleren Fenstern rechts ab (Marc, 14.09.2026), deshalb kann die Unterkante je nach Breite leicht abweichen. */
.intro { display: grid; gap: 24px 48px; align-items: start; margin-bottom: 8px; }
@media (min-width: 860px) { .intro { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.intro h2 { margin: 0 0 12px; }
.intro-text p { max-width: none; }
.intro-facts { list-style: none; padding: 0; margin: 16px 0 20px; max-width: none; display: grid; gap: 8px; }
.intro-facts li { position: relative; padding-left: 16px; }
.intro-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-red); }
.intro-facts strong { color: var(--ink-1); }
.intro-text > :last-child { margin-bottom: 0; } /* sonst ist der Textblock um den Absatzabstand höher als nötig und das Bild wird beschnitten */
.intro-figure { margin: 0; }
.screenshot img { display: block; width: 100%; height: auto; border: 1px solid var(--border-1); border-radius: var(--radius-card); box-shadow: var(--shadow-pop); }

/* Abzeichen: kleine Pille in der Marken-Schrift, oben rechts in einer Karte. Farben je Kontext. */
.badge {
  position: absolute;
  top: 20px; right: 20px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: 7px 14px 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-tile);
  padding: 32px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--brand-red); outline-offset: 2px; }

/* Zwischenüberschriften auf Unterseiten (Inhalt unter dem rosé Band) */
.page-body > h2 { margin: 56px 0 12px; }
.page-body > h2:first-child { margin-top: 0; }
.page-body > h3 { margin: 32px 0 8px; }

/* Vergleichstabelle, Startseite und /lokal-oder-cloud/ */
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-table th, .compare-table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--border-1); vertical-align: top; }
.compare-table thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 2px solid var(--ink-1); }
/* Wortmarken als Spaltenköpfe, darunter klein lokal/Cloud (Marc, 14.09.2026) */
.compare-logo { display: block; height: 30px; width: auto; margin-bottom: 6px; }
.compare-note { display: block; }
.compare-table tbody th { font-weight: 600; color: var(--ink-1); width: 30%; }
@media (max-width: 599px) {
  .compare-table thead { display: none; }
  .compare-table tr { display: grid; grid-template-columns: 1fr; padding: 12px 0; border-bottom: 1px solid var(--border-1); }
  .compare-table th, .compare-table td { border: 0; padding: 2px 0; }
  .compare-table tbody th { width: auto; }
  .compare-table td:nth-child(2)::before { content: "Lokal: "; font-weight: 600; }
  .compare-table td:nth-child(3)::before { content: "Cloud: "; font-weight: 600; }
}


/* News-Eintrag (partials/news-entry.njk), auf der Startseite als Karte, auf /aktuelles/ als Liste */
.news-entry time { font-size: 14px; color: var(--ink-muted); display: block; margin-bottom: 8px; }
.news-entry h2, .news-entry h3 { margin-bottom: 12px; }
.news-entry h2 { font-size: clamp(24px, 3vw, 30px); }
.news-entry p:last-child, .news-entry ul:last-child { margin-bottom: 0; }
.news-list .news-entry { padding: 28px 0; border-bottom: 1px solid var(--border-1); }
.news-list .news-entry:first-child { padding-top: 0; }
/* Logo-Zeile unter einem Eintrag, etwa die Messen; Logos in einer Höhe, umbrechend */
.news-logos { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; max-width: none; }
.news-logos li { display: flex; align-items: center; }
.news-logos img { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.news-entry .news-logos:last-child { margin-bottom: 0; }

/* Kontakt */
.contact-grid { display: grid; gap: 20px; margin-bottom: 48px; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card h2 { font-size: 22px; margin-bottom: 8px; }
.contact-card p { margin: 0 0 8px; }
.contact-card p:first-of-type { font-size: 19px; font-weight: 600; }
