/* =============================================================
   MoeProjects – Stylesheet
   ============================================================= */

/* ----- Design tokens ----- */
:root {
  --c-navy: #0E1A3C;
  --c-navy-deep: #0A1430;
  --c-navy-soft: #1A2754;
  --c-text: #0E1A3C;
  --c-muted: #5C6477;
  --c-bg: #F7F4EE;          /* warm ivory page bg */
  --c-bg-2: #FFFFFF;
  --c-border: #E5E1D6;
  --c-border-2: #EFECE3;
  --c-violet: #5B4BFF;
  --c-violet-2: #4A3DD1;
  --c-violet-soft: #EDEAFF;
  --c-success: #18B886;
  --c-aqua: #14A38B;
  --c-aqua-soft: #E6F4F1;
  --c-orange: #F26A1F;
  --c-red: #E11D2E;
  --c-beige: #F2EAD8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(14,26,60,.05);
  --shadow-md: 0 12px 40px rgba(14,26,60,.08);
  --shadow-lg: 0 30px 80px rgba(14,26,60,.18);

  --container: 1240px;
  --font: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ----- Reset / base ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-navy);
}
h2 { font-size: clamp(1.85rem, 3.2vw, 2.8rem); line-height: 1.15; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p  { margin: 0; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-violet);
  background: var(--c-violet-soft);
  padding: 6px 14px;
  border-radius: 999px;
}
.eyebrow.light {
  color: #BFB7FF;
  background: rgba(91,75,255,.18);
}

.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head .lede { color: var(--c-muted); margin-top: 14px; font-size: 1.05rem; }

.accent { color: var(--c-violet); }


/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-block { display: flex; width: 100%; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-dark {
  background: var(--c-navy);
  color: #fff;
}
.btn-dark:hover { background: #050C24; box-shadow: var(--shadow-md); }

.btn-violet {
  background: var(--c-violet);
  color: #fff;
}
.btn-violet:hover { background: var(--c-violet-2); box-shadow: 0 12px 30px rgba(91,75,255,.35); }

.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}
.btn-outline:hover { background: var(--c-navy); color: #fff; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn-outline-light:hover { background: #fff; color: var(--c-navy); }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1FB955;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
}

/* WhatsApp floating action button */
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(37, 211, 102, .4), 0 4px 12px rgba(0, 0, 0, .15);
  transition: transform .2s ease, box-shadow .2s ease;
  z-index: 100;
}
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-pulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(.95); opacity: .7; }
  100% { transform: scale(1.5); opacity: 0; }
}
.whatsapp-fab:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 40px rgba(37, 211, 102, .5), 0 6px 16px rgba(0, 0, 0, .2);
}
.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  display: block;
}
@media (max-width: 520px) {
  .whatsapp-fab {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-fab svg { width: 28px; height: 28px; }
}


/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,244,238,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(14,26,60,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--c-navy);
}
.logo-mark { display: block; flex-shrink: 0; }
.logo-text {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.logo-light { color: #fff; }

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}
.primary-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-navy);
  position: relative;
  padding: 6px 0;
}
.primary-nav a:hover { color: var(--c-violet); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-navy);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  transition: color .2s ease;
}
.header-phone:hover { color: var(--c-violet); }
.header-phone svg { color: var(--c-violet); }

.header-cta { flex-shrink: 0; }

@media (max-width: 1180px) {
  .header-phone span { display: none; }
  .header-phone {
    width: 38px;
    height: 38px;
    justify-content: center;
    border: 1px solid var(--c-border);
    border-radius: 50%;
  }
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
}

.mobile-nav {
  border-top: 1px solid var(--c-border);
  background: #fff;
}
.mobile-nav ul {
  padding: 18px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mobile-nav a {
  font-weight: 500;
  padding: 6px 0;
  display: block;
}

@media (max-width: 920px) {
  .primary-nav, .header-cta, .header-phone { display: none; }
  .nav-toggle { display: inline-flex; }
}


/* =============================================================
   HERO
   ============================================================= */
.hero {
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* soft radial backdrop */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(91,75,255,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 0%, rgba(91,75,255,.05), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 50px;
}

.hero-headline {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-top: 22px;
}
.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--c-muted);
  max-width: 560px;
}
.hero-sub strong { color: var(--c-text); font-weight: 600; }

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 26px;
  margin-top: 30px;
}
.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-benefits li > div { display: flex; flex-direction: column; }
.hero-benefits strong { font-weight: 600; font-size: 0.95rem; color: var(--c-navy); }
.hero-benefits span { font-size: 0.85rem; color: var(--c-muted); margin-top: 2px; }

