
/* ===============================
   GLOBAL SETTINGS
================================ */

:root{
  --primary:#7C3AED;
  --primary-hover:#6D28D9;
  --secondary:#d8b4fe;

  --bg:#ffffff;
  --text:#222;
  --card:#f5f5f5;

  --border:#e5e5e5;
}

.dark{
  --bg:#0f0f0f;
  --text:#f2f2f2;
  --card:#1c1c1c;

  --border:#2a2a2a;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Inter',sans-serif;
background:var(--bg);
color:var(--text);
line-height:1.6;
transition:0.3s;
min-height: 100vh;
display: flex;
flex-direction: column;
}

main {
  flex: 1;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* ===============================
   HEADER
================================ */
header {
  background: var(--bg);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
  padding: 0px 20px;
}

header .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  position: fixed;
  top: 10px;
  left: 20px;
  z-index: 1200;
}

.logo a {
  text-decoration: none;
  color: var(--primary);
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 22px;
}

.nav-desktop a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: 0.3s;
}

.nav-desktop a:hover {
  color: var(--primary);
}

.nav-desktop a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* ===============================
   MENU BUTTON
================================ */
.menu-button {
  position: fixed;
  top: 4px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-button img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s;
}

.menu-button img:hover {
  transform: scale(1.1);
}

/* =========================
DROPDOWN MENU
========================= */

.menu-right {
  position: absolute;
  top: 0px;
  right: 20px;
  z-index: 1001;
}

.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.menu-button img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: transform 0.2s;
}

.menu-button img:hover {
  transform: scale(1.1);
}

.menu-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  width: 220px;
  background: var(--card);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  pointer-events: none;
}

.menu-dropdown.active {
  max-height: 500px;
  opacity: 1;
  pointer-events: auto;
}

.menu-dropdown .dropdown-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-dropdown select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  color: #222;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
}

.menu-dropdown select:focus {
  outline: 2px solid var(--primary);
}

.menu-dropdown button#themeToggle {
  padding: 8px 10px;
  border-radius: 6px;
  border: none;
  background: var(--primary);
  color: white;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.menu-dropdown button#themeToggle:hover {
  background: var(--primary-hover);
}

#themeToggle {
    width: 50px;
    height: 50px;
    display: inline-block;
}

.menu-dropdown .dropdown-separator {
  border: none;
  border-top: 1px solid #ccc;
  margin: 5px 0;
}

.menu-dropdown .dropdown-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-dropdown .dropdown-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 6px 8px;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: border 0.2s, background 0.2s;
}

.menu-dropdown .dropdown-nav a:hover {
  border: 2px solid var(--secondary);
  background: transparent;
  color: var(--text);
}

.menu-dropdown .dropdown-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-dropdown .dropdown-top select,
.menu-dropdown .dropdown-top button#themeToggle {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 2px solid var(--secondary);
  background: transparent;
  color: var(--black);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  box-sizing: border-box;
  appearance: none;
}

.menu-dropdown .dropdown-top select:focus,
.menu-dropdown .dropdown-top button#themeToggle:focus {
  outline: 2px solid var(--primary);
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 768px) {
  .menu-dropdown {
    width: 180px;
  }

  .menu-dropdown select,
  .menu-dropdown button#themeToggle {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* ===============================
   MOBILE NAVIGATION
================================ */

.nav-mobile{
display:none;
flex-direction:column;
background:var(--bg);
padding:15px 20px;
}

.nav-mobile a{
padding:0px 0;
text-decoration:none;
color:var(--text);
border-bottom:1px solid #ccc;
}

.nav-desktop {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 25px;
  align-items: center;
}

.hamburger{
display:block;
}

.nav-mobile.active{
display:flex;
}

@media (max-width: 1100px){
  .nav-desktop {
    display: none;
  }
}

/* ===============================
   HERO SECTION
================================ */

.hero {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 1;
}

#cta {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}

#cta:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.hero h1 {
  font-size: 44px;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.7);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }
}

.hero-glow{
  position: relative;
  width: 100%;
  height: 40px;
  margin-top: -20px;
  pointer-events: none;
  background: linear-gradient(
    to bottom, /* Gradient nach oben */
    rgba(124, 58, 237, 0.2),
    rgba(124, 58, 237, 0.05),
    transparent
  );
}

.hero-glow-bottom {
  position: relative;
  width: 100%;
  height: 40px; /* Höhe des Glows */
  margin-top: -20px; /* optional, damit er direkt an der Hero-Section anliegt */
  pointer-events: none;
  background: linear-gradient(
    to top, /* Gradient nach oben */
    rgba(124, 58, 237, 0.2),
    rgba(124, 58, 237, 0.05),
    transparent
  );
}

