/* Reisenberger Performance — Website Stylesheet */

:root {
  --bg: #0b0c0e;
  --bg-alt: #111317;
  --card: #16181d;
  --card-border: #24272e;
  --text: #f2f3f5;
  --text-muted: #9aa0aa;
  --accent: #ff3b30;
  --accent-2: #ff8a00;
  --accent-gradient: linear-gradient(120deg, var(--accent), var(--accent-2));
  --radius: 14px;
  --max-width: 1160px;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 14, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 64px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  font-weight: 700;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(255, 59, 48, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(255, 59, 48, 0.75);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--card-border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 59, 48, 0.18), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(255, 138, 0, 0.15), transparent 40%),
    var(--bg);
  border-bottom: 1px solid var(--card-border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 15%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  background: rgba(255, 138, 0, 0.1);
  border: 1px solid rgba(255, 138, 0, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.hero h1 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: linear-gradient(160deg, #1a1c21, #0f1013);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 34px 30px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.gauge-card .logo-mark {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 22px rgba(255, 59, 48, 0.35));
}

.gauge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--card-border);
  font-size: 0.9rem;
}

.gauge-row:first-of-type {
  border-top: none;
}

.gauge-row .label {
  color: var(--text-muted);
}

.gauge-row .value {
  font-weight: 700;
}

.gauge-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--card-border);
  overflow: hidden;
  width: 55%;
}

.gauge-bar > span {
  display: block;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 999px;
}

/* ---------- Sections ---------- */

section {
  padding: 84px 0;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-head .eyebrow {
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
  font-weight: 800;
}

.section-head p {
  color: var(--text-muted);
  margin: 0;
}

.services {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 59, 48, 0.4);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.service-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-2);
  letter-spacing: 0.03em;
}

.promo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 56px 40px;
  background: linear-gradient(120deg, #1a0d0b, #201205);
  border: 1px solid rgba(255, 138, 0, 0.25);
  text-align: center;
}

.promo h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.promo p {
  color: var(--text-muted);
  margin: 0 0 26px;
}

.promo .price {
  color: var(--accent-2);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 10px;
}

.step .num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-weight: 800;
  color: var(--accent-2);
}

.step h4 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.contact-cta {
  background: var(--bg-alt);
  border-top: 1px solid var(--card-border);
}

.contact-cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
}

.contact-info-list .ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-list a {
  color: var(--text);
  font-weight: 600;
}

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  min-height: 260px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.9);
}

/* ---------- Map consent placeholder ---------- */

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  padding: 30px;
  background: var(--card);
}

.map-placeholder p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
  max-width: 32ch;
}

.map-placeholder .ico {
  font-size: 1.6rem;
}

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--card);
  border-top: 1px solid var(--card-border);
  box-shadow: 0 -12px 30px -12px rgba(0, 0, 0, 0.5);
  padding: 20px 24px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 240px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.cookie-banner-text strong {
  color: var(--text);
}

.cookie-banner-text a {
  color: var(--accent-2);
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.cookie-settings-link {
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

.cookie-settings-link:hover {
  color: var(--accent-2);
}

@media (max-width: 560px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }
}

/* ---------- Forms ---------- */

.form-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 14px;
}

/* ---------- Impressum ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
}

.legal-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 40px;
}

.legal-card h2 {
  margin-top: 0;
}

.legal-card h3 {
  color: var(--accent-2);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 28px 0 8px;
}

.legal-card h3:first-of-type {
  margin-top: 8px;
}

.legal-card p {
  margin: 0 0 4px;
  color: var(--text-muted);
}

.page-hero {
  padding: 64px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--card-border);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 59, 48, 0.14), transparent 55%),
    var(--bg);
}

.page-hero .eyebrow {
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 0 0 12px;
  font-weight: 800;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 48px 0 28px;
  background: var(--bg-alt);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
}

.footer-brand img {
  height: 30px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 6px 0 0;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-col ul a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent-2);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-inner,
  .contact-cta-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand img {
    height: 52px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0 60px;
  }

  section {
    padding: 60px 0;
  }

  .legal-card,
  .form-card {
    padding: 26px;
  }
}