.benefit-dot {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--c-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  box-shadow: 0 4px 12px rgba(91,75,255,.35);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ----- Hero visual / devices ----- */
.hero-visual {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Laptop --- */
.laptop {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.laptop-bezel {
  background: #0B1330;
  border-radius: 14px 14px 4px 4px;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.laptop-bezel::before {
  content: "";
  position: absolute;
  top: 6px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 4px;
  background: #1d2851;
  border-radius: 4px;
}
.laptop-screen {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  position: relative;
}
.laptop-hinge {
  height: 6px;
  background: linear-gradient(#252e51, #0b1330);
  margin: 0 auto;
  width: 96%;
  border-radius: 0 0 4px 4px;
}
.laptop-base {
  height: 12px;
  background: linear-gradient(#cdd3e2, #6b7295);
  width: 102%;
  margin: 0 auto;
  border-radius: 0 0 22px 22px;
  position: relative;
  left: -1%;
  box-shadow: 0 20px 40px rgba(14,26,60,.2);
}
.laptop-base::after {
  content: "";
  position: absolute;
  top: 0; left: 40%;
  width: 20%; height: 5px;
  background: #989fb9;
  border-radius: 0 0 8px 8px;
}

/* Template preview inside laptop (BauPilot-Stil) */
.tpl {
  font-family: var(--font);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tpl-bau {
  background: #0E1A3C;
  color: #fff;
}
.tpl-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.tpl-brand {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #fff;
}
.tpl-links {
  display: flex;
  gap: 12px;
  margin-left: auto;
}
.tpl-links span {
  font-size: 7px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.tpl-action {
  font-size: 7px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 4px;
  background: #F26A1F;
  color: #fff;
  white-space: nowrap;
}
.tpl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  flex: 1;
  min-height: 0;
}
.tpl-copy {
  display: flex;
  flex-direction: column;
}
.tpl-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  color: #fff;
}
.tpl-lead {
  margin: 6px 0 0;
  font-size: 6.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
  font-weight: 400;
}
.tpl-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.tpl-checks span {
  font-size: 6.5px;
  color: #F26A1F;
  font-weight: 600;
}
.tpl-cta-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}
.tpl-btn {
  font-size: 6.5px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.tpl-btn.outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.tpl-btn.primary {
  background: #F26A1F;
  color: #fff;
}
.tpl-art {
  border-radius: 6px;
  overflow: hidden;
  background: #1a2754;
}
.tpl-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 8px 14px 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.tpl-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 7px 4px;
  background: rgba(255,255,255,0.04);
  border-radius: 5px;
  color: rgba(255,255,255,0.85);
}
.tpl-tile span {
  font-size: 6.5px;
  font-weight: 600;
}

/* --- Phone --- */
.phone {
  position: absolute;
  left: -10px;
  bottom: -28px;
  width: 150px;
  z-index: 2;
}
.phone-frame {
  background: #0B1330;
  border-radius: 22px;
  padding: 8px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.05) inset;
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 8px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  background: #fff;
  border-radius: 16px;
  aspect-ratio: 9 / 18.5;
  overflow: hidden;
  padding: 18px 10px 10px;
}
/* Template preview inside phone (AquaMeister-Stil) */
.tpl-aqua {
  background: linear-gradient(180deg, #ffffff 0%, #E6F4F1 100%);
  color: var(--c-navy);
  padding: 0 4px;
}
.tpl-m-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 6px;
  border-bottom: 1px solid rgba(20,163,139,0.18);
}
.tpl-m-brand {
  font-size: 8.5px;
  font-weight: 800;
  color: var(--c-aqua);
  letter-spacing: -0.01em;
}
.tpl-m-burger {
  width: 12px;
  height: 9px;
  background:
    linear-gradient(var(--c-aqua) 0 0) center/100% 1.5px no-repeat,
    linear-gradient(var(--c-aqua) 0 0) top/100% 1.5px no-repeat,
    linear-gradient(var(--c-aqua) 0 0) bottom/100% 1.5px no-repeat;
}
.tpl-m-hero {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 0 6px;
  flex: 1;
  min-height: 0;
}
.tpl-m-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1;
  letter-spacing: -0.015em;
}
.tpl-m-title.accent {
  color: var(--c-aqua);
}
.tpl-m-lead {
  font-size: 5.5px;
  color: var(--c-muted);
  margin: 5px 0 0;
  line-height: 1.4;
  font-weight: 400;
}
.tpl-m-checks {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 4px;
}
.tpl-m-checks span {
  font-size: 5.5px;
  color: var(--c-aqua);
  font-weight: 600;
}
.tpl-m-cta {
  align-self: flex-start;
  font-size: 6.5px;
  font-weight: 700;
  color: #fff;
  background: var(--c-aqua);
  padding: 5px 10px;
  border-radius: 999px;
  margin-top: 6px;
}
.tpl-m-phone {
  font-size: 6px;
  color: var(--c-navy);
  font-weight: 700;
  margin-top: 3px;
}
.tpl-m-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  margin-top: auto;
  padding-bottom: 2px;
}
.tpl-m-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 5px 3px;
  background: rgba(20,163,139,0.10);
  border-radius: 4px;
  color: var(--c-navy);
}
.tpl-m-tile span {
  font-size: 5.5px;
  font-weight: 600;
}


/* =============================================================
   TRUST ROW
   ============================================================= */
.trust-row {
  text-align: center;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(14,26,60,.08);
}
.trust-text {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 24px;
  font-weight: 500;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
}
.trust-logos li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--c-navy);
  opacity: 0.85;
  transition: opacity .2s ease;
}
.trust-logos li:hover { opacity: 1; }
.trust-logos li svg { margin-bottom: 4px; }
.trust-logos li span {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.trust-logos li strong { font-weight: 800; }
.trust-logos li small { font-size: 0.7rem; color: var(--c-muted); }

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    min-height: 0;
    justify-content: center;
  }
  .laptop {
    max-width: 480px;
    margin: 0 auto;          /* zentriert statt rechts */
  }
  .hero-benefits { grid-template-columns: 1fr; gap: 14px; }
  .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 640px) {
  .phone { display: none; }  /* Handy-Overlay raus — überlagert sonst den Laptop */
}
@media (max-width: 520px) {
  .hero { padding-top: 28px; padding-bottom: 0; }
  .hero-grid { gap: 30px; padding-bottom: 30px; }
  .hero-headline { font-size: clamp(2rem, 9vw, 2.6rem); }
  .hero-sub { font-size: 1rem; }
  .hero-ctas {
    flex-direction: column;
    gap: 10px;
  }
  .hero-ctas .btn {
    width: 100%;
    flex: none;
  }
  .laptop { max-width: 100%; }
  .trust-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }
  .trust-row { padding-top: 22px; margin-top: 22px; }
}