/* ===============================
   GENERAL SECTIONS
================================ */

section{
padding:40px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-family: 'Montserrat';
  font-size: 32px;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

/* =========================
INFO SECTION TEXT
========================= */
.intro-text h3 {
  text-align: center;
  font-size: 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
}

.intro-text p {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.intro-grid img {
  width: 100%;
  object-fit: cover;
}

.intro-grid.reverse img,
.intro-grid.reverse:nth-of-type(3) img {
  box-shadow: 0px 0px 10px black;
}

.intro-grid img.no-shadow {
  box-shadow: none;
}

.intro-grid img,
.intro-text {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.intro-grid img.visible,
.intro-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.intro-grid img.from-top,
.intro-text.from-top {
  opacity: 0;
  transform: translateY(-50px);
}

.intro-grid.reverse {
  direction: rtl;
}

.intro-grid.reverse img {
  direction: ltr;
}

/* ===============================
   INTRO SECTION
================================ */

.intro-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
align-items:center;
}

.intro-grid img{
width:100%;
border-radius:12px;
}

.intro-text h2{
font-family:'Montserrat';
margin-bottom:15px;
}

@media(max-width:768px){

.intro-grid{
grid-template-columns:1fr;
}

}

/* ===============================
GRID LAYOUT
================================ */
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

@media (max-width: 768px) {
  .package-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===============================
CARD BASE & TYPOGRAPHY
================================ */
.package-card {
  background: var(--bg);
  padding: 30px;
  border-radius: 12px;
  overflow: visible; /* statt hidden */
  text-align: center;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

body.dark .package-card {
  box-shadow: 0 0 12px rgba(128,0,128,0.4);
}

.package-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.price {
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* ===============================
HOVER EFFECT
================================ */
.package-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

body.dark .package-card:hover {
  box-shadow: 0 20px 40px rgba(180,0,255,0.6);
}

/* ===============================
PREMIUM BADGE
================================ */
.package-card.premium {
  border: 2px solid rgba(180,0,255,0.6);
  transform: scale(1.03);
}

.package-card.premium:hover {
  transform: translateY(-10px) scale(1.05);
}

.package-card.premium::before {
  content: "Premium";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, purple, violet);
  color: white;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ===============================
FEATURE LIST
================================ */
.features {
  list-style: disc;
  text-align: left;
  padding-left: 20px;
  max-height: 110px;
  overflow: hidden;
  transition: max-height 1s ease;
  border-radius: 0 0 12px 12px;
  position: relative;
}

.package-card.open .features {
  max-height: 500px;
}

.features li {
  margin-bottom: 10px;
}

/* ===============================
FADE DER 3. ZEILE
================================ */
.features li:nth-child(3) {
  position: relative;
}

.features li:nth-child(3)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, var(--bg) 100%);
  transition: opacity 0.35s ease;
}

body.dark .features li:nth-child(3)::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, var(--bg) 100%);
}

.features li:nth-child(3).fade-hidden::after {
  opacity: 0;
}

/* ===============================
TOGGLE BUTTON
================================ */
.toggle-btn {
  margin-top: 15px;
  font-size: 14px;
  color: gray;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.toggle-btn::after {
  content: "→";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.package-card.open .toggle-btn::after {
  transform: rotate(-180deg);
}

.toggle-btn:hover {
  color: var(--primary-hover);
}

/* ===============================
BADGE
================================ */
.badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, purple, violet);
  color: white;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ===============================
COMPARE BUTTON
================================ */
.compare-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.compareBtn {
  padding: 10px 23px;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  border-radius: 50px;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg), var(--bg)), linear-gradient(90deg, purple, violet);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  cursor: pointer;
  transition: all 0.35s ease;
  display: inline-block;
  text-decoration: none;
}

.compareBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(180,0,255,0.4);
}

/* ===============================
EXTRAS GRID
================================ */
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

.extra-card {
  background: var(--bg);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.extra-card:hover {
  transform: translateY(-5px);
}

.extra-card h3 {
  margin-bottom: 10px;
}

.extra-card .price {
  margin-bottom: 15px;
  font-weight: bold;
}

/* ===============================
PACKAGE NOTE
================================ */
.package-note {
  margin-top: 15px;
  font-size: 14px;
  opacity: 0.7;
}

/* ===============================
CARD ANIMATION STATES
================================ */
.package-card {
  opacity: 0;
  transform: translateY(40px) scale(1);
  transition: all 0.6s ease;
}

.package-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.package-card.premium {
  transform: translateY(40px) scale(1.03);
}

.package-card.premium.visible {
  transform: translateY(0) scale(1.03);
}

/* ===============================
   FORM
================================ */
.contact-form{
max-width:500px;
margin:auto;
display:flex;
flex-direction:column;
gap:12px;
}

input,textarea,select{
padding:10px;
border-radius:6px;
border:1px solid #ccc;
font-size:14px;
}

/* ===============================
   FOOTER CTA
================================ */
.footer-cta {
  position: relative;
  text-align: center;
  padding: 60px 20px 30px; /* normales Padding unten */
  overflow: hidden; /* wichtig, damit der Glow nicht rausläuft */
}

/* Typewriter Text */
#ctaText {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text);
}

