/* Keine externen Schriften (DSGVO): System-Schriften */
:root {
  --bg: #faf8f5;
  --bg-alt: #f1ede6;
  --surface: #ffffff;
  --text: #1f2328;
  --muted: #5d636b;
  --line: #e2ddd4;
  --accent: #e8590c;
  --accent-dark: #c2410c;
  --accent-soft: #fff1e8;
  --navy: #1e2a38;
  --ok: #2f7d4f;
  --err: #b42318;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(30, 42, 56, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 70px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 10px;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-small { padding: 9px 14px; font-size: .9rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250, 248, 245, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
.logo-mark { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--accent) 50%, var(--navy) 50%); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent-dark); }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent-dark); font-weight: 650; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 40em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.trust { color: var(--muted); font-size: .92rem; }

.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 300px; padding: 14px; border-radius: 34px;
  background: var(--navy); box-shadow: 0 24px 60px rgba(30, 42, 56, .3);
  display: grid; gap: 12px; transform: rotate(2deg);
}
.phone-post { background: #fff; border-radius: 18px; overflow: hidden; }
.phone-post p { font-size: .82rem; line-height: 1.45; padding: 10px 12px 12px; margin: 0; }

/* Bild-Platzhalter (Demo) */
.ph-img {
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 10px;
  color: #fff; font-size: .78rem; font-weight: 650;
}
.ph-img span { background: rgba(0, 0, 0, .45); padding: 3px 8px; border-radius: 6px; }
.ph-bath  { background: linear-gradient(90deg, #8a7f72 0 50%, #cfe3ea 50% 100%); }
.ph-team  { background: linear-gradient(135deg, #e8590c, #f59f00); }
.ph-tip   { background: linear-gradient(135deg, #1e2a38, #3b5168); }
.ph-heat  { background: linear-gradient(135deg, #5c940d, #a9e34b); }
.ph-frost { background: linear-gradient(135deg, #1971c2, #a5d8ff); }
.ph-azubi { background: linear-gradient(135deg, #862e9c, #e599f7); }

/* Sections */
.section { padding: 76px 0; }
.alt { background: var(--bg-alt); }

.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.checklist li { background: var(--surface); padding: 14px 18px 14px 50px; border-radius: 10px; position: relative; border: 1px solid var(--line); }
.checklist.problem li::before { content: "✕"; position: absolute; left: 18px; color: var(--err); font-weight: 800; }
.kicker { font-size: 1.25rem; font-weight: 650; color: var(--navy); }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps small { display: block; color: var(--accent-dark); font-size: .85rem; font-weight: 600; margin-top: 4px; }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.post { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-body { padding: 16px 18px; font-size: .95rem; }
.post-body p { margin-bottom: .5em; }
.tag { font-size: .8rem; font-weight: 650; color: var(--muted); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 36px 0 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--accent); box-shadow: 0 16px 40px rgba(232, 89, 12, .15); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin: 0; white-space: nowrap; }
.plan-for { color: var(--muted); margin-top: -.3em; }
.price { font-size: 1rem; color: var(--muted); }
.price span { font-size: 2.3rem; font-weight: 800; color: var(--navy); }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; flex: 1; }
.plan li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px solid var(--line); font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.setup { font-size: .88rem; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit { border-radius: var(--radius); padding: 28px; }
.fit.yes { background: #eef7f1; }
.fit.no { background: #fbeeee; }
.fit ul { margin: 0; padding-left: 20px; }

.about { display: flex; gap: 32px; align-items: center; }
.avatar { flex: 0 0 120px; height: 120px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 2.2rem; font-weight: 750; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; padding: 0 20px; }
summary { cursor: pointer; font-weight: 650; padding: 16px 0; color: var(--navy); }
details p { color: var(--muted); }

/* Formular */
.cta-section { background: var(--navy); color: #e8edf3; }
.cta-section h2 { color: #fff; }
.cta-section a { color: #ffc9a8; }
.form-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-line { margin-top: 28px; line-height: 1.9; }
.card-form { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.card-form a { color: var(--accent-dark); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card-form label { display: grid; gap: 5px; font-size: .9rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  font: inherit; font-size: 1rem; font-weight: 400;
  padding: 11px 12px; border: 1px solid #cfc8bc; border-radius: 8px; background: #fff; color: var(--text); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(232, 89, 12, .25); border-color: var(--accent); }
.check { display: flex !important; grid-template-columns: none; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: 0 0 auto; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--err); }
.invalid { border-color: var(--err) !important; }

/* Footer */
.site-footer { background: #151e29; color: #aab4c0; padding: 26px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-inner p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: #d7dee6; }

/* Rechtsseiten */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.todo { background: #fff4d6; border: 1px dashed #d4a300; padding: 2px 6px; border-radius: 4px; }
.notice { background: #fff4d6; border-left: 4px solid #d4a300; padding: 14px 18px; border-radius: 6px; margin-bottom: 28px; }

/* Responsiv */
@media (max-width: 900px) {
  .hero-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps, .posts, .pricing { grid-template-columns: 1fr; }
  .pricing { gap: 30px; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 44px 0; }
  .section { padding: 54px 0; }
  .two-col, .field-row { grid-template-columns: 1fr; }
  .about { flex-direction: column; text-align: center; }
  .cta-row .btn { width: 100%; text-align: center; }
  .header-inner { gap: 12px; height: 60px; }
  .logo { font-size: 1rem; min-width: 0; }
  .logo span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .btn-small { white-space: nowrap; padding: 8px 12px; font-size: .85rem; }
  .post .ph-img { aspect-ratio: 16 / 9; }
  .card-form { padding: 20px; }
}