/* =============================================================
   TEMPLATE PREVIEWS
   ============================================================= */
.templates {
  padding: 90px 0;
  background: var(--c-bg-2);
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.template-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.template-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.template-tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  color: #fff;
}
.tag-aqua { background: var(--c-aqua); }
.tag-bau  { background: var(--c-orange); }
.tag-raum { background: var(--c-beige); color: #6B5A2A; }
.tag-fix  { background: var(--c-red); }

.template-preview {
  border-radius: 12px;
  padding: 14px;
  aspect-ratio: 4 / 3.4;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0;
  overflow: hidden;
}
.preview-aqua { background: linear-gradient(180deg, #fff 0%, #E6F4F1 100%); border: 1px solid #d8e9e4; }
.preview-bau  { background: linear-gradient(180deg, #0E1A3C 0%, #0A1430 100%); }
.preview-raum { background: linear-gradient(180deg, #faf6ee 0%, #efe7d5 100%); border: 1px solid #e5dcc4; }
.preview-fix  { background: linear-gradient(180deg, #0B0B0F 0%, #1a1a22 100%); }

.t-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(14,26,60,.08);
}
.t-nav.dark { border-bottom-color: rgba(255,255,255,.1); }
.t-logo {
  font-size: 9px;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.t-logo.light { color: #fff; }
.t-links { flex: 1; height: 4px; background: rgba(14,26,60,.15); border-radius: 2px; }
.t-links.light { background: rgba(255,255,255,.18); }
.t-btn {
  width: 36px; height: 14px;
  border-radius: 999px;
  background: var(--c-navy);
}
.t-btn.aqua   { background: var(--c-aqua); }
.t-btn.orange { background: var(--c-orange); }
.t-btn.raum   { background: var(--c-navy); }
.t-btn.red    { background: var(--c-red); }

.t-hero { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.t-hero .t-h {
  font-size: 13px;
  font-weight: 800;
  color: var(--c-navy);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.t-hero.light .t-h { color: #fff; }
.t-p { height: 4px; background: rgba(14,26,60,.2); border-radius: 2px; width: 80%; margin-top: 6px; }
.t-p.short { width: 55%; }
.t-p.light { background: rgba(255,255,255,.25); }
.t-bullets { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; }
.t-bullets span { height: 3px; background: rgba(14,26,60,.18); border-radius: 2px; width: 70%; }
.t-bullets.light span { background: rgba(255,255,255,.22); }
.t-bullets span:nth-child(2) { width: 60%; }
.t-bullets span:nth-child(3) { width: 75%; }

.t-cta {
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
}
.t-cta.aqua   { background: var(--c-aqua); }
.t-cta.orange { background: var(--c-orange); }
.t-cta.raum   { background: var(--c-navy); }
.t-cta.red    { background: var(--c-red); }
.t-cta-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.t-phone {
  font-size: 9px; font-weight: 700; color: #fff;
}

.t-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(14,26,60,.08);
}
.t-services.dark { border-top-color: rgba(255,255,255,.1); }
.t-services span {
  aspect-ratio: 1;
  background: rgba(14,26,60,.06);
  border-radius: 4px;
}
.t-services.dark span { background: rgba(255,255,255,.08); }

.template-meta {
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.4;
}

.template-foot {
  margin-top: 40px;
  text-align: center;
  color: var(--c-muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .template-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .template-grid { grid-template-columns: 1fr; }
}


/* =============================================================
   PACKAGES + WHY
   ============================================================= */
.packages-section {
  background: var(--c-navy-deep);
  color: #fff;
  padding: 90px 0 100px;
  position: relative;
}
.packages-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 20% 0%, rgba(91,75,255,.18), transparent 60%);
  pointer-events: none;
}

.packages-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 36px;
  align-items: start;
}

.packages-headline {
  color: #fff;
  margin-top: 14px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.price-card {
  background: #122149;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 26px 22px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  color: #fff;
}
.price-card.featured {
  background: #fff;
  color: var(--c-text);
  box-shadow: 0 30px 60px rgba(91,75,255,.25);
  transform: translateY(-6px);
  border-color: transparent;
}
.price-card .badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--c-violet);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(91,75,255,.5);
}
.price-card-head { margin-bottom: 18px; }
.price-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-bottom: 8px;
}
.price-card.featured .price-tag { color: var(--c-muted); }
.price-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: inherit;
  margin-bottom: 14px;
}
.price {
  font-size: 0.95rem;
  color: rgba(255,255,255,.7);
}
.price-card.featured .price { color: var(--c-muted); }
.price strong {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--c-violet);
  letter-spacing: -0.02em;
}
.price-card.featured .price strong { color: var(--c-violet); }
.price span { font-size: 0.85rem; }

.price-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 22px;
  flex: 1;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,.85);
}
.price-card.featured .price-features li { color: var(--c-text); }
.price-features svg {
  flex-shrink: 0;
  margin-top: 4px;
}

.price-foot {
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.55);
}

/* --- Why card --- */
.why-card {
  background: #fff;
  color: var(--c-text);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}
.why-headline {
  font-size: 1.6rem;
  margin-top: 12px;
  margin-bottom: 22px;
  line-height: 1.2;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 22px;
}
.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.why-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--c-violet-soft);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.why-list strong { font-weight: 600; font-size: 0.98rem; }
.why-list p { font-size: 0.88rem; color: var(--c-muted); margin-top: 2px; }

.why-quote {
  font-size: 0.92rem;
  color: var(--c-muted);
  border-left: 3px solid var(--c-violet);
  padding-left: 14px;
  margin: 0 0 22px;
  font-style: italic;
  line-height: 1.55;
}

@media (max-width: 1040px) {
  .packages-grid { grid-template-columns: 1fr; }
  .why-card { position: static; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}


/* =============================================================
   PROCESS
   ============================================================= */
.process {
  background: var(--c-bg);
  padding: 90px 0 100px;
}
.process-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 40px;
}

.process-steps {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}
.process-steps > li:not(.step-arrow) {
  flex: 1 1 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.step-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.step-num {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-navy);
}
.process-steps p {
  font-size: 0.92rem;
  color: var(--c-muted);
  line-height: 1.5;
}
.step-arrow {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

@media (max-width: 1040px) {
  .process-steps { flex-wrap: wrap; gap: 14px; }
  .step-arrow { display: none; }
  .process-steps > li:not(.step-arrow) { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 560px) {
  .process-steps > li:not(.step-arrow) { flex: 1 1 100%; }
}


/* =============================================================
   CONTACT FORM
   ============================================================= */
.contact-section {
  background: var(--c-bg);
  padding: 90px 0 100px;
  position: relative;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 95% 5%, rgba(91,75,255,.08), transparent 60%);
  pointer-events: none;
}
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  align-items: start;
}
.contact-intro h2 {
  margin-top: 14px;
}
.contact-intro .lede {
  margin-top: 14px;
  color: var(--c-muted);
  font-size: 1.05rem;
}
.contact-points {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--c-violet-soft);
  color: var(--c-violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-points strong {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--c-navy);
}
.contact-points span {
  font-size: 0.88rem;
  color: var(--c-muted);
}
.contact-points a {
  color: var(--c-violet);
  font-weight: 500;
}
.contact-points a:hover { text-decoration: underline; }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border-2);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-navy);
}
.form-field label span[aria-hidden="true"] {
  color: var(--c-violet);
  margin-left: 2px;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--c-text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #9aa1b1;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-violet);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(91, 75, 255, 0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1A3C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}

.form-consent { margin-top: 4px; }
.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--c-muted);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--c-violet);
}
.checkbox-label a {
  color: var(--c-violet);
}
.checkbox-label a:hover { text-decoration: underline; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  visibility: hidden !important;
}