/* Cursor */
#ctaText::after {
  content: "|";
  margin-left: 6px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Button (nutzt dein bestehendes System) */
.footer-cta .btn {
  margin-top: 10px;
}

/* Optional: minimal softer als Hero */
.footer-cta .btn:hover {
  transform: scale(1.04);
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: #111;
  color: white;
  padding: 20px 0;
  border-top: 1px solid var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto; /* zusätzliche Spalte für Button */
  gap: 20px;
  align-items: start;
}

.footer-brand h3 {
  margin: 0 0 5px 0;
}

.footer-links a,
.footer-legal a {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  margin: 3px 0;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: white;
}

.footer-top-btn {
  display: flex;
  justify-content: flex-end;
}

#backToTop {
  background: #111;
  color: white;
  border: 1px solid var(--primary);
  padding: 6px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  position: relative;
  overflow: hidden;
}

/* Linie unten, mittig und dünn */
#backToTop::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: 3px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

#backToTop:hover::after {
  width: 70%;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  font-size: 0.8rem;
}

/* ===============================
   Responsive Anpassungen
================================ */
@media (max-width: 768px) {
  .footer-grid {
    display: grid; /* bleibt Grid */
    grid-template-columns: 1fr; /* alles untereinander */
    gap: 15px;
    text-align: center;
    justify-items: center; /* Button mittig */
  }

  .footer-links,
  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .footer-top-btn {
    justify-self: center; /* Button zentrieren */
  }

  .footer-brand {
    margin-bottom: 10px;
  }
}

/* =============================================================================================
   examples-html
============================================================================================== */
/* ===============================
SECTION FEATURES
=============================== */

.section-features {
  padding: 40px 20px;
}

/* HEADER */
.features-header {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  top: auto;
  z-index: auto;
}

/* STACK CONTAINER */
.stack-features {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 40px;
}

.index .stack-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARDS */
.feature-card {
  position: relative;
  display: block;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(24, 24, 31, 0.08);
  color: var(--text);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

body.dark .feature-card {
  background: rgba(15, 23, 42, 0.72);
}

.feature-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.feature-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(24, 24, 31, 0.08);
  border-radius: 20px;
  background: #f4f1fb;
  overflow: hidden;
}

.feature-card img,
.feature-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card iframe {
  border: 0;
  pointer-events: none;
  transform: scale(0.74);
  transform-origin: top left;
  width: 135%;
  height: 135%;
  background: white;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.28s ease;
}

/* Abstand im Stack */
.feature-card:nth-child(2) {
  top: 40px;
}

.feature-card:nth-child(3) {
  top: 80px;
}

.index .feature-card:nth-child(2),
.index .feature-card:nth-child(3) {
  top: 0;
}

/* SCROLL SPACE */
.features-spacer {
  height: 0px;
}

.feature-text {
  padding: 20px 6px 4px;
}

.feature-text h3 {
  margin: 0 0 6px 0;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.feature-text span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-text p {
  min-height: 48px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}

.feature-text strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.24s ease, transform 0.24s ease, color 0.24s ease;
}

.feature-text strong::after {
  content: "→";
  color: var(--primary);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 58, 237, 0.26);
  box-shadow: 0 28px 70px rgba(124, 58, 237, 0.13);
}

.feature-card:hover::before {
  border-color: rgba(124, 58, 237, 0.32);
}

.feature-card:hover iframe {
  transform: scale(0.755);
  filter: brightness(1.015);
}

.feature-card:hover .feature-text strong {
  opacity: 1;
  transform: translateY(0);
  color: var(--primary);
}

.examples-button {
  margin-top: 150px;
  display: flex;
  justify-content: center;
}

.layout-toggle {
  position: absolute;
  right: 20px;                 /* Abstand vom Rand */
  top: 30%;
  transform: translateY(-50%);
  width: 40px;                  /* quadratisch */
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary); /* Umrandung in Primärfarbe */
  border-radius: 8px;
  padding: 2px;
}

.layout-toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-features.mode-grid-2 .stack-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.section-features.mode-grid-3 .stack-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.section-features.mode-grid-2 .feature-card,
.section-features.mode-grid-3 .feature-card {
  top: auto !important;
  transform: none !important;
}

