/* ============================================================
   wir-kaufen-slabs.de — Design-System
   Farben: Navy #0e1726 (Vertrauen) / Gold #f5b942 (Slab-Label)
   / Rot #e63946 (CTA) — System-Font-Stack für PageSpeed
   ============================================================ */

:root {
  --navy: #0e1726;
  --navy-2: #16223a;
  --navy-3: #1f2f4d;
  --gold: #f5b942;
  --gold-dark: #d99a18;
  --red: #e63946;
  --red-dark: #c92a37;
  --ink: #1a2233;
  --ink-soft: #46506a;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --bg-gold: #fdf6e6;
  --line: #e3e8f0;
  --green: #1d9f6e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(14, 23, 38, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  color: #fff;
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo .logo-slab {
  width: 30px;
  height: 38px;
  flex-shrink: 0;
}
.logo em { color: var(--gold); font-style: normal; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: #d4dbea;
  font-weight: 600;
  font-size: 15.5px;
}
.main-nav a:hover { color: #fff; text-decoration: none; }

.btn {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 10px;
  border: 0;
  font-size: 16px;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  text-align: center;
}
.btn:hover { background: var(--red-dark); text-decoration: none; transform: translateY(-1px); }
.btn-big { padding: 16px 34px; font-size: 18px; border-radius: 12px; }
.btn-gold { background: var(--gold); color: var(--navy) !important; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  color: #fff;
  padding: 72px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.hero .wrap > * { min-width: 0; }

.hero h1 {
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }

.hero .sub {
  font-size: 19.5px;
  color: #c6cfdf;
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-usps { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-usps span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #aeb9cd;
  font-weight: 600;
}
.hero-usps b { color: var(--gold); }

.hero-visual { display: flex; justify-content: center; min-width: 0; }
.hero-visual svg { width: min(460px, 100%); height: auto; }

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

.kicker {
  display: inline-block;
  color: var(--red);
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
}

h2 {
  font-size: 33px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 18px;
}

h3 { font-size: 22px; margin: 30px 0 10px; letter-spacing: -0.3px; }

.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* ---------- Cards / Grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 > *, .grid-2 > * { min-width: 0; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { margin-top: 0; font-size: 20px; }
.card p { color: var(--ink-soft); font-size: 16px; }
.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-gold);
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}
.card .icon { font-size: 30px; margin-bottom: 12px; }

.card-link {
  display: block;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card-link:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-link .more { color: var(--red); font-weight: 700; font-size: 15px; }

/* ---------- Highlight-Band ---------- */
.band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.band h2 { color: #fff; }
.band p { color: #c6cfdf; max-width: 640px; margin: 0 auto 26px; font-size: 18px; }

/* ---------- Checkliste ---------- */
ul.checks { list-style: none; margin: 18px 0; }
ul.checks li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #e7f6ef;
  color: var(--green);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
ul.checks li b { color: var(--ink); }

ul.crosses { list-style: none; margin: 18px 0; }
ul.crosses li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
ul.crosses li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fdebec;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Tabellen ---------- */
.table-scroll { overflow-x: auto; margin: 24px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
th, td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--navy);
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
tr:last-child td { border-bottom: 0; }
tr:nth-child(even) td { background: var(--bg-soft); }

/* ---------- FAQ ---------- */
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--red);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; color: var(--ink-soft); }
.faq details p + p { padding-top: 0; margin-top: -6px; }

/* ---------- Artikel / Ratgeber ---------- */
.article { padding: 48px 0 72px; }
.article h1 {
  font-size: 38px;
  letter-spacing: -0.6px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.article .meta { color: var(--ink-soft); font-size: 15px; margin-bottom: 30px; }
.article h2 { margin-top: 44px; font-size: 28px; }
.article h3 { margin-top: 30px; }
.article p { margin-bottom: 16px; }
.article ul:not(.checks):not(.crosses), .article ol { margin: 0 0 18px 24px; }
.article li { margin-bottom: 8px; }
.article .lead {
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.infobox {
  background: var(--bg-gold);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 26px 0;
}
.infobox b { color: var(--ink); }

.warnbox {
  background: #fdebec;
  border-left: 4px solid var(--red);
  border-radius: 0 12px 12px 0;
  padding: 18px 22px;
  margin: 26px 0;
}

.cta-inline {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-inline h3 { margin: 0 0 6px; color: #fff; }
.cta-inline p { margin: 0; color: #c6cfdf; }

.breadcrumbs { font-size: 14px; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumbs a { color: var(--ink-soft); }

/* ---------- Formular ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row { margin-bottom: 22px; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label { display: block; font-weight: 700; font-size: 15.5px; margin-bottom: 7px; }
label .opt { color: var(--ink-soft); font-weight: 400; font-size: 14px; }

input[type="text"], input[type="email"], input[type="tel"],
select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 16px;
  font-family: var(--font);
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy-3);
  box-shadow: 0 0 0 3px rgba(31, 47, 77, 0.12);
}
textarea { min-height: 110px; resize: vertical; }

.upload-zone {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: 26px;
  text-align: center;
  color: var(--ink-soft);
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.upload-zone:hover { border-color: var(--gold); }
.upload-zone input { display: none; }
.upload-zone .uz-title { font-weight: 700; color: var(--ink); font-size: 16px; }
.upload-zone .uz-hint { font-size: 14px; margin-top: 4px; }
#file-list { font-size: 14.5px; color: var(--green); font-weight: 600; margin-top: 10px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.form-error {
  background: #fdebec;
  border: 1px solid var(--red);
  color: var(--red-dark);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-weight: 600;
}

/* ---------- Trust-Leiste ---------- */
.trustbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.trustbar .t {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 14px;
}
.trustbar .t b { display: block; font-size: 24px; color: var(--navy); letter-spacing: -0.5px; }
.trustbar .t span { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #aeb9cd;
  padding: 56px 0 32px;
  font-size: 15px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #aeb9cd; }
.site-footer a:hover { color: #fff; }
.footer-about { font-size: 14.5px; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: 35px; }
  .hero-visual { order: -1; }
  .hero-visual svg { width: min(300px, 100%); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 22px;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
  .main-nav .btn { margin-top: 14px; border-bottom: 0; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 56px; }
  .hero h1 { font-size: 29px; }
  h2 { font-size: 26px; }
  .article h1 { font-size: 28px; }
  section { padding: 48px 0; }
  .trustbar { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .cta-inline { padding: 26px 22px; }
}

/* ============================================================
   Fun-Layer: Holo, Glow & Animationen
   ============================================================ */

/* ---------- Hero: Glow-Blobs ---------- */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero::before {
  width: 460px;
  height: 460px;
  background: rgba(245, 185, 66, 0.30);
  top: -160px;
  right: -80px;
}
.hero::after {
  width: 420px;
  height: 420px;
  background: rgba(124, 92, 255, 0.28);
  bottom: -200px;
  left: -120px;
}
.hero .wrap { position: relative; z-index: 1; }

/* ---------- Holo-Schimmer-Text ---------- */
.holo-text {
  background: linear-gradient(90deg, #f5b942, #ff6b9d, #9a7bff, #38d0ff, #f5b942);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: holo-shift 7s linear infinite;
}
@keyframes holo-shift {
  to { background-position: 300% 0; }
}

/* ---------- Hero-Visual: Schweben + Effekte ---------- */
.hero-visual svg {
  animation: float 5.5s ease-in-out infinite;
  overflow: visible;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-visual .shine {
  animation: shine-sweep 4s ease-in-out infinite;
}
@keyframes shine-sweep {
  0%, 55% { transform: translateX(-220px); }
  100% { transform: translateX(320px); }
}
.tw {
  animation: twinkle 2.6s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.tw.d1 { animation-delay: 0.9s; }
.tw.d2 { animation-delay: 1.7s; }
.tw.d3 { animation-delay: 0.45s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.6); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ---------- Buttons: Verlauf + Glow ---------- */
.btn {
  background: linear-gradient(135deg, #ff5964, #e63946);
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
}
.btn:hover {
  background: linear-gradient(135deg, #f04550, #c92a37);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.45);
}
.btn-gold {
  background: linear-gradient(135deg, #ffd166, #f5b942);
  box-shadow: 0 6px 18px rgba(245, 185, 66, 0.40);
}
.btn-gold:hover {
  background: linear-gradient(135deg, #f8c452, #e8a92a);
  box-shadow: 0 8px 24px rgba(245, 185, 66, 0.5);
}
.btn-ghost { background: transparent; box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }

/* ---------- Karten: Holo-Rand beim Hover ---------- */
.card-link:hover {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(120deg, #f5b942, #ff6b9d, #9a7bff, #38d0ff) border-box;
}
.card .icon {
  font-size: 34px;
  filter: drop-shadow(0 3px 6px rgba(14, 23, 38, 0.18));
}

/* ---------- Trustbar: Gold-Zahlen + Hover-Pep ---------- */
.trustbar .t {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.trustbar .t:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  box-shadow: var(--shadow);
}
.trustbar .t b {
  background: linear-gradient(135deg, #d99a18, #f5b942);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trustbar .t .t-icon {
  display: block;
  font-size: 26px;
  margin-bottom: 6px;
}

/* ---------- CTA-Band: Glow ---------- */
.band {
  position: relative;
  overflow: hidden;
}
.band::before,
.band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.band::before {
  width: 380px;
  height: 380px;
  background: rgba(245, 185, 66, 0.25);
  top: -140px;
  left: -80px;
}
.band::after {
  width: 380px;
  height: 380px;
  background: rgba(56, 208, 255, 0.18);
  bottom: -160px;
  right: -80px;
}
.band .wrap { position: relative; z-index: 1; }

/* ---------- Nummern-Kreise: Verlauf ---------- */
.card .num {
  background: linear-gradient(135deg, #fdf6e6, #ffe9b8);
  box-shadow: inset 0 0 0 1.5px rgba(217, 154, 24, 0.35);
}

/* ---------- WhatsApp ---------- */
.btn-wa {
  background: linear-gradient(135deg, #2ee06a, #1fba57);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-wa:hover {
  background: linear-gradient(135deg, #29c95f, #189a47);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}
.btn-wa svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ee06a, #1fba57);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); text-decoration: none; }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.wa-card {
  background: linear-gradient(135deg, #eafff1, #d8f8e5);
  border: 1.5px solid #9be4b8;
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.wa-card p { margin: 0; color: var(--ink-soft); }
.wa-card b { color: var(--ink); }

/* ---------- Weniger Bewegung auf Wunsch des Systems ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-visual svg, .hero-visual .shine, .tw, .holo-text { animation: none; }
}
