/* Gemeinsames Stylesheet aller Seiten (Hauptseite und /apps/...-Unterseiten).
   Regeln fuer Unterseiten stehen am Ende unter "Unterseiten" und gelten nur
   mit <body class="app">. Bei Aenderungen alle Seiten pruefen. */
:root {
  --brand-orange: #f39200;
  --brand-orange-dark: #d97b00;
  --brand-dark: #1a1a1a;
  --bg-light: #faf8f4;
  --bg-section: #ffffff;
  --text: #262422;
  --text-muted: #5c5852;
  --border: #e7e2da;
  --max-width: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid #1a1a1a;
  outline-offset: 2px;
}
section[id], header[id] { scroll-margin-top: 76px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-dark); color: #fff;
  padding: 12px 20px; text-decoration: none; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
body {
  margin: 0;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-wrap: break-word;
}
a { color: var(--brand-orange-dark); }
h1, h2, h3 { font-family: Arial, Helvetica, sans-serif; color: var(--brand-dark); line-height: 1.25; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: bold; font-size: 22px; letter-spacing: 0.5px; color: var(--brand-dark); text-decoration: none; }
.brand span { color: var(--brand-orange); }
nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
nav ul li a { text-decoration: none; color: var(--text); font-size: 15px; white-space: nowrap; }
nav ul li a:hover { color: var(--brand-orange-dark); }

/* Menue-Button fuer kleine Bildschirme - rein CSS, kein JavaScript */
.burger { display: none; }
.burger span {
  display: block; width: 24px; height: 2px; background: var(--brand-dark);
  box-shadow: 0 -7px 0 var(--brand-dark), 0 7px 0 var(--brand-dark);
}
@media (max-width: 720px) {
  .brand { font-size: 20px; }
  nav ul {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  }
  nav ul:target { display: flex; }
  nav ul li + li { border-top: 1px solid var(--border); }
  nav ul li a { display: block; padding: 15px 24px; font-size: 16px; }
  .burger {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px;
    border-radius: 6px; text-decoration: none;
  }
  .burger:hover span { background: var(--brand-orange-dark); }
  .burger:hover span::before { background: var(--brand-orange-dark); }
  .burger-close { display: none; }
  nav ul:target ~ .burger-open { display: none; }
  nav ul:target ~ .burger-close { display: flex; }
  .burger-close span { position: relative; box-shadow: none; transform: rotate(45deg); }
  .burger-close span::before {
    content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: var(--brand-dark); transform: rotate(-90deg);
  }
}