.section-features.mode-grid-2 .feature-card:hover,
.section-features.mode-grid-3 .feature-card:hover {
  transform: translateY(-8px) !important;
}

.section-features.mode-grid-2 .feature-card,
.section-features.mode-grid-3 .feature-card {
  aspect-ratio: auto;
  display: flex;
  min-height: 0;
  padding: 0;
  background: var(--surface-strong);
}

.section-features.mode-grid-2 .feature-inner,
.section-features.mode-grid-3 .feature-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.section-features.mode-grid-2 .website-frame,
.section-features.mode-grid-3 .website-frame {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  inset: 0 0 auto 0;
  flex: none;
  z-index: 3;
}

.section-features.mode-grid-2 .feature-card iframe,
.section-features.mode-grid-3 .feature-card iframe {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  flex: 0 0 auto;
  width: 100%;
  height: 300px;
  transform: none;
  transform-origin: center;
}

.section-features.mode-grid-3 .feature-card iframe {
  height: 230px;
}

.section-features.mode-grid-2 .feature-card:hover iframe,
.section-features.mode-grid-3 .feature-card:hover iframe {
  transform: none;
  filter: brightness(1.015);
}

.section-features.mode-grid-2 .feature-card::after,
.section-features.mode-grid-3 .feature-card::after {
  display: none;
}

.section-features.mode-grid-2 .feature-text,
.section-features.mode-grid-3 .feature-text {
  position: relative;
  inset: auto;
  width: 100%;
  padding: 18px 20px 20px;
  border: 0;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  box-shadow: none;
  backdrop-filter: none;
}

.section-features.mode-grid-2 .feature-text h3,
.section-features.mode-grid-3 .feature-text h3 {
  color: var(--accent);
  font-size: 1.25rem;
}

.section-features.mode-grid-2 .feature-text p,
.section-features.mode-grid-3 .feature-text p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* =============================================================================================
   about-html
============================================================================================== */
.about-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--bg);
}

#about.section-title{
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Montserrat';
  font-size: 32px;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.about-hero {
  text-align: center;
  margin-bottom: 0px;
}

.about-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.about-block {
  margin-bottom: 50px;
}

.about-block h2 {
  margin-bottom: 15px;
}

.about-list,
.about-steps {
  padding-left: 20px;
  line-height: 1.6;
}

.contact-block {
  margin-top: 0px;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.contact-form button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  opacity: 0.9;
}

.contact-info {
  margin-top: 20px;
  font-size: 0.9rem;
}

.about-hero p:first-of-type {
  font-size: 1.4rem;
  font-weight: 600;
}

.about-hero p:last-of-type {
  font-size: 1.2rem;
  opacity: 0.85;
}

/* =============================================================================================
   PREMIUM VISUAL REFRESH
============================================================================================== */
:root {
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --secondary: #ede9fe;
  --accent: #18181f;
  --bg: #f7f6fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --text: #101828;
  --muted: #667085;
  --card: rgba(255, 255, 255, 0.72);
  --border: rgba(24, 24, 31, 0.09);
  --shadow-soft: 0 24px 70px rgba(24, 24, 31, 0.10);
  --shadow-card: 0 18px 45px rgba(24, 24, 31, 0.08);
  --radius-lg: 34px;
  --radius-md: 24px;
}

.dark {
  --primary: #a78bfa;
  --primary-hover: #c4b5fd;
  --secondary: #312e81;
  --accent: #f8fafc;
  --bg: #070a12;
  --surface: rgba(15, 23, 42, 0.78);
  --surface-strong: #101827;
  --text: #f8fafc;
  --muted: #a8b3c7;
  --card: rgba(15, 23, 42, 0.74);
  --border: rgba(255, 255, 255, 0.11);
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.28);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 58, 237, 0.10), transparent 32rem),
    radial-gradient(circle at 88% 14%, rgba(237, 233, 254, 0.72), transparent 30rem),
    linear-gradient(180deg, #fbfafc 0%, var(--bg) 46%, #f0eef7 100%);
  color: var(--text);
  letter-spacing: -0.015em;
}

