/* design3rs.de – Main Stylesheet v1 */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Backgrounds */
  --bg:        #060608;
  --bg-2:      #0c0c10;
  --bg-card:   #111116;
  --bg-card-2: #18181f;

  /* Text */
  --text:      #f2f0ef;
  --text-2:    #b8b4ad;
  --text-muted:#7a7570;

  /* Brand / Orange Palette */
  --orange:        #FF6B35;
  --orange-bright: #FF8C5A;
  --orange-deep:   #E85520;
  --red-accent:    #FF2D55;

  /* Gradient Presets */
  --grad-brand:  linear-gradient(135deg, #FF8C5A, #FF6B35, #E85520);
  --grad-warm:   linear-gradient(135deg, #FF6B35, #FF2D55);
  --grad-subtle: linear-gradient(135deg, rgba(255,107,53,.12), rgba(255,45,85,.08));

  /* Light Areas */
  --light-bg:    #f5f2ef;
  --light-text:  #1a1412;
  --light-text-2:#5a5450;
  --light-border:rgba(26,20,18,.1);

  /* Borders */
  --border:      rgba(255,255,255,.07);
  --border-warm: rgba(255,107,53,.18);

  /* Layout */
  --max-w:  1280px;
  --pad-x:  clamp(1.25rem, 5vw, 2.5rem);
  --nav-h:  88px;
  --r:      .75rem;
  --r-lg:   1.25rem;
  --r-xl:   2rem;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0,0,0,.35);
  --shadow-md:   0 8px 32px rgba(0,0,0,.5);
  --shadow-glow: 0 0 40px rgba(255,107,53,.2);

  /* Transitions */
  --t:     .22s ease;
  --t-mid: .35s ease;

  /* Fonts */
  --f-display: 'Space Grotesk', sans-serif;
  --f-body:    'Outfit', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ===== CANVAS BG ===== */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-2); font-size: 1.05rem; }

.text-gradient {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-orange { color: var(--orange); }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section {
  padding: 5rem 0;
}
.section-dark {
  background: var(--bg-2);
  padding: 5rem 0;
}
.section-light {
  background: var(--light-bg);
  color: var(--light-text);
  padding: 5rem 0;
}
.section-light p { color: var(--light-text-2); }
.section-light h2, .section-light h3 { color: var(--light-text); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: 6px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-warm);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255,107,53,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,107,53,.5);
}
.btn-outline {
  border: 1px solid var(--border-warm);
  color: var(--orange);
  background: rgba(255,107,53,.05);
}
.btn-outline:hover {
  background: rgba(255,107,53,.12);
  border-color: var(--orange);
}
.btn-light {
  background: var(--light-text);
  color: var(--light-bg);
}
.btn-light:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* ===== NAVIGATION ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(6,6,8,.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--t);
}
/* CI-Farbstreifen oben */
.header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-warm);
  z-index: 1;
}
.header.scrolled {
  background: rgba(6,6,8,.97);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  line-height: 0;
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-link {
  padding: .5rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 6px;
  transition: var(--t);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta {
  margin-left: .75rem;
  padding: .6rem 1.25rem;
  font-size: .88rem;
  font-weight: 700;
  background: var(--grad-warm);
  color: #fff;
  border-radius: 6px;
  transition: var(--t);
  font-family: var(--f-display);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255,107,53,.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  margin-left: auto;
}
.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--t);
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255,107,53,.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255,45,85,.05) 0%, transparent 55%),
    linear-gradient(rgba(6,6,8,.82), rgba(6,6,8,.95)),
    url('/hero.webp') center center / cover no-repeat;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,107,53,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,107,53,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,107,53,.1);
  border: 1px solid rgba(255,107,53,.2);
  color: var(--orange-bright);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.hero-trust {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--text-muted);
}
.hero-trust-item strong { color: var(--text-2); }

/* ===== PAGE HERO (Unterseiten) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(255,107,53,.1) 0%, transparent 60%),
    linear-gradient(rgba(6,6,8,.84), rgba(6,6,8,.96)),
    url('/hero.webp') center center / cover no-repeat;
  z-index: 0;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p  { font-size: 1.1rem; max-width: 560px; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: var(--t-mid);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--border-warm);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-warm);
  border-radius: 3px 0 0 3px;
  opacity: 0;
  transition: var(--t);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,107,53,.08);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,107,53,.15);
  padding: 11px;
  flex-shrink: 0;
}
.card-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.card h3 { margin-bottom: .6rem; color: var(--text); }
.card p  { font-size: .95rem; }

/* Light card variant */
.card-light {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: var(--t-mid);
  position: relative;
  overflow: hidden;
}
.card-light::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--grad-warm);
  border-radius: 3px 0 0 3px;
}
.card-light h3 { color: var(--light-text); margin-bottom: .6rem; }
.card-light p  { color: var(--light-text-2); font-size: .95rem; }
.card-light:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
}