/* Hero */
header.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.30) 0, rgba(255,255,255,0) 45%),
    linear-gradient(135deg, #f9ad2c 0%, var(--brand-orange) 48%, #dd7d00 100%);
  padding: 76px 0 72px;
}
header.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.18) 1px, rgba(255,255,255,0) 1.7px);
  background-size: 14px 14px;
  pointer-events: none;
}
header.hero .container { position: relative; z-index: 2; }
.wordmark {
  display: block;
  font-weight: bold;
  font-size: clamp(40px, 8.4vw, 92px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #201700;
  margin: 0 0 20px;
  overflow-wrap: break-word;
}
.wordmark em { font-style: normal; color: #7a4a00; }
header.hero h1 {
  color: #241a00;
  font-size: clamp(22px, 3.2vw, 34px);
  max-width: 640px;
  margin: 0 0 14px;
}
header.hero p {
  color: #2a1e00;
  max-width: 560px;
  font-size: 18px;
  margin: 0 0 28px;
}
.btn {
  display: inline-block;
  background: var(--brand-dark);
  color: #fff;
  padding: 13px 26px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
}
.btn:hover { background: #000; }

/* Sections */
section { padding: 72px 0; }
section h2 {
  font-size: 28px;
  margin: 0 0 8px;
  position: relative;
  padding-bottom: 14px;
}
section h2::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 52px; height: 4px;
  background: var(--brand-orange);
}
.lead { color: var(--text-muted); max-width: 680px; margin: 0 0 40px; font-size: 16px; }
.alt-bg { background: var(--bg-section); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: 26px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .grid.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 22px;
}
.card h3 { font-size: 18px; margin: 0 0 10px; }
.card p { font-size: 14.5px; color: var(--text-muted); margin: 0; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--brand-orange-dark);
  font-weight: bold;
  margin-bottom: 8px;
}

/* Skill-Wolke */
.cloud {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  max-width: 880px;
}
.cloud span { line-height: 1.15; white-space: nowrap; }
.cloud .s1 { font-size: 15px; color: var(--text-muted); }
.cloud .s2 { font-size: 19px; color: var(--text); }
.cloud .s3 { font-size: 25px; font-weight: bold; color: var(--brand-dark); }
.cloud .s4 { font-size: 33px; font-weight: bold; color: var(--brand-orange-dark); }
@media (max-width: 560px) {
  .cloud { gap: 8px 12px; }
  .cloud .s4 { font-size: 26px; }
  .cloud .s3 { font-size: 21px; }
}
@media (max-width: 400px) {
  .cloud .s4 { font-size: 21px; }
  .cloud .s3 { font-size: 18px; }
}

.note {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 28px;
}

.team-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  max-width: 780px;
}
.team-box ul { margin: 18px 0 0; padding-left: 20px; color: var(--text-muted); }
.team-box li { margin-bottom: 8px; }
.team-count { margin: 26px 0 0; font-size: 16px; }
.team-count strong { color: var(--brand-orange-dark); font-size: 20px; }
ul.names { list-style: none; display: flex; flex-wrap: wrap; gap: 9px 10px; margin: 14px 0 0; padding: 0; }
ul.names li {
  margin: 0;
  font-size: 15px;
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 15px;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid dt { font-weight: bold; color: var(--brand-dark); margin-top: 14px; }
.contact-grid dd { margin: 2px 0 0; color: var(--text-muted); }

/* Legal sections */
.legal { background: var(--bg-section); }
.legal h2 { font-size: 22px; }
.legal h3 { font-size: 16px; margin: 24px 0 6px; }
.legal p, .legal li { font-size: 14.5px; color: var(--text-muted); }
.legal-block { max-width: 780px; }
.legal .summary {
  background: var(--bg-light);
  border-left: 4px solid var(--brand-orange);
  padding: 14px 18px;
  color: var(--text);
}

/* Footer */
.footer-pattern {
  height: 70px;
  background-image: url('footer-pattern.png');
  background-size: cover;
  background-position: center;
  transform: scaleY(-1);
}
footer {
  background: var(--brand-dark);
  color: #cfcabf;
  padding: 34px 0 40px;
  font-size: 13.5px;
}
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer a { color: #f0c98a; }
footer .legal-links a { margin-left: 18px; }
footer .legal-links a:first-child { margin-left: 0; }

/* Unterseiten (z. B. /apps/offline-meeting-reports/): gilt nur mit <body class="app">.
   Kompakte Hero-Variante ohne Wortmarke, Buttons untereinander, Karten-Listen
   und Preisraster. */
body.app header.hero { padding: 52px 0 48px; }
body.app header.hero h1 { font-size: clamp(28px, 4.6vw, 48px); letter-spacing: -0.01em; margin: 0 0 12px; }
body.app header.hero p { max-width: 640px; margin: 0 0 24px; }
body.app .btn { margin: 0 10px 10px 0; }
.card ul { font-size: 14.5px; color: var(--text-muted); margin: 0; padding-left: 18px; }
.card li { margin-bottom: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
}
.plan { background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 26px 22px; }
.plan h3 { font-size: 18px; margin: 0 0 6px; }
.plan .price { font-size: 26px; font-weight: bold; color: var(--brand-dark); margin: 0 0 2px; }
.plan .hint { font-size: 13.5px; color: var(--text-muted); margin: 0 0 12px; }