body.dark {
  background:
    radial-gradient(circle at 16% 10%, rgba(167, 139, 250, 0.16), transparent 32rem),
    radial-gradient(circle at 84% 20%, rgba(124, 58, 237, 0.10), transparent 30rem),
    linear-gradient(180deg, #070a12 0%, #0b1020 100%);
}

.container {
  width: min(92%, 1180px);
}

body > header {
  width: min(92%, 1180px);
  height: 72px;
  margin: 18px auto 0;
  padding: 0 20px;
  top: 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(22px);
}

body.dark > header {
  background: rgba(15, 23, 42, 0.70);
}

body > header .container {
  width: 100%;
}

.logo {
  position: static;
}

.logo a {
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.logo a::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  box-shadow: 0 0 22px rgba(124, 58, 237, 0.32);
}

.nav-desktop {
  gap: 8px;
}

.nav-desktop a {
  margin-left: 0;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav-desktop a:hover {
  background: rgba(124, 58, 237, 0.08);
  color: var(--primary);
}

.nav-desktop a::after {
  display: none;
}

.menu-right {
  position: relative;
}

.menu-button {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.menu-button img {
  width: 25px;
  height: 25px;
}

.menu-dropdown {
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  align-items: center;
  padding: 0 0 86px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 2% 4% auto;
  height: 86%;
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.38)),
    radial-gradient(circle at 70% 18%, rgba(237, 233, 254, 0.62), transparent 26rem);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  z-index: -2;
}

body.dark .hero::before {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.36)),
    radial-gradient(circle at 72% 18%, rgba(167, 139, 250, 0.14), transparent 28rem);
  border-color: var(--border);
}

.hero .container {
  max-width: 900px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.hero-mark {
  display: block;
  width: min(780px, 92vw);
  height: auto;
  margin: -56px auto 16px;
  border-radius: 28px;
  filter: drop-shadow(0 18px 34px rgba(24, 24, 31, 0.12));
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.92;
  color: var(--accent);
  text-shadow: none;
  letter-spacing: -0.07em;
}

#heroText {
  max-width: 660px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

#cta,
.btn-secondary,
.compareBtn,
.contact-form button {
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#cta {
  padding: 15px 26px;
  background: linear-gradient(135deg, var(--accent), #2f2937);
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.18);
}

body.dark #cta {
  background: linear-gradient(135deg, #f8fafc, #ddd6fe);
  color: #07111f;
}

#cta:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: white;
  transform: translateY(-3px);
}

.btn-secondary {
  display: inline-block;
  padding: 15px 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.65);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.07);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.24);
  color: var(--primary);
}

.hero-proof {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-glow,
.hero-glow-bottom {
  display: none;
}

section {
  padding: 78px 0;
}

.section-title,
#about.section-title {
  max-width: 760px;
  margin: 0 auto 54px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  color: var(--accent);
  text-shadow: none;
  letter-spacing: -0.055em;
}

#info,
#packages,
#hosting,
#extras,
.about-section,
.contact-section,
.section-features {
  position: relative;
}

.intro-grid {
  gap: clamp(28px, 5vw, 72px);
  margin-bottom: 80px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.intro-grid img {
  border-radius: 28px;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

.intro-grid.reverse img,
.intro-grid.reverse:nth-of-type(3) img {
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.12);
}

.intro-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.intro-text p {
  color: var(--muted);
  font-size: 17px;
}

.package-grid {
  gap: 24px;
}

.package-card,
.extra-card,
.about-block,
.contact-block {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
}

.package-card {
  padding: 34px 28px;
  text-align: left;
}

.package-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  letter-spacing: -0.05em;
}

.price {
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.05em;
}

.package-card:hover,
.extra-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 58, 237, 0.20);
  box-shadow: 0 26px 70px rgba(124, 58, 237, 0.11);
}

.package-card.premium,
.package-card.premium.visible {
  border: 1px solid rgba(124, 58, 237, 0.26);
  transform: translateY(0) scale(1.02);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.07), transparent 38%),
    var(--card);
}

.package-card.premium:hover {
  transform: translateY(-10px) scale(1.03);
}

.badge,
.package-card.premium::before {
  background: linear-gradient(135deg, var(--primary), #a78bfa);
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.20);
}

.features {
  color: var(--muted);
  padding-left: 18px;
}

.features li::marker {
  color: var(--primary);
}

.features li:nth-child(3)::after {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--surface-strong) 100%);
}

body.dark .features li:nth-child(3)::after {
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0), var(--surface-strong) 100%);
}

.toggle-btn {
  color: var(--primary);
  font-weight: 800;
}

.toggle-btn::after {
  content: "→";
}

.compareBtn {
  padding: 13px 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  background-image: none;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.compareBtn:hover {
  border-color: rgba(124, 58, 237, 0.24);
  color: var(--primary);
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.11);
}

.feature-card {
  border: 1px solid var(--border);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
}

.feature-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.74)),
    var(--card);
}

body.dark .feature-card {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.72)),
    var(--card);
}

.feature-preview {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.feature-preview::after {
  content: "Projekt ansehen";
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(24, 24, 31, 0.72);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s ease, transform 0.24s ease;
  backdrop-filter: blur(14px);
}

.feature-card:hover .feature-preview::after {
  opacity: 1;
  transform: translateY(0);
}

.feature-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
}