.form-captcha {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}
.form-captcha .cf-turnstile {
  min-height: 65px;
}

.form-status {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}
.form-status.loading {
  display: block;
  background: var(--c-violet-soft);
  color: var(--c-violet-2);
}
.form-status.success {
  display: block;
  background: rgba(24, 184, 134, 0.12);
  color: #0F8A60;
  font-weight: 600;
}
.form-status.error {
  display: block;
  background: rgba(225, 29, 46, 0.10);
  color: #C01428;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-form { padding: 28px 22px; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}


/* =============================================================
   FINAL CTA
   ============================================================= */
.final-cta {
  background: linear-gradient(135deg, #0E1A3C 0%, #1A1A5E 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 300px at 20% 50%, rgba(91,75,255,.25), transparent 60%),
    radial-gradient(500px 300px at 90% 50%, rgba(91,75,255,.18), transparent 60%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}
.final-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
}
.final-cta p {
  margin-top: 12px;
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
}
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 800px) {
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-actions { flex-direction: row; flex-wrap: wrap; }
}


/* =============================================================
   FOOTER
   ============================================================= */
.site-footer {
  background: #0A1430;
  color: #cfd4e3;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  color: rgba(255,255,255,.6);
  max-width: 320px;
  line-height: 1.6;
}
.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a {
  font-size: 0.92rem;
  color: rgba(255,255,255,.65);
  transition: color .2s ease;
}
.site-footer a:hover { color: #fff; }

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}


/* =============================================================
   MOBILE FINE-TUNING (Tablet & Phone)
   ============================================================= */

/* --- Hero device mockup: skalieren, statt fixe Pixel zu zerquetschen --- */
.laptop-screen { container-type: inline-size; container-name: laptop; }

@container laptop (max-width: 460px) {
  .tpl-bau .tpl-title { font-size: 14px; }
  .tpl-bau .tpl-lead { font-size: 5.5px; }
  .tpl-bau .tpl-checks span,
  .tpl-bau .tpl-btn,
  .tpl-bau .tpl-tile span { font-size: 5.5px; }
  .tpl-bau .tpl-action { font-size: 6px; padding: 4px 7px; }
}
@container laptop (max-width: 360px) {
  .tpl-bau .tpl-hero { grid-template-columns: 1.2fr 1fr; gap: 8px; padding: 10px; }
  .tpl-bau .tpl-title { font-size: 11px; }
  .tpl-bau .tpl-grid { padding: 6px 10px 8px; }
  .tpl-bau .tpl-links { display: none; }
}

.phone-screen { container-type: inline-size; container-name: phonebox; }
@container phonebox (max-width: 130px) {
  .tpl-aqua .tpl-m-title { font-size: 11px; }
  .tpl-aqua .tpl-m-brand { font-size: 7px; }
  .tpl-aqua .tpl-m-lead { font-size: 5px; }
}

/* --- Final CTA Buttons: bei sehr schmal vertikal statt horizontal --- */
@media (max-width: 520px) {
  .final-cta { padding: 56px 0; }
  .final-cta-actions {
    flex-direction: column !important;
    align-items: stretch;
    gap: 10px;
  }
  .final-cta-actions .btn { width: 100%; }
}

/* --- Hero CTAs: schon ab Tablet etwas kompakter, damit nichts überläuft --- */
@media (max-width: 680px) {
  .hero-ctas .btn { white-space: normal; }
  .btn { white-space: normal; }
}

/* --- Trust-Row: Mobile horizontal scrollbar als bessere Lösung --- */
@media (max-width: 520px) {
  .trust-row { padding-top: 24px; }
  .trust-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
  }
  .trust-logos li small { font-size: 0.65rem; }
  .trust-logos li span { font-size: 0.85rem; }
}

