/* =========================
   FONTS (relative to assets/css/main.css)
   ========================= */
@font-face {
  font-family: "Inter";
  src: url("../fonts/custom/inter/Inter-roman.var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/custom/inter/Inter-italic.var.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/custom/poppins/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/custom/poppins/Poppins-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/custom/poppins/Poppins-ExtraBoldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA;
}

/* =========================
   TOKENS
   ========================= */
:root {
  --ci-gold: #F9C400;
  --ci-gold-1: #fbbf24;
  --ci-gold-2: #f59e0b;
  --ci-gold-3: #d97706;

  --ci-black: #0F0F10;
  --ci-white: #ffffff;

  --ci-border: #d6d7db;
  --ci-muted: #6b6e76;

  --ci-error: #dc2626;
  --ci-success: #16a34a;
  --ci-info: #2563eb;

  --ff-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-heading: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-base: 16px;
  --lh: 1.6;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 88px;

  --space-section-sm: var(--space-4);
  --space-section-md: var(--space-5);
  --space-section-lg: var(--space-6);

  --gap-1: 10px;
  --gap-2: 16px;
  --gap-3: 24px;
  --gap-4: 36px;

  --fs-xs: clamp(14px, 3.2vw, 14px);
  --fs-sm: clamp(15px, 3.4vw, 15px);
  --fs-md: clamp(16px, 2.6vw, 17px);
  --fs-lg: clamp(18px, 2.4vw, 19px);
  --fs-h3: clamp(20px, 3.6vw, 24px);
  --fs-h2: clamp(24px, 4.2vw, 32px);
  --fs-h1: clamp(32px, 5vw, 48px);

  --container-max: 1200px;
  --container-pad: 16px;
  --header-height: 80px;

  --shadow-1: 0 10px 30px rgba(0,0,0,0.08);
  --shadow-2: 0 12px 32px rgba(0,0,0,0.12);

  --transition: .2s ease;
  color-scheme: light;
}

@media (max-width: 767.98px) {
  :root {
    --space-section-sm: calc(var(--space-4) - 6px);
    --space-section-md: calc(var(--space-5) - 8px);
    --space-section-lg: calc(var(--space-6) - 10px);
  }
}
@media (min-width: 1200px) {
  :root {
    --container-pad: 24px;
    --fs-h1: clamp(40px, 5vw, 56px);
  }
}

/* =========================
   DARK MODE
   ========================= */
@media (prefers-color-scheme: dark) {
  :root {
    --ci-black: #ffffff;
    --ci-white: #1a1a1a;
    --ci-border: #3f3f46;
    --ci-muted: #a1a1aa;

    --ci-error: #ef4444;
    --ci-success: #22c55e;
    --ci-info: #3b82f6;

    --shadow-1: 0 10px 30px rgba(0,0,0,0.2);
    --shadow-2: 0 12px 32px rgba(0,0,0,0.3);

    color-scheme: dark;
  }

  body { background: var(--ci-white); color: var(--ci-black); }
  .u-section-gray { background: #1f2937; }
  .btn-ghost { border-color: rgba(255,255,255,0.2); }
  .btn-ghost:hover { border-color: var(--ci-gold-2); }
  .btn-white { background: #2d2d2d; border-color: rgba(255,255,255,0.2); color: #fff; }
  .btn-ghost-light { border-color: rgba(255,255,255,0.6); }
  .btn-ghost-light:hover { border-color: #fff; }
  .feature { background: #2d2d2d; border-color: rgba(255,255,255,0.1); }
  .feature:hover { border-color: rgba(253,186,18,0.45); }
  .feature-text { color: rgba(255,255,255,0.78); }
  .section-intro { color: rgba(255,255,255,0.75); }
  .u-card { background: #2d2d2d; border-color: rgba(255,255,255,0.1); }
}

/* =========================
   BASE
   ========================= */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--ff-base);
  line-height: var(--lh);
  color: var(--ci-black);
  margin: 0;
  background: var(--ci-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0;
}

p {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-md);
  line-height: var(--lh);
}

a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:not(.btn):hover { text-decoration: underline; }

img, svg, video { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 2px solid var(--ci-gold-2);
  outline-offset: 2px;
  border-radius: 6px;
}

/* =========================
   LAYOUT
   ========================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding-block: var(--space-section-md); }
.u-section-gray { background: #f3f4f6; padding-block: var(--space-section-lg); }

.pad-block-sm { padding-block: var(--space-section-sm) !important; }
.pad-block-md { padding-block: var(--space-section-md) !important; }
.pad-block-lg { padding-block: var(--space-section-lg) !important; }

/* Anchor offset for sticky header */
@keyframes anchorFadeIn { from { opacity: 0.25; } to { opacity: 1; } }
:target { animation: anchorFadeIn 0.3s ease-out; }
.u-anchor-fade { animation: anchorFadeIn 0.3s ease-out; }
h1[id], h2[id], h3[id], h4[id], h5[id], h6[id],
section[id], article[id], anchor-target, [data-scroll-target] {
  scroll-margin-top: calc(var(--header-height) + var(--space-4) + 10px);
}

/* =========================
   TYPO helpers
   ========================= */
.section-title {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-h2);
  font-weight: 700;
  text-wrap: balance;
}
.section-intro {
  margin: 0 0 var(--space-4);
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: rgba(0,0,0,0.75);
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* =========================
   BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }

.btn-gold {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--ci-gold-1), var(--ci-gold-2), var(--ci-gold-3));
  color: var(--ci-black);
  font-weight: 700;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: filter .3s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); }