.feature-text strong::after,
.toggle-btn::after {
  content: "→";
}

.layout-toggle {
  border-color: var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.about-hero {
  padding: 96px 20px 42px;
}

.about-section {
  max-width: 980px;
  background: transparent;
}

.about-block,
.contact-block {
  padding: 34px;
}

.about-block h2,
.contact-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.about-block p,
.about-list,
.about-steps,
.contact-info {
  color: var(--muted);
}

.contact-section {
  padding-top: 10px;
}

.contact-block {
  width: min(92%, 760px);
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea,
input,
textarea,
select {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(124, 58, 237, 0.34);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.10);
}

.contact-form button {
  background: linear-gradient(135deg, var(--accent), #2f2937);
}

.footer-cta {
  padding: 90px 20px;
}

#ctaText {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  letter-spacing: -0.05em;
}

.site-footer {
  margin-top: 70px;
  padding: 42px 0 26px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #16111f 0%, #120f1a 100%);
}

.footer-brand h3 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.04em;
}

#backToTop {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.08);
}

@media (max-width: 900px) {
  body > header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .hero {
    min-height: auto;
    padding: 0 0 62px;
  }

  .hero::before {
    inset: 1% 0 auto;
    height: 90%;
    border-radius: 34px;
  }

  .intro-grid,
  .package-card,
  .about-block,
  .contact-block {
    padding: 24px;
  }

  .package-grid,
  .index .stack-features,
  .section-features.mode-grid-2 .stack-features,
  .section-features.mode-grid-3 .stack-features {
    grid-template-columns: 1fr;
  }

  .feature-card {
    top: 0 !important;
  }
}

@media (max-width: 560px) {
  body > header {
    height: 64px;
    padding: 0 12px;
  }

  .logo a {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #cta,
  .btn-secondary {
    width: 100%;
  }

  .hero-proof {
    justify-content: flex-start;
  }
}

/* Feature cards: simple image-card layout */
.index .stack-features {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-card {
  position: relative;
  aspect-ratio: 16 / 9;
  display: block;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}

.feature-inner {
  min-height: 100%;
}

.feature-card img {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 34px;
  width: 100%;
  height: calc(100% - 34px);
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.website-frame {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-bottom: 1px solid rgba(24, 24, 31, 0.08);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.website-frame::after {
  content: "";
  flex: 1;
  height: 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: rgba(24, 24, 31, 0.07);
}

.website-frame span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(24, 24, 31, 0.24);
}

.feature-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.feature-preview {
  display: none;
}

.feature-card iframe {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 34px;
  display: block;
  width: 135%;
  height: calc(135% - 34px);
  border: 0;
  background: white;
  pointer-events: none;
  transform: scale(0.74);
  transform-origin: top left;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.feature-card:hover iframe {
  transform: scale(0.755);
  filter: brightness(1.015);
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(2, 6, 23, 0.42) 62%, rgba(2, 6, 23, 0.88) 100%);
  pointer-events: none;
}

.feature-text {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  width: auto;
  padding: 18px 20px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 20px;
  background: rgba(18, 18, 24, 0.72);
  box-sizing: border-box;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.feature-text h3 {
  margin: 0 0 5px;
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  text-shadow: none;
}

.feature-text p {
  min-height: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.5;
  text-shadow: none;
}

.feature-text span,
.feature-text strong,
.feature-preview::after {
  display: none;
}

.index .stack-features {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.index .feature-card:nth-child(2) {
  top: 40px;
}

.index .feature-card:nth-child(3) {
  top: 80px;
}

.features-header,
.features-header[style] {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  backdrop-filter: none !important;
}

/* CSS-only layout switch icon */
.layout-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-card);
  padding: 0;
  display: grid;
  place-items: center;
  transition: none;
}

.layout-toggle:hover {
  transform: translateY(-50%);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.layout-toggle img {
  display: none;
}

.layout-icon {
  display: block;
  position: relative;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.layout-toggle.is-list .layout-icon {
  width: 21px;
  height: 17px;
  border-radius: 999px;
  background: none;
}

.layout-toggle.is-list .layout-icon::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 21px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 7px 0 currentColor, 0 14px 0 currentColor;
}

.layout-toggle.is-grid-2 .layout-icon,
.layout-toggle.is-grid-3 .layout-icon {
  width: 20px;
  height: 20px;
  background: none;
}

.layout-toggle.is-grid-2 .layout-icon::before,
.layout-toggle.is-grid-3 .layout-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 5px;
  height: 5px;
  border-radius: 2px;
  background: currentColor;
}

.layout-toggle.is-grid-2 .layout-icon::before {
  box-shadow:
    11px 0 0 currentColor,
    0 11px 0 currentColor,
    11px 11px 0 currentColor;
}

.layout-toggle.is-grid-3 .layout-icon::before {
  left: 1px;
  top: 1px;
  box-shadow:
    7px 0 0 currentColor,
    14px 0 0 currentColor,
    0 7px 0 currentColor,
    7px 7px 0 currentColor,
    14px 7px 0 currentColor,
    0 14px 0 currentColor,
    7px 14px 0 currentColor,
    14px 14px 0 currentColor;
}

/* Keep grid previews inside their cards */
.section-features.mode-grid-2 .feature-card iframe,
.section-features.mode-grid-3 .feature-card iframe {
  position: absolute !important;
  top: 34px !important;
  left: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 1440px !important;
  max-width: none !important;
  height: 1024px !important;
  transform-origin: top left !important;
}

.section-features.mode-grid-3 .feature-card iframe {
  height: 1024px !important;
}

.section-features.mode-grid-2 .feature-card:hover iframe,
.section-features.mode-grid-3 .feature-card:hover iframe {
  filter: brightness(1.015);
}

/* Footer back-to-top refinement */
#backToTop {
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(167, 139, 250, 0.08);
  padding: 8px 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

#backToTop::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

#backToTop::after {
  inset: auto 14px 7px 14px;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.95), transparent);
  opacity: 0.45;
  transform: scaleX(0.55);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

#backToTop:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 181, 253, 0.38);
  background: rgba(167, 139, 250, 0.14);
  box-shadow: 0 12px 26px rgba(124, 58, 237, 0.18);
}

