:root {
  --pine: #315d46;
  --pine-deep: #1e4332;
  --leaf: #6c9564;
  --mint: #edf5eb;
  --paper: #fbfcf9;
  --white: #ffffff;
  --ink: #203329;
  --muted: #68756d;
  --line: #dce7db;
  --warm: #f6f3ec;
  --shadow: 0 18px 50px rgba(37, 71, 50, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--leaf); }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header { background: rgba(251, 252, 249, .92); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(12px); }
.nav { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { color: var(--pine-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 11px; font-weight: 760; letter-spacing: -.02em; }
.brand-mark { width: 35px; height: 35px; border-radius: 50% 50% 50% 7px; background: var(--pine); color: #fff; display: grid; place-items: center; font-size: 13px; box-shadow: inset -4px -4px 0 rgba(255,255,255,.13); }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav-controls { display: flex; align-items: center; gap: 18px; }
.nav-language { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.nav-language a { color: var(--muted); text-decoration: none; padding: 5px 2px; }
.nav-language a[aria-current="page"] { color: var(--pine); font-weight: 800; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--pine); }
.nav-cta { background: var(--pine); color: #fff !important; border-radius: 999px; padding: 8px 14px; }
.nav-cta:hover { background: var(--leaf); color: #fff !important; }
.hero { padding: 110px 0 82px; background: linear-gradient(120deg, #f8faf5 0%, #edf5eb 58%, #e5f0e2 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 60px; }
.eyebrow { color: var(--pine); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 16px; }
h1, h2, h3 { color: var(--pine-deep); line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(43px, 6vw, 76px); margin: 0 0 24px; max-width: 760px; }
h2 { font-size: clamp(28px, 3vw, 42px); margin: 0 0 18px; }
h3 { font-size: 20px; margin: 0 0 10px; }
.lede { color: #43544a; font-size: 19px; max-width: 620px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--pine); color: #fff; padding: 13px 20px; font-weight: 700; text-decoration: none; font-size: 15px; }
.button:hover { color: #fff; background: var(--leaf); }
.button.secondary { background: transparent; color: var(--pine); border: 1px solid #afc7ae; }
.button.secondary:hover { background: #fff; }
.hero-card { background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); position: relative; }
.hero-card:before { content: ""; width: 78px; height: 78px; position: absolute; border-radius: 90% 10% 90% 10%; background: #d4e5ce; right: -18px; top: -18px; z-index: -1; }
.hero-card .mini { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.hero-card strong { color: var(--pine-deep); font-size: 23px; line-height: 1.25; display: block; }
.hero-card .line { height: 1px; background: var(--line); margin: 24px 0; }
.section { padding: 92px 0; }
.section.alt { background: var(--white); }
.section-intro { max-width: 680px; margin-bottom: 38px; }
.section-intro p { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 27px; }
.alt .card { background: var(--paper); }
.card-icon { width: 38px; height: 38px; background: var(--mint); border-radius: 12px; display: grid; place-items: center; color: var(--pine); font-weight: 800; margin-bottom: 20px; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.app-icon { width: 48px; height: 48px; border-radius: 13px; object-fit: cover; margin-bottom: 18px; box-shadow: 0 6px 16px rgba(37,71,50,.14); }
.card h3.app-name { margin-bottom: 8px; }
.featured-project { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 27px; margin-bottom: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.featured-project h3 { margin: 0 0 6px; }
.featured-project p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.section-divider { border: none; border-top: 1px solid var(--line); margin: 10px 0 46px; }
.section-label { color: var(--pine); font-size: 17px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; }
.statement { border-radius: 24px; background: var(--pine-deep); color: #eff6ee; padding: clamp(32px, 6vw, 64px); }
.statement h2 { color: #fff; max-width: 730px; }
.statement p { max-width: 650px; margin: 0; color: #d8e8d7; }
.legal-page { padding: 72px 0 88px; }
.legal-head { max-width: 730px; margin-bottom: 38px; }
.legal-head h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 15px; }
.legal-head p { color: var(--muted); margin: 0; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; }
.legal-content { min-width: 0; }
.legal-content section { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; margin-bottom: 16px; }
.legal-content h2 { font-size: 22px; margin: 0 0 13px; }
.legal-content p, .legal-content li { color: #4d5d54; }
.legal-content p:last-child, .legal-content ul:last-child { margin-bottom: 0; }
.legal-aside { background: var(--mint); border-radius: 16px; padding: 24px; position: sticky; top: 100px; font-size: 14px; }
.legal-aside h2 { font-size: 18px; margin-bottom: 10px; }
.legal-aside p { color: var(--muted); margin: 0; }
.notice { background: #fff9e8 !important; border-color: #ead8a2 !important; }
.notice h2 { color: #765d16; }
.notice p { color: #665b3c; }
.lang { font-size: 13px; display: inline-flex; gap: 8px; }
.lang a { color: var(--muted); text-decoration: none; }
.lang a[aria-current="page"] { color: var(--pine); font-weight: 800; }
.site-footer { background: var(--pine-deep); color: #dce9dc; padding: 40px 0; }
.footer-grid { display: flex; gap: 25px; justify-content: space-between; align-items: flex-end; }
.footer-brand { font-weight: 750; color: #fff; margin: 0 0 5px; }
.footer-meta { color: #b9cfbb; font-size: 14px; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; font-size: 14px; }
.footer-links a { color: #dce9dc; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.nav-toggle { position: absolute; left: -9999px; }
.nav-toggle-label { display: none; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { min-height: 66px; flex-wrap: wrap; position: relative; row-gap: 4px; }
  .nav-language { font-size: 12px; }
  .nav-toggle-label {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--white); cursor: pointer; flex-shrink: 0;
  }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; display: block; width: 16px; height: 2px; border-radius: 2px;
    background: var(--pine-deep); position: relative;
  }
  .nav-toggle-label span::before { position: absolute; top: -5px; left: 0; }
  .nav-toggle-label span::after { position: absolute; top: 5px; left: 0; }
  .nav-controls {
    order: 5; width: 100%; flex-direction: column; align-items: flex-start; gap: 14px;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-toggle:checked ~ .nav-controls { max-height: 340px; padding: 8px 0 18px; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 12px; font-size: 13px; width: 100%; }
  .nav-links a:not(.nav-cta) { display: inline-block; }
  .nav-cta { align-self: flex-start; }
  .hero { padding: 72px 0 62px; }
  .hero-grid, .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { max-width: 450px; }
  .section { padding: 65px 0; }
  .cards { grid-template-columns: 1fr; }
  .legal-page { padding: 48px 0 60px; }
  .legal-content section { padding: 22px; }
  .legal-aside { position: static; }
  .featured-project { padding: 22px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
}

/* --- Ergänzungen: Produktivitäts-Block & Datenschutzhinweise für Apps --- */
.cards-heading { font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 10px; }
.cards + .cards-heading { margin-top: 56px; }
.cards-intro { color: var(--muted); margin: 0 0 22px; max-width: 680px; }
.app-alias { color: var(--muted); font-weight: 500; font-size: 15px; letter-spacing: 0; }
.legal-content h3 { font-size: 16px; margin: 18px 0 6px; }
.legal-content ul { margin: 0 0 12px; padding-left: 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content code { font-size: 13px; background: var(--mint); padding: 1px 5px; border-radius: 5px; }
.data-class { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; margin: 0 0 6px; background: var(--mint); color: var(--pine-deep); }
.data-class-b { background: #eaf1fb; color: #2b4a7a; }
.data-class-c { background: #fff3e3; color: #7a4d14; }
.toc { background: var(--mint) !important; }
.toc-sub { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--pine); margin: 14px 0 6px; }
.toc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.toc-list li { margin: 0; font-size: 15px; }
.toc-list a { text-decoration: none; }
.toc-class { color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .toc-list { grid-template-columns: 1fr; }
  .cards + .cards-heading { margin-top: 40px; }
}

/* --- 7-Sprachen-Umschalter (site7) ---
   Die .nav-language-Liste hat jetzt 7 Einträge und passt nicht mehr neben die
   Hauptlinks. Ab 761px steht sie deshalb rechtsbündig in einer eigenen Zeile
   unter den Hauptlinks (nav-controls als Spalte), darf bei Bedarf umbrechen;
   unter 760px steht sie wie bisher im Mobile-Menü. Bestehende Regeln oben
   bleiben unverändert. */
.nav-language { flex-wrap: wrap; white-space: normal; row-gap: 2px; }
.nav-language a { white-space: nowrap; }
.nav-language span { color: var(--muted); }
@media (min-width: 761px) {
  .nav-controls { flex-direction: column; align-items: flex-end; gap: 4px; padding: 10px 0; }
  .nav-language { justify-content: flex-end; font-size: 12px; }
}
@media (max-width: 760px) {
  .nav-toggle:checked ~ .nav-controls { max-height: 420px; }
}