.btn-white {
  background: #fff;
  color: var(--ci-black);
  border: 1px solid rgba(0,0,0,0.12);
  padding: 12px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  font-weight: 700;
  transition: filter .3s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-white:hover { filter: brightness(1.02); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ci-black);
  border: 1px solid rgba(0,0,0,0.12);
}
.btn-ghost:hover { border-color: var(--ci-gold-2); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: border-color .2s ease, transform .2s ease;
}
.btn-ghost-light:hover { border-color: #fff; transform: translateY(-2px); }

/* =========================
   HERO / LANDING
   ========================= */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  background: linear-gradient(180deg, rgba(253,186,18,0.08), rgba(255,255,255,0) 100%);
}
.hero .inner {
  display: grid;
  gap: var(--space-4);
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* =========================
   FEATURES / BENEFITS
   ========================= */
.features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-3);
  margin: 0; padding: 0; list-style: none;
}
@media (min-width: 992px) {
  .features-list { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  text-align: center;
  padding: 24px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.06);
  background: #fff;
  box-shadow: var(--shadow-1);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: rgba(253,186,18,0.45);
}
.feature-icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(65% 65% at 30% 30%, var(--ci-gold-1), var(--ci-gold-2) 60%, var(--ci-gold-3));
  color: var(--ci-black);
  box-shadow: 0 4px 14px rgba(253,186,18,0.35);
  transition: transform .3s ease;
}
.feature:hover .feature-icon { transform: scale(1.1); }
.feature-icon i { font-size: 22px; }
.feature-title {
  margin: 0 0 8px;
  font-size: var(--fs-h3);
  font-weight: 800;
}
.feature-text {
  margin: 0;
  color: rgba(0,0,0,0.78);
  font-size: var(--fs-md);
  line-height: 1.5;
}

/* =========================
   SOCIAL PROOF / SWIPER (light)
   ========================= */
.social-proof { display: grid; gap: var(--space-3); }
.social-proof .swiper { overflow: hidden; }
.social-proof .slide {
  padding: var(--space-3);
  border: 1px solid var(--ci-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-1);
}

/* =========================
   CARDS / SURFACES
   ========================= */
.u-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: var(--space-3);
}

/* =========================
   STACK / SPACING UTILS
   ========================= */
.u-shadow-1 { box-shadow: var(--shadow-1) !important; }
.u-shadow-2 { box-shadow: var(--shadow-2) !important; }

.stack-sm > * + * { margin-top: var(--space-2); }
.stack-md > * + * { margin-top: var(--space-3); }
.stack-lg > * + * { margin-top: var(--space-4); }

.mt-0{ margin-top:0 !important; }
.mt-1{ margin-top: var(--space-1) !important; }
.mt-2{ margin-top: var(--space-2) !important; }
.mt-3{ margin-top: var(--space-3) !important; }
.mt-4{ margin-top: var(--space-4) !important; }
.mt-5{ margin-top: var(--space-5) !important; }
.mt-6{ margin-top: var(--space-6) !important; }

.mb-0{ margin-bottom:0 !important; }
.mb-1{ margin-bottom: var(--space-1) !important; }
.mb-2{ margin-bottom: var(--space-2) !important; }
.mb-3{ margin-bottom: var(--space-3) !important; }
.mb-4{ margin-bottom: var(--space-4) !important; }
.mb-5{ margin-bottom: var(--space-5) !important; }
.mb-6{ margin-bottom: var(--space-6) !important; }

.pt-0{ padding-top:0 !important; }
.pb-0{ padding-bottom:0 !important; }

.center { text-align: center; }
.max-w-sm { max-width: 560px; }
.max-w-md { max-width: 720px; }

/* =========================
   WPForms – Harmonisierung
   ========================= */
.wpforms-container { --field-gap: 14px; }
.wpforms-container .wpforms-field { margin: 0 0 var(--field-gap) 0 !important; }
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container textarea,
.wpforms-container select{
  width:100%;
  border:1px solid var(--ci-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: #fff;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus{
  border-color: var(--ci-gold-2);
  box-shadow: inset 0 0 0 2px rgba(245,158,11,.15);
}
.wpforms-submit{
  display:inline-flex !important;
  align-items:center; justify-content:center;
  gap:10px;
  padding:14px 20px !important;
  border-radius: 999px !important;
  border:1px solid #E6C200 !important;
  background: linear-gradient(180deg, #FFE580, var(--ci-gold)) !important;
  color:#000 !important;
  box-shadow: var(--shadow-1) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}
.wpforms-submit:hover{ transform: translateY(-1px); box-shadow: var(--shadow-2) !important; }
.wpforms-error { color: var(--ci-error); font-size: var(--fs-sm); }

/* =========================
   HEADER / FOOTER (minimal for landing)
   ========================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid var(--ci-border);
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: var(--space-3);
}

.site-footer {
  border-top: 1px solid var(--ci-border);
  padding-block: var(--space-5);
  color: var(--ci-muted);
  background: #fff;
}

/* =========================
   RESPONSIVE TWEAKS
   ========================= */
@media (max-width: 720px){
  .site-header .inner{ min-height:56px; }
  .btn { width:100%; justify-content:center; }
  .hero .actions{ gap: var(--space-2); }
}