#backToTop:hover::before {
  opacity: 1;
}

#backToTop:hover::after {
  opacity: 0.9;
  transform: scaleX(1);
}

/* Dark mode contrast pass */
body.dark,
html.dark body {
  color: #f5f7fb;
}

body.dark > header {
  background: rgba(17, 24, 39, 0.82);
  border-color: rgba(196, 181, 253, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

body.dark .logo a,
body.dark .section-title,
body.dark .package-card h3,
body.dark .about-block h2,
body.dark .contact-block h2,
body.dark .feature-text h3,
body.dark .footer-brand h3 {
  color: #f8fafc;
}

body.dark .nav-desktop a {
  color: rgba(241, 245, 249, 0.78);
}

body.dark .nav-desktop a:hover {
  background: rgba(167, 139, 250, 0.14);
  color: #ddd6fe;
}

body.dark .menu-button,
body.dark .layout-toggle {
  background: rgba(30, 41, 59, 0.86);
  border-color: rgba(196, 181, 253, 0.16);
}

body.dark .menu-dropdown {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(196, 181, 253, 0.12);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
}

body.dark .menu-dropdown .dropdown-separator {
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.dark .menu-dropdown .dropdown-nav a {
  color: rgba(241, 245, 249, 0.86);
}

body.dark .menu-dropdown .dropdown-nav a:hover {
  border-color: rgba(167, 139, 250, 0.28);
  background: rgba(167, 139, 250, 0.10);
  color: #f8fafc;
}

body.dark .menu-dropdown select,
body.dark .menu-dropdown .dropdown-top select,
body.dark .menu-dropdown .dropdown-top button#themeToggle {
  background: rgba(30, 41, 59, 0.88);
  border-color: rgba(196, 181, 253, 0.16);
  color: #f8fafc;
}

body.dark .hero::before {
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.62)),
    radial-gradient(circle at 72% 18%, rgba(167, 139, 250, 0.18), transparent 28rem);
}

body.dark #heroText,
body.dark .hero-proof span,
body.dark .intro-text p,
body.dark .about-block p,
body.dark .about-list,
body.dark .about-steps,
body.dark .contact-info,
body.dark .package-note,
body.dark .features,
body.dark .feature-text p {
  color: rgba(226, 232, 240, 0.82);
}

body.dark .hero-proof span {
  background: rgba(30, 41, 59, 0.76);
  border-color: rgba(196, 181, 253, 0.14);
}

body.dark .intro-grid,
body.dark .package-card,
body.dark .extra-card,
body.dark .about-block,
body.dark .contact-block,
body.dark .feature-card {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.78)),
    rgba(15, 23, 42, 0.78);
  border-color: rgba(196, 181, 253, 0.10);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
}

body.dark .package-card:hover,
body.dark .extra-card:hover,
body.dark .feature-card:hover {
  border-color: rgba(167, 139, 250, 0.22);
  box-shadow: 0 26px 60px rgba(76, 29, 149, 0.22);
}

body.dark .package-card.premium,
body.dark .package-card.premium.visible {
  border-color: rgba(167, 139, 250, 0.32);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.16), transparent 38%),
    rgba(15, 23, 42, 0.84);
}