/* ===== PROCESS STEPS ===== */
.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 44px;
  height: 44px;
  background: var(--grad-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: .9rem;
  color: #fff;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: .4rem; }

/* ===== CHECK LIST ===== */
ul.check { display: flex; flex-direction: column; gap: .6rem; }
ul.check li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text-2);
}
ul.check li::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .05em;
}
.section-light ul.check li { color: var(--light-text-2); }

/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-question {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  padding: 0;
  transition: var(--t);
}
.faq-question:hover { color: var(--orange); }
.faq-icon {
  width: 24px;
  height: 24px;
  background: rgba(255,107,53,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: var(--t);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(255,107,53,.2); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease, padding .3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; padding-top: .75rem; }
.faq-answer p { font-size: .95rem; }
.section-light .faq-item { border-color: var(--light-border); }
.section-light .faq-question { color: var(--light-text); }
.section-light .faq-answer p { color: var(--light-text-2); }

/* ===== STATS / NUMBERS ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-card);
  padding: 2rem;
  text-align: center;
}
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--grad-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: .25rem;
}
.stat-label { font-size: .9rem; color: var(--text-muted); }

/* ===== CTA BAND ===== */
.cta-band {
  background: var(--grad-warm);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,.03) 20px,
    rgba(255,255,255,.03) 40px
  );
}
.cta-band h2 { color: #fff; margin-bottom: .75rem; position: relative; }
.cta-band p  { color: rgba(255,255,255,.8); margin-bottom: 2rem; position: relative; }
.btn-white {
  background: #fff;
  color: var(--orange-deep);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(0,0,0,.3); }

/* ===== FOOTER ===== */
.footer {
  background: #040407;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  font-size: .9rem;
  color: #a09aa5;  /* ~5.5:1 auf #040407 */
  margin-top: .75rem;
  max-width: 280px;
}
.footer-contact {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.footer-contact a {
  font-size: .9rem;
  color: #a09aa5;  /* ~5.5:1 auf #040407 */
  transition: var(--t);
}
.footer-contact a:hover { color: var(--orange); }
.footer-col h3 {
  font-family: var(--f-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #8a8590;  /* ~4.6:1 auf #040407 – AA für großen/fetten Text */
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a {
  font-size: .9rem;
  color: #a09aa5;  /* ~5.5:1 auf #040407 */
  transition: var(--t);
}
.footer-col ul a:hover { color: var(--orange); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: #8a8590;  /* ~4.6:1 auf #040407 */
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a { color: #8a8590; transition: var(--t); }
.footer-bottom a:hover { color: var(--orange); }

/* ===== INTRO SECTION ===== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-aside {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
}
.intro-aside h3 { color: var(--text) !important; }
.intro-aside p  { color: var(--text-2) !important; }
.intro-aside a:not(.btn) { color: var(--text-2) !important; }

/* ===== ORANGE STRIPE ===== */
.orange-stripe {
  height: 3px;
  background: var(--grad-warm);
  width: 100%;
}

/* ===== PROSE (lange Texte) ===== */
.prose h2, .prose h3 { margin: 2rem 0 .75rem; }
.prose p  { margin-bottom: 1.25rem; }
.prose ul { margin-bottom: 1.25rem; }

/* ===== IMAGE PLACEHOLDER ===== */
.img-placeholder {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  color: var(--text-muted);
  font-size: .85rem;
  min-height: 260px;
}
.img-placeholder span { font-size: 2rem; }

/* ===== SCROLL REVEAL ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ===== LEISTUNGS-DETAIL ===== */
.ld-section {
  padding: 4rem 0;
}
.ld-section + .ld-section {
  border-top: 1px solid var(--border);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) var(--pad-x) 5rem;
}
.legal-content h1 { margin-bottom: 2rem; }
.legal-content h2 { margin: 2.5rem 0 .75rem; font-size: 1.25rem; }
.legal-content p, .legal-content li {
  color: var(--text-2);
  font-size: .95rem;
  margin-bottom: .75rem;
  line-height: 1.7;
}
.legal-content ul { padding-left: 1.25rem; list-style: disc; }
.legal-content a { color: var(--orange); text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --nav-h: 72px; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6,6,8,.98);
    padding: 2rem var(--pad-x);
    gap: .25rem;
    overflow-y: auto;
    z-index: 99;
  }
  .nav-menu.open .nav-link { font-size: 1.1rem; padding: .75rem 1rem; width: 100%; }
  .nav-menu.open .nav-cta { margin-left: 0; margin-top: 1rem; }
  .nav-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-trust { gap: 1rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}

/* ===== LOGO ===== */
.nav-logo img {
  display: block;
  width: auto;
  height: 38px;
  object-fit: contain;
  /* Kein Filter – Logo bleibt farbig in der Nav */
}
.footer-brand .nav-logo img {
  height: 32px;
  /* Footer: Logo weiß + leicht transparent */
  filter: brightness(0) invert(1) opacity(.7);
}