/* --- Kontaktformular früher 1-spaltig, sonst zu eng zwischen 560–900px --- */
@media (max-width: 720px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
}

/* --- Pakete Mobile: zentriert, natürliche Reihenfolge 1 → 2 → 3,
       Paket 2 (Beliebteste) visuell stärker hervorgehoben statt nach oben gezogen --- */
@media (max-width: 1040px) {
  .pricing-grid {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Featured-Karte: dezenter violetter Rahmen + intensiverer Schatten */
  .price-card.featured {
    box-shadow:
      0 0 0 2px var(--c-violet),
      0 30px 60px rgba(91, 75, 255, 0.35);
  }
  .price-card.featured .badge {
    /* Badge etwas größer + Pulse für Aufmerksamkeit */
    font-size: 0.78rem;
    padding: 8px 16px;
    animation: badge-pulse 3s ease-in-out infinite;
  }
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(91, 75, 255, 0.5); }
  50%       { box-shadow: 0 8px 28px rgba(91, 75, 255, 0.85); }
}

/* --- Touch-Targets ≥44px (Apple HIG) --- */
@media (hover: none) and (pointer: coarse) {
  .primary-nav a,
  .mobile-nav a,
  .site-footer a,
  .footer-base a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .btn { min-height: 48px; }
}