body.dark .price,
body.dark .toggle-btn,
body.dark .compareBtn:hover,
body.dark .btn-secondary:hover {
  color: #ddd6fe;
}

body.dark #cta {
  background: linear-gradient(135deg, #f8fafc, #ddd6fe);
  color: #0f172a;
}

body.dark #cta:hover {
  background: linear-gradient(135deg, #c4b5fd, #a78bfa);
  color: #0f172a;
}

body.dark .btn-secondary,
body.dark .compareBtn {
  background: rgba(30, 41, 59, 0.82);
  border-color: rgba(196, 181, 253, 0.16);
  color: #f8fafc;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

body.dark .btn-secondary:hover,
body.dark .compareBtn:hover {
  background: rgba(49, 46, 129, 0.34);
  border-color: rgba(196, 181, 253, 0.28);
}

body.dark .contact-form input,
body.dark .contact-form textarea,
body.dark input,
body.dark textarea,
body.dark select {
  background: rgba(17, 24, 39, 0.92);
  border-color: rgba(196, 181, 253, 0.14);
  color: #f8fafc;
}

body.dark .contact-form input::placeholder,
body.dark .contact-form textarea::placeholder,
body.dark input::placeholder,
body.dark textarea::placeholder {
  color: rgba(226, 232, 240, 0.48);
}

body.dark .contact-form input:focus,
body.dark .contact-form textarea:focus,
body.dark input:focus,
body.dark textarea:focus,
body.dark select:focus {
  border-color: rgba(196, 181, 253, 0.34);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
}

body.dark .contact-form button {
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  color: #0f172a;
}

body.dark .contact-form button:hover {
  opacity: 1;
  filter: brightness(1.04);
}

body.dark .feature-card::after {
  background: linear-gradient(180deg, transparent 26%, rgba(2, 6, 23, 0.52) 62%, rgba(2, 6, 23, 0.92) 100%);
}

body.dark .website-frame {
  background: rgba(15, 23, 42, 0.92);
  border-bottom-color: rgba(196, 181, 253, 0.10);
}

body.dark .website-frame::after {
  background: rgba(255, 255, 255, 0.08);
}

body.dark .website-frame span {
  background: rgba(196, 181, 253, 0.34);
}

body.dark .section-features.mode-grid-2 .feature-card,
body.dark .section-features.mode-grid-3 .feature-card {
  background: rgba(15, 23, 42, 0.94);
}

body.dark .section-features.mode-grid-2 .feature-text,
body.dark .section-features.mode-grid-3 .feature-text {
  border-top-color: rgba(196, 181, 253, 0.10);
}

body.dark .section-features.mode-grid-2 .feature-text h3,
body.dark .section-features.mode-grid-3 .feature-text h3 {
  color: #f8fafc;
}

body.dark .section-features.mode-grid-2 .feature-text p,
body.dark .section-features.mode-grid-3 .feature-text p {
  color: rgba(226, 232, 240, 0.76);
}

body.dark .site-footer {
  border-top-color: rgba(196, 181, 253, 0.10);
  background: linear-gradient(180deg, #140f1d 0%, #100c17 100%);
}

body.dark .footer-links a,
body.dark .footer-legal a {
  color: rgba(241, 245, 249, 0.76);
}

body.dark .footer-links a:hover,
body.dark .footer-legal a:hover {
  color: #ffffff;
}

body.dark #backToTop {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(196, 181, 253, 0.20);
  color: #f8fafc;
}

body.dark #backToTop:hover {
  background: rgba(167, 139, 250, 0.18);
  box-shadow: 0 14px 28px rgba(91, 33, 182, 0.26);
}

/* CSS-only navbar menu icon */
.menu-button img {
  display: none;
}

.menu-button {
  display: grid;
  place-items: center;
}

.menu-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  color: var(--accent);
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

body.dark .menu-icon {
  color: #f8fafc;
}

/* Full-page preview scaling for grid modes */
.section-features.mode-grid-2 .feature-card {
  min-height: 485px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transform: none !important;
}

.section-features.mode-grid-2 .feature-inner {
  padding-top: 382px;
  min-width: 0;
}

.section-features.mode-grid-2 .feature-card iframe {
  transform: scale(0.34) !important;
}

.section-features.mode-grid-3 .feature-card {
  min-height: 350px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  transform: none !important;
}

.section-features.mode-grid-3 .feature-inner {
  padding-top: 254px;
  min-width: 0;
}

.section-features.mode-grid-3 .feature-card iframe {
  transform: scale(0.215) !important;
}

.section-features.mode-grid-3 .stack-features {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.section-features.mode-grid-3 .feature-card:hover {
  transform: translateY(-4px) !important;
}
