/* nobag. – Website-Styles
   Farben und Typografie nach eichborn consulting Styleguide V.02 (Primärblau sparsam, viel Weißraum).
   Schriften lokal eingebunden (keine Verbindung zu Google, DSGVO). */

@font-face { font-family: "Space Grotesk"; font-weight: 400; font-display: swap; src: url("../fonts/space-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-display: swap; src: url("../fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

:root {
  --blue: #0055FF; --sec: #EDF1F2; --white: #FFFFFF; --black: #000000;
  --yellow: #FFE619; --cyan: #0DDDFF; --orange: #FF8019; --violet: #3D0DFF;
  --grey: #5B6366; --line: #D5DCDE;
  --display: "Space Grotesk", "Inter", Helvetica, Arial, sans-serif;
  --body: "Helvetica Neue", Helvetica, "Inter", Arial, sans-serif;
  --r-sm: 8px; --r-md: 16px; --r-pill: 999px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--body); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 400; }
h2 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 500; }
h3 { font-size: 24px; font-weight: 600; }
p { margin: 0 0 16px; max-width: 64ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--sec); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue a:not(.btn) { color: var(--white); text-decoration: underline; }
.eyebrow { font-family: var(--display); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; display: block; }
.section--blue .eyebrow { color: var(--sec); }
.lead { font-size: 21px; color: #1d1d1d; }
.muted { color: var(--grey); font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: var(--white); border: 0; border-radius: var(--r-pill); padding: 14px 26px; font-family: var(--display); font-weight: 500; font-size: 17px; cursor: pointer; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); background: #0047d6; }
.btn--ghost { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn--ghost:hover { background: rgba(0,85,255,.06); }
.btn--light { background: var(--white); color: var(--blue); }
.btn--light:hover { background: var(--sec); }
.tag { display: inline-block; border-radius: var(--r-pill); padding: 4px 12px; font-family: var(--display); font-size: 13px; background: var(--sec); color: var(--black); }
.tag--blue { background: var(--blue); color: var(--white); }

/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header .logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-family: var(--display); font-size: 16px; }
.nav a { color: var(--black); }
.nav a.btn { color: var(--white); padding: 10px 20px; font-size: 15px; }
.nav-toggle { display: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 8px; }
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: flex-start; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-visual { border-radius: var(--r-md); overflow: hidden; background: var(--sec); position: relative; aspect-ratio: 4/5; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .tag { position: absolute; left: 16px; top: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 20px; }
.hero ul.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--grey); }
.checks li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); margin-right: 8px; vertical-align: 2px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { aspect-ratio: 4/3; } }

/* Grids & Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--r-md); padding: 32px; }
.section--alt .card { background: var(--white); }
.card--line { border: 1px solid var(--line); }
.card .icon { width: 44px; height: 44px; margin-bottom: 20px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 16px; color: #2b2b2b; margin: 0; }

.product { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.product .img { background: var(--sec); aspect-ratio: 4/3; overflow: hidden; }
.product .img img { width: 100%; height: 100%; object-fit: cover; }
.product .body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .price { font-family: var(--display); font-size: 26px; font-weight: 500; }
.product .price small { font-size: 15px; color: var(--grey); font-weight: 400; }
.swatches { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--grey); }
.swatch { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; }
.product .actions { margin-top: auto; padding-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--blue); color: var(--white); font-family: var(--display); font-size: 20px; display: grid; place-items: center; }
.step:nth-child(2)::before { border-radius: 16px; }
.step:nth-child(3)::before { border-radius: 50%; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.feature img { width: 40px; height: 40px; }
.feature h4 { font-size: 19px; margin: 6px 0 4px; font-weight: 600; }
.feature p { font-size: 16px; color: #333; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }

/* Statement */
.statement { display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-items: center; }
.statement .big { font-family: var(--display); font-size: clamp(64px, 10vw, 140px); line-height: .9; letter-spacing: -0.04em; }
@media (max-width: 900px) { .statement { grid-template-columns: 1fr; } }

/* Form */
.form-card { background: var(--white); border-radius: var(--r-md); padding: 40px; max-width: 720px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 28px 20px; } }
label { display: block; font-family: var(--display); font-size: 15px; margin-bottom: 6px; }
input[type=text], input[type=email], select { width: 100%; padding: 14px 16px; font: inherit; font-size: 17px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--black); }
input:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { margin: 0; padding: 10px 18px; border: 1px solid var(--line); border-radius: var(--r-pill); cursor: pointer; font-size: 15px; }
.choice input:checked + label { background: var(--blue); border-color: var(--blue); color: var(--white); }
.choice input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-family: var(--body); font-size: 15px; color: #333; align-items: start; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.form-msg { display: none; margin-top: 18px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--sec); font-size: 16px; }
.form-msg.show { display: block; }
.form-msg.error { background: #FFF1E6; border-left: 4px solid var(--orange); }

/* FAQ */
details { border-top: 1px solid var(--line); padding: 20px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: var(--display); font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: #2b2b2b; }

/* Spec table */
.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 12px 14px; vertical-align: top; }
.spec tr:nth-child(odd) td, .spec tr:nth-child(odd) th { background: var(--sec); }
.spec th { width: 34%; font-family: var(--display); font-weight: 500; }

/* Footer */
.footer { padding: 64px 0 40px; background: var(--white); border-top: 1px solid var(--line); font-size: 15px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { color: var(--black); }
.footer .logo img { height: 30px; margin-bottom: 16px; }
.footer .legal { margin-top: 48px; color: var(--grey); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

/* Legal pages */
.legal-page h1 { font-size: 48px; }
.legal-page h2 { font-size: 26px; margin-top: 40px; }
.legal-page p, .legal-page li { font-size: 17px; }
.todo { background: var(--yellow); padding: 0 4px; border-radius: 3px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
