/* Breuer Software GmbH — Visitenkarten-Seite.
   Ein einziges Stylesheet, keine externen Requests (keine Google Fonts,
   kein Tracking) — das hält die Datenschutzerklärung kurz. */

:root {
  --ink: #06271e;
  --ink-2: #0d4634;
  --paper: #f4f8f6;
  --line: #d8e4df;
  --text: #33433d;
  --muted: #6b7d76;
  --muted-dark: #9bb5aa;
  --accent: #34d399;
  --accent-dark: #0c6b52;
  --accent-hover: #085340;
  --schraege: 7rem; /* waagerechter Versatz der diagonalen Trennkante */
  --radius: 14px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

a { color: var(--accent-dark); }
a:hover { color: var(--ink); }

/* ── Startseite: zwei Hälften, diagonal getrennt ────────────────────────────
   Die dunkle Spalte ist um die halbe Schräge breiter als die Hälfte und wird
   per clip-path angeschnitten. Dadurch verläuft die Kante von 50 % + halbe
   Schräge oben nach 50 % − halbe Schräge unten, ist also mittig ausgerichtet.
   Was der Schnitt freigibt, ist der helle Untergrund des Containers. */

.split {
  display: grid;
  grid-template-columns: calc(50% + var(--schraege) / 2) 1fr;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--paper);
}

.half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5.5rem);
}

.half--dark {
  background: var(--ink);
  background-image: radial-gradient(
    120% 100% at 0% 0%,
    var(--ink-2) 0%,
    var(--ink) 58%
  );
  color: #dbe7e1;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--schraege)) 100%, 0 100%);
  /* Text aus der Schräge heraushalten */
  padding-right: calc(clamp(2.5rem, 6vw, 5.5rem) + var(--schraege) * 0.75);
}

.half--light { background: transparent; }

.inner { width: 100%; max-width: 32rem; margin-inline: auto; }

/* ── Wortmarke ──────────────────────────────────────────────────────────── */

.mark {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* ── Typografie ─────────────────────────────────────────────────────────── */

.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.half--light .kicker { color: var(--accent-dark); }

h1 {
  margin: 2.5rem 0 1.25rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

.lead { font-size: 1.05rem; color: #c3d5cd; }
.lead strong { color: #fff; font-weight: 600; }

/* ── Kontaktblock ───────────────────────────────────────────────────────── */

.kontakt {
  margin: 2.5rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted-dark);
}

.kontakt a { color: #dbe7e1; text-decoration-color: rgba(219, 231, 225, 0.4); }
.kontakt a:hover { color: var(--accent); }

.rechtliches {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.rechtliches a { color: var(--muted-dark); text-decoration: none; }
.rechtliches a:hover { color: var(--accent); text-decoration: underline; }
.rechtliches span { margin: 0 0.6rem; opacity: 0.4; }

/* ── Produktkarte ───────────────────────────────────────────────────────── */

.produkt {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(6, 39, 30, 0.05);
}

.produkt__kopf {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.produkt__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  display: block;
  flex: none;
}

.produkt__titel {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.produkt__typ {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.produkt p { margin: 0 0 1.75rem; font-size: 0.98rem; }

.produkt__aktion { display: flex; justify-content: flex-end; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.3rem;
  border-radius: 9px;
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 1px 2px rgba(6, 39, 30, 0.15);
  transition: background 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(6, 39, 30, 0.18);
}

.hinweis {
  margin: 1.75rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── Unterseiten ────────────────────────────────────────────────────────── */

.seite {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem 5rem;
}

.seite__kopf {
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.seite .mark { color: var(--ink); }

.seite h1 {
  margin: 1.5rem 0 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
}

.seite h2 {
  margin: 2.75rem 0 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.seite p, .seite ul { margin: 0 0 1.1rem; font-size: 1rem; }
.seite ul { padding-left: 1.25rem; }
.seite li { margin-bottom: 0.4rem; }

.zurueck {
  display: inline-block;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--muted);
}
.zurueck:hover { color: var(--accent-dark); }

/* ── Schmale Viewports ──────────────────────────────────────────────────────
   Gestapelt trennt die Diagonale nicht mehr links/rechts, sondern oben/unten. */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; min-height: 0; }
  .half { padding: 3rem 1.5rem; }
  .half--dark {
    padding: 3.5rem 1.5rem 5rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5rem), 0 100%);
  }
  .inner { max-width: 34rem; }
}
