/* Design-Token wie auf www.coresgmbh.de (Lovable-Site): Montserrat, CORES-Rot, Cyan-Akzent, 12-px-Radien. */
:root {
  --bg: hsl(0 0% 98%);
  --fg: hsl(220 20% 20%);
  --card: #fff;
  --primary: hsl(358 82% 50%);
  --primary-dark: hsl(358 82% 40%);
  --accent: hsl(198 100% 44%);
  --accent-dark: hsl(198 100% 36%);
  --muted: hsl(210 20% 94%);
  --muted-50: hsl(210 20% 96%);
  --muted-fg: hsl(220 10% 46%);
  --border: hsl(220 13% 91%);
  --dark: hsl(220 20% 15%);
  --radius: .75rem;
  --shadow: 0 1px 2px rgb(16 24 40 / .06), 0 8px 24px -12px rgb(16 24 40 / .18);
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Montserrat, system-ui, sans-serif; color: var(--fg); background: var(--bg); line-height: 1.6; font-size: 16px; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.75rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.red { color: var(--primary); }
.skip { position: absolute; left: -999px; top: 0; background: var(--dark); color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(250 250 250 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: baseline; font-weight: 800; font-size: 26px; letter-spacing: -.03em; color: var(--primary); text-decoration: none; line-height: 1; }
.logo svg { width: 19px; height: 19px; margin: 0 1.5px; align-self: center; transform: translateY(1px); }
.header-nav { display: flex; align-items: center; gap: 1rem; }
.tel { font-weight: 600; text-decoration: none; color: var(--fg); font-size: .95rem; }
@media (max-width: 560px) { .tel { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 10px; font: inherit; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .05s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .9rem 1.5rem; font-size: 1.02rem; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { border-color: hsl(220 13% 80%); background: var(--muted-50); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: hsl(0 0% 94%); }
.btn[disabled] { opacity: .6; cursor: default; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section.muted { background: var(--muted-50); border-block: 1px solid var(--border); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--accent); margin-bottom: .75rem; }
.section h2 { max-width: 28ch; }

/* Hero */
.hero { padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem); background: radial-gradient(1200px 500px at 85% -10%, hsl(198 100% 44% / .10), transparent 60%), radial-gradient(900px 500px at -10% 110%, hsl(358 82% 50% / .07), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: hsl(220 15% 30%); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 2rem; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--primary); line-height: 1.1; }
.hero-facts span { font-size: .85rem; color: var(--muted-fg); }
.device-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 1.1rem; max-width: 380px; margin-inline: auto; }
.device-screen { background: var(--dark); color: #fff; border-radius: 12px; padding: 1.1rem 1.2rem; display: grid; gap: .6rem; font-size: .9rem; }
.screen-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: hsl(220 15% 80%); }
.screen-row .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-right: .4rem; }
.dot-green { background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .2); }
.screen-row.small { font-size: .78rem; }
.screen-temp { display: flex; align-items: baseline; justify-content: space-between; }
.screen-temp .label { color: hsl(220 15% 70%); }
.screen-temp .value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.screen-temp + .screen-temp .value { font-size: 1.3rem; color: hsl(220 15% 85%); }
.screen-bar { height: 8px; border-radius: 999px; background: hsl(220 15% 28%); overflow: hidden; }
.screen-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); border-radius: inherit; }
.device-caption { margin: .8rem 0 0; font-size: .78rem; color: var(--muted-fg); text-align: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } .device-card { max-width: 320px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2rem; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 1px 2px rgb(16 24 40 / .04); }
.card p { margin: 0; color: hsl(220 12% 38%); font-size: .95rem; }
.card-icon { width: 44px; height: 44px; border-radius: 10px; background: hsl(358 82% 50% / .08); color: var(--primary); display: grid; place-items: center; margin-bottom: 1rem; }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards, .cards-3 { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.steps p { margin: 0; color: hsl(220 12% 38%); font-size: .95rem; }
.step-no { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; margin-bottom: 1rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Form */
.form-section { background: #fff; border-block: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-lines a { text-decoration: none; font-weight: 600; color: var(--accent-dark); }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .5rem; }
.checklist li { padding-left: 1.75rem; position: relative; font-size: .95rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: hsl(198 100% 44% / .14); }
.checklist li::after { content: ""; position: absolute; left: .32rem; top: .5em; width: .45rem; height: .25rem; border-left: 2px solid var(--accent-dark); border-bottom: 2px solid var(--accent-dark); transform: rotate(-45deg); }
.form { background: var(--muted-50); border: 1px solid var(--border); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .7rem .85rem; border: 1px solid hsl(220 13% 85%); border-radius: 10px; background: #fff; color: var(--fg); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 5.5rem; }
.field-code input { max-width: 240px; text-transform: uppercase; letter-spacing: .08em; }
.field.invalid input, .field.invalid select { border-color: var(--primary); }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.consent { display: flex; gap: .7rem; font-size: .82rem; color: hsl(220 12% 38%); align-items: flex-start; }
.consent input { margin-top: .25rem; width: 1.1rem; height: 1.1rem; flex: none; accent-color: var(--primary); }
.form-error { margin: 0; padding: .7rem .9rem; border-radius: 10px; background: hsl(358 82% 50% / .08); color: hsl(358 70% 38%); font-size: .9rem; font-weight: 600; }
.fineprint { margin: 0; font-size: .78rem; color: var(--muted-fg); }
.success { text-align: center; padding: 3rem 2rem; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: hsl(142 70% 45% / .12); display: grid; place-items: center; }
.success-icon svg { width: 32px; height: 32px; fill: none; stroke: hsl(142 70% 35%); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 1rem 0; }
details:first-of-type { border-top: 1px solid var(--border); margin-top: 1.5rem; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .75rem 0 0; color: hsl(220 12% 38%); }

/* CTA + Footer */
.cta-band { background: linear-gradient(135deg, hsl(358 82% 50%) 0%, hsl(358 82% 40%) 100%); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-band h2 { margin: 0; color: #fff; }
.site-footer { background: var(--dark); color: hsl(220 15% 78%); padding: 3rem 0 2rem; font-size: .9rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; }
.footer-links { display: grid; gap: .4rem; align-content: start; }
.copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid hsl(220 15% 25%); font-size: .8rem; color: hsl(220 10% 60%); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 1.25rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