/* --- Header auf Mobile etwas niedriger, gibt mehr Platz --- */
@media (max-width: 520px) {
  .header-inner { height: 64px; gap: 12px; }
  .logo-text { font-size: 1.05rem; }
}

/* --- Process-Cards bei 2-Spalten gleich hoch + besseres Spacing --- */
@media (max-width: 1040px) and (min-width: 561px) {
  .process-steps { gap: 16px; }
  .process-steps > li:not(.step-arrow) { padding: 20px 18px; }
}

/* --- WhatsApp FAB nicht über CTA-Buttons im Final-CTA legen --- */
@media (max-width: 520px) {
  .final-cta { padding-bottom: 90px; } /* gibt FAB-Abstand */
}

/* --- Hero-Spacing auf sehr kleinen Screens --- */
@media (max-width: 380px) {
  .hero-headline { font-size: clamp(1.75rem, 9.5vw, 2.3rem); }
  .hero-sub { font-size: 0.95rem; }
  .eyebrow { font-size: 0.7rem; padding: 5px 12px; }
}

/* --- Footer: Mobile 1-spaltig mit besserer Lesbarkeit --- */
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 22px; padding-bottom: 28px; }
  .footer-base { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-base p:last-child { opacity: 0.7; }
}


/* =============================================================
   UTILS
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
