@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

@layer reset, base, layout, components, utilities;

@layer reset {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
  }

  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

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

  input, button, textarea, select {
    font: inherit;
  }

  button {
    background: none;
    border: none;
    cursor: pointer;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}

@layer base {
  :root {
    --color-anthrazit: #121212;
    --color-dark-grey: #222222;
    --color-white: #ffffff;
    --color-light-grey: #f7f7f7;
    --color-yellow: #FFC107;
    --color-yellow-hover: #E0A800;
    --color-yellow-light: rgba(255, 193, 7, 0.1);
    --color-text-dark: #121212;
    --color-text-light: #ffffff;
    --color-text-muted-dark: #666666;
    --color-text-muted-light: #aaaaaa;
    
    --font-primary: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
    --shadow-premium: 0 30px 100px rgba(0, 0, 0, 0.12);
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
  }

  body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-anthrazit);
  }

  h1 {
    font-size: clamp(2.5rem, 1.2rem + 5.5vw, 4.5rem);
    text-wrap: balance;
  }

  h2 {
    font-size: clamp(1.8rem, 1.2rem + 2.5vw, 3rem);
    text-wrap: balance;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
    text-wrap: balance;
  }

  p {
    text-wrap: pretty;
  }

  /* Accessible Focus Rings */
  :focus-visible {
    outline: 2px solid var(--color-yellow);
    outline-offset: 4px;
  }
}

@layer layout {
  .container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.5rem;
  }

  section {
    padding-block: clamp(4rem, 2rem + 8vw, 8rem);
    position: relative;
  }

  .grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }

  .grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }

  .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  @media (min-width: 992px) {
    .grid-2 {
      grid-template-columns: 1.1fr 0.9fr;
    }
  }
}

@layer components {
  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    white-space: nowrap;
    text-align: center;
    min-block-size: 48px; /* Touch target size */
  }

  .btn-primary {
    background-color: var(--color-yellow);
    color: var(--color-anthrazit);
  }

  .btn-primary:hover {
    background-color: var(--color-yellow-hover);
    transform: translateY(-2px);
  }

  .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }

  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }

  .btn-outline {
    background-color: transparent;
    color: var(--color-anthrazit);
    border: 1.5px solid var(--color-anthrazit);
  }

  .btn-outline:hover {
    background-color: var(--color-anthrazit);
    color: var(--color-white);
    transform: translateY(-2px);
  }

  /* Badge */
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    background-color: var(--color-yellow-light);
    color: var(--color-yellow);
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.25);
  }

  /* Sticky Navigation */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
  }

  .header-scrolled {
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-fast);
  }

  .header-scrolled .nav-container {
    height: 70px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--color-white);
  }

  .logo span {
    color: var(--color-yellow);
  }

  .logo-icon {
    width: 32px;
    height: 32px;
    stroke: var(--color-yellow);
    stroke-width: 2.5;
    fill: none;
  }

  .nav-menu {
    display: none;
    align-items: center;
    gap: 2.5rem;
  }

  .nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
    padding-block: 0.5rem;
  }

  .nav-link:hover {
    color: var(--color-white);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }

  .nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    z-index: 1001;
  }

  .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: var(--transition-fast);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  @media (min-width: 992px) {
    .nav-menu {
      display: flex;
    }
    
    .menu-toggle {
      display: none;
    }
  }

  /* Mobile Navigation Overlay */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-anthrazit);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
  }

  .mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-link {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
  }

  /* Hero Section */
  .hero-section {
    background-color: var(--color-anthrazit);
    color: var(--color-white);
    padding-top: 180px;
    padding-bottom: 80px;
    overflow: hidden;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
  }

  .hero-title span {
    color: var(--color-yellow);
    display: block;
  }

  .hero-subtitle {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    max-width: 600px;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
  }

  /* CSS Device Mockup */
  .hero-showcase {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
  }

  .device-mockups {
    position: relative;
    width: 100%;
    max-width: 760px;
    aspect-ratio: 16/10;
  }

  .laptop-mockup {
    width: 88%;
    position: absolute;
    left: 0;
    top: 10%;
    transform: rotateX(8deg) rotateY(-8deg) rotateZ(3deg);
    transition: var(--transition-smooth);
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.4));
  }

  .laptop-mockup:hover {
    transform: translateY(-8px) rotateX(4deg) rotateY(-4deg) rotateZ(1deg) scale(1.03);
  }

  .laptop-screen {
    width: 100%;
    aspect-ratio: 16/10;
    background-color: #000;
    border-radius: 12px 12px 0 0;
    padding: 3% 2% 4% 2%;
    border: 3px solid #333;
    border-bottom: none;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.1);
    overflow: hidden;
  }

  .laptop-viewport {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid #111;
  }

  .laptop-header {
    height: 20px;
    background-color: #262626;
    border-bottom: 1px solid #111;
    display: flex;
    align-items: center;
    padding-inline: 8px;
    gap: 4px;
  }

  .laptop-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ef4444;
  }
  .laptop-dot:nth-child(2) { background-color: #eab308; }
  .laptop-dot:nth-child(3) { background-color: #22c55e; }

  .laptop-url {
    background-color: #1a1a1a;
    height: 12px;
    flex: 1;
    border-radius: 3px;
    margin-inline: 20px;
    display: flex;
    align-items: center;
    padding-left: 6px;
    font-size: 8px;
    color: #666;
  }

  .laptop-body-content {
    padding: 12px;
    height: calc(100% - 20px);
    overflow-y: auto;
    font-size: 10px;
    color: #fff;
    font-family: var(--font-primary);
  }

  .laptop-hero-preview {
    border-radius: 4px;
    background: linear-gradient(135deg, #222 0%, #121212 100%);
    border: 1px solid #333;
    padding: 10px;
    margin-bottom: 10px;
    text-align: center;
  }

  .laptop-hero-preview h4 {
    font-size: 11px;
    color: #fff;
    margin-bottom: 4px;
  }

  .laptop-hero-preview p {
    font-size: 8px;
    color: #888;
  }

  .laptop-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .laptop-card-preview {
    height: 40px;
    background-color: #222;
    border: 1px solid #333;
    border-radius: 4px;
  }

  .laptop-base {
    width: 106%;
    height: 8px;
    background-color: #ccc;
    border-radius: 0 0 16px 16px;
    margin-left: -3%;
    border-bottom: 2px solid #999;
    position: relative;
  }

  .laptop-base::after {
    content: '';
    position: absolute;
    top: 0;
    left: 45%;
    width: 10%;
    height: 4px;
    background-color: #999;
    border-radius: 0 0 4px 4px;
  }

  .phone-mockup {
    width: 29%;
    aspect-ratio: 9/19;
    background-color: #000;
    border-radius: 24px;
    padding: 2.5%;
    border: 3px solid #333;
    position: absolute;
    right: 5%;
    bottom: -5%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    transform: rotateX(-5deg) rotateY(15deg) rotateZ(-5deg);
    transition: var(--transition-smooth);
    z-index: 5;
  }

  .phone-mockup:hover {
    transform: translateY(-12px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.06);
  }

  .phone-viewport {
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid #111;
    font-size: 8px;
    color: #fff;
    padding: 8px;
  }

  .phone-notch {
    width: 50%;
    height: 12px;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 25%;
    border-radius: 0 0 8px 8px;
    z-index: 10;
  }

  .phone-hero-preview {
    margin-top: 15px;
    text-align: center;
    background: linear-gradient(135deg, #FFC107 0%, #E0A800 100%);
    color: #121212;
    padding: 8px;
    border-radius: 6px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .phone-card-preview {
    height: 25px;
    background-color: #222;
    border: 1px solid #333;
    margin-bottom: 4px;
    border-radius: 4px;
  }

  /* Trust Bar */
  .trust-bar {
    background-color: #1a1a1a;
    padding-block: 2.5rem;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
  }

  .trust-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem 4rem;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
  }

  .trust-icon {
    width: 20px;
    height: 20px;
    stroke: var(--color-yellow);
    stroke-width: 2.5;
    fill: none;
  }

  /* Feature section */
  .feature-card {
    background-color: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
  }

  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0,0,0,0.1);
  }

  .feature-card:hover::before {
    transform: scaleX(1);
  }

  .feature-icon-wrapper {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background-color: var(--color-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-fast);
  }

  .feature-card:hover .feature-icon-wrapper {
    background-color: var(--color-yellow);
  }

  .feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-anthrazit);
    stroke-width: 1.75;
    fill: none;
    transition: var(--transition-fast);
  }

  .feature-card:hover .feature-icon-wrapper svg {
    stroke: var(--color-anthrazit);
  }

  .feature-card h3 {
    margin-bottom: 0.75rem;
    font-weight: 700;
  }

  .feature-card p {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
  }

  /* Process Timeline Section */
  .process-section {
    background-color: var(--color-light-grey);
  }

  .section-intro {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
    margin-bottom: 5rem;
  }

  .section-intro p {
    color: var(--color-text-muted-dark);
    font-size: 1.1rem;
    margin-top: 1rem;
  }

  .timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .timeline-line {
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-yellow) 0%, rgba(0, 0, 0, 0.05) 100%);
    z-index: 1;
  }

  .timeline-step {
    position: relative;
    display: flex;
    gap: 2rem;
    z-index: 2;
  }

  .timeline-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-yellow);
    color: var(--color-anthrazit);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 0 0 6px var(--color-white);
    flex-shrink: 0;
  }

  .timeline-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    flex-grow: 1;
  }

  .timeline-content h3 {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .timeline-content p {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
  }

  @media (min-width: 768px) {
    .timeline {
      flex-direction: row;
      gap: 1.5rem;
    }
    
    .timeline-line {
      left: 20px;
      right: 20px;
      top: 20px;
      width: auto;
      height: 2px;
      background: linear-gradient(to right, var(--color-yellow) 0%, rgba(0, 0, 0, 0.05) 100%);
    }

    .timeline-step {
      flex-direction: column;
      flex: 1;
      gap: 1.5rem;
      align-items: flex-start;
    }

    .timeline-badge {
      box-shadow: 0 0 0 6px var(--color-light-grey);
    }
  }

  /* Pricing / Pakete */
  .pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
    margin-bottom: 3.5rem;
  }

  @media (min-width: 992px) {
    .pricing-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .pricing-card {
    background-color: var(--color-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
  }

  .pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
  }

  .pricing-card-popular {
    border: 2.5px solid var(--color-yellow);
    box-shadow: var(--shadow-md);
  }

  .pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-yellow);
    color: var(--color-anthrazit);
    padding: 0.35rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
  }

  .pricing-card-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 1.5rem;
  }

  .pricing-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .pricing-desc {
    color: var(--color-text-muted-dark);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .pricing-price-box {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
  }

  .pricing-amount {
    font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
    font-weight: 800;
    color: var(--color-anthrazit);
    line-height: 1;
  }

  .pricing-period {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    font-weight: 500;
  }

  .pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
  }

  .pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(18, 18, 18, 0.8);
  }

  .pricing-features-icon {
    width: 16px;
    height: 16px;
    stroke: var(--color-yellow);
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
  }

  .pricing-card-popular .pricing-features-icon {
    stroke: var(--color-yellow);
  }

  .pricing-card .btn {
    width: 100%;
  }

  .pricing-notice {
    text-align: center;
    color: var(--color-text-muted-dark);
    font-size: 0.875rem;
    margin-top: 1.5rem;
    font-weight: 500;
  }

  /* Referenzen Section */
  .references-section {
    background-color: var(--color-light-grey);
  }

  .references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
  }

  .ref-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .ref-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
  }

  .ref-visual {
    aspect-ratio: 4/3;
    position: relative;
    background: linear-gradient(135deg, #121212 0%, #2a2a2a 100%);
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    align-items: flex-end;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .ref-browser-mockup {
    width: 100%;
    height: 85%;
    background-color: #222;
    border-radius: 8px 8px 0 0;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
  }

  .ref-card:hover .ref-browser-mockup {
    transform: translateY(0);
    border-color: var(--color-yellow);
  }

  .ref-browser-header {
    height: 16px;
    background-color: #1a1a1a;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    padding-inline: 8px;
    gap: 3px;
  }

  .ref-browser-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
  }

  .ref-browser-viewport {
    flex: 1;
    background-color: #1a1a1a;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
  }

  /* Specific previews based on industry */
  .ref-design-handwerker {
    --accent: #dc2626;
  }
  .ref-design-restaurant {
    --accent: #4CAF50;
  }
  .ref-design-arzt {
    --accent: #2196F3;
  }
  .ref-design-autohaus {
    --accent: #FFC107;
  }
  .ref-design-immobilien {
    --accent: #FFC107;
  }
  .ref-design-friseur {
    --accent: #FFC107;
  }
  .ref-design-fitness {
    --accent: #FFEB3B;
  }
  .ref-design-steuerberater {
    --accent: #607D8B;
  }

  .ref-preview-hero {
    height: 24px;
    background-color: #262626;
    border-radius: 3px;
    position: relative;
    border-left: 2px solid var(--accent);
  }

  .ref-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  .ref-preview-item {
    height: 18px;
    background-color: #222;
    border-radius: 2px;
  }

  .ref-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .ref-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-yellow);
    margin-bottom: 0.5rem;
  }

  .ref-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
  }

  .ref-card p {
    color: var(--color-text-muted-dark);
    font-size: 0.85rem;
  }

  /* Warum monatlich comparison */
  .comparison-section {
    background-color: var(--color-anthrazit);
    color: var(--color-white);
    overflow: hidden;
  }

  .comparison-section h2 {
    color: var(--color-white);
  }

  .comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }

  @media (min-width: 992px) {
    .comparison-grid {
      grid-template-columns: 1.1fr 0.9fr;
    }
  }

  .comparison-box {
    background-color: var(--color-dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
  }

  .comparison-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .comparison-col {
    text-align: center;
    flex: 1;
  }

  .comparison-col-sep {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.3);
    margin-inline: 1rem;
  }

  .comp-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted-light);
    margin-bottom: 0.5rem;
  }

  .comp-value {
    font-size: clamp(2rem, 1.5rem + 1.5vw, 3rem);
    font-weight: 800;
    color: var(--color-white);
  }

  .comp-value-active {
    color: var(--color-yellow);
  }

  .comparison-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .comparison-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
  }

  .comp-icon {
    width: 22px;
    height: 22px;
    stroke: var(--color-yellow);
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
  }

  /* FAQ Accordion */
  .faq-grid {
    max-width: 800px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .faq-item {
    background-color: var(--color-white);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
  }

  .faq-item:hover {
    border-color: rgba(0,0,0,0.12);
    box-shadow: var(--shadow-sm);
  }

  .faq-summary {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    list-style: none; /* Hide default arrow */
    user-select: none;
  }

  .faq-summary::-webkit-details-marker {
    display: none; /* Hide standard arrow in Webkit */
  }

  .faq-arrow {
    width: 18px;
    height: 18px;
    stroke: var(--color-anthrazit);
    stroke-width: 2;
    fill: none;
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .faq-item[open] .faq-arrow {
    transform: rotate(180deg);
    stroke: var(--color-yellow);
  }

  .faq-item[open] {
    border-color: var(--color-yellow);
  }

  .faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
    transition: border-color 0.3s ease;
  }

  .faq-item[open] .faq-content {
    border-top-color: rgba(0,0,0,0.03);
  }

  /* CTA Section */
  .cta-section {
    background: linear-gradient(135deg, #121212 0%, #222222 100%);
    color: var(--color-white);
    text-align: center;
    padding-block: clamp(5rem, 3rem + 8vw, 10rem);
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 193, 7, 0.08) 0%, transparent 60%);
    pointer-events: none;
  }

  .cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin-inline: auto;
  }

  .cta-title {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-weight: 800;
  }

  .cta-text {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
  }

  /* Contact section */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  @media (min-width: 992px) {
    .contact-grid {
      grid-template-columns: 0.8fr 1.2fr;
    }
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .contact-method {
    display: flex;
    gap: 1rem;
  }

  .contact-method-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--color-light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.04);
  }

  .contact-method-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-anthrazit);
    stroke-width: 2;
    fill: none;
  }

  .contact-method-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }

  .contact-method-text p {
    color: var(--color-text-muted-dark);
    font-size: 0.95rem;
  }

  /* Contact Form */
  .contact-form-box {
    background-color: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
  }

  .form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }

  @media (min-width: 576px) {
    .form-group-row {
      grid-template-columns: 1fr 1fr;
    }
  }

  .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-anthrazit);
  }

  .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    background-color: var(--color-light-grey);
    transition: var(--transition-fast);
    color: var(--color-anthrazit);
  }

  .form-input:focus {
    outline: none;
    border-color: var(--color-yellow);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.15);
  }

  /* Real-time Validation States */
  .form-input:user-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
  }

  .form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .form-checkbox {
    margin-top: 0.25rem;
    width: 16px;
    height: 16px;
    accent-color: var(--color-yellow);
  }

  .form-checkbox-label {
    font-size: 0.85rem;
    color: var(--color-text-muted-dark);
  }

  .form-checkbox-label a {
    color: var(--color-anthrazit);
    text-decoration: underline;
    font-weight: 500;
  }

  /* Cookie consent banner */
  .cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background-color: var(--color-anthrazit);
    color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transform: translateY(150%);
    transition: var(--transition-smooth);
  }

  .cookie-banner.active {
    transform: translateY(0);
  }

  .cookie-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
  }

  .cookie-text a {
    color: var(--color-yellow);
    text-decoration: underline;
  }

  .cookie-buttons {
    display: flex;
    gap: 1rem;
  }

  .cookie-btn-accept {
    background-color: var(--color-yellow);
    color: var(--color-anthrazit);
    flex: 1;
    font-weight: 600;
    font-size: 0.875rem;
    padding-block: 0.65rem;
    border-radius: var(--radius-sm);
  }

  .cookie-btn-decline {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255,255,255,0.15);
    flex: 1;
    font-weight: 600;
    font-size: 0.875rem;
    padding-block: 0.65rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
  }

  .cookie-btn-decline:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  @media (min-width: 576px) {
    .cookie-banner {
      left: auto;
      right: 24px;
    }
  }

  /* Footer */
  .footer {
    background-color: var(--color-anthrazit);
    color: var(--color-white);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
  }

  .footer-logo-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-logo-col p {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    max-width: 280px;
  }

  .footer-socials {
    display: flex;
    gap: 1rem;
  }

  .footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background-color: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
  }

  .footer-social-link:hover {
    background-color: var(--color-yellow);
    transform: translateY(-2px);
  }

  .footer-social-link svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-white);
    stroke-width: 2;
    fill: none;
    transition: var(--transition-fast);
  }

  .footer-social-link:hover svg {
    stroke: var(--color-anthrazit);
  }

  .footer-col h4 {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-link a {
    color: var(--color-text-muted-light);
    font-size: 0.95rem;
    transition: var(--transition-fast);
  }

  .footer-link a:hover {
    color: var(--color-yellow);
    padding-left: 4px;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .footer-copy {
    color: var(--color-text-muted-light);
    font-size: 0.875rem;
  }

  .footer-discreet {
    color: #444444; /* Extremely discreet footer note */
    font-size: 0.8rem;
    transition: var(--transition-fast);
  }

  .footer-discreet:hover {
    color: var(--color-text-muted-light);
  }

  @media (min-width: 768px) {
    .footer-bottom {
      flex-direction: row;
      justify-content: space-between;
      text-align: left;
    }
  }

  /* Form Success Message Overlay styling */
  .form-success-overlay {
    display: none;
    text-align: center;
    padding: 3rem 1.5rem;
    animation: fadeIn 0.4s ease forwards;
  }

  .success-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    margin-bottom: 1.5rem;
  }

  .success-icon-wrapper svg {
    width: 32px;
    height: 32px;
    stroke: #22c55e;
    stroke-width: 2.5;
    fill: none;
  }

  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
  }

  /* Hero Promo Banner */
  .hero-promo-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 193, 7, 0.3);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    margin-bottom: 2rem;
    font-size: 0.875rem;
    transition: var(--transition-fast);
  }

  .hero-promo-banner:hover {
    border-color: var(--color-yellow);
    background-color: rgba(255, 255, 255, 0.08);
  }

  .hero-promo-emoji {
    font-size: 1.1rem;
  }

  .hero-promo-text {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .hero-promo-text strong {
    color: var(--color-yellow);
  }

  /* Existenzgründer-Aktion Box */
  .promo-box {
    background-color: var(--color-anthrazit);
    color: var(--color-white);
    border: 2px solid var(--color-yellow);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.07);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .promo-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.05) 0%, transparent 60%);
    pointer-events: none;
  }

  .promo-box-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .promo-box-tag {
    background-color: var(--color-yellow);
    color: var(--color-anthrazit);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
  }

  .promo-box-title {
    color: var(--color-white);
    font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem);
    font-weight: 800;
  }

  .promo-box-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
  }

  .promo-code-badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px dashed var(--color-yellow);
    color: var(--color-yellow);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
  }

  .promo-box-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 2.5rem;
  }

  @media (min-width: 768px) {
    .promo-box-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .promo-box-item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
  }

  .promo-box-item:hover {
    border-color: var(--color-yellow);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
  }

  .promo-box-package {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
  }

  .promo-box-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .promo-box-old {
    text-decoration: line-through;
    color: var(--color-text-muted-light);
    font-size: 1rem;
    font-weight: 500;
  }

  .promo-box-new {
    color: var(--color-yellow);
    font-size: 1.8rem;
    font-weight: 800;
  }

  .promo-box-period {
    color: var(--color-text-muted-light);
    font-size: 0.8rem;
  }

  .promo-box-fineprint {
    font-size: 0.85rem;
    color: var(--color-text-muted-light);
    max-width: 600px;
    margin-inline: auto;
    line-height: 1.5;
  }

  /* Pricing card old pricing decoration */
  .pricing-amount-old {
    text-decoration: line-through;
    color: var(--color-text-muted-dark);
    font-size: 1.25rem;
    font-weight: 500;
    margin-right: 0.5rem;
    align-self: center;
  }

  /* Pricing Footer Trust List */
  .pricing-footer-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .trust-bullet {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-anthrazit);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .trust-bullet-icon {
    width: 18px;
    height: 18px;
    stroke: var(--color-yellow);
    stroke-width: 2.5;
    fill: none;
  }
}

@layer utilities {
  /* Scroll reveal elements */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-active {
    opacity: 1;
    transform: translateY(0);
  }

  /* Optimization properties */
  .optimize-render {
    content-visibility: auto;
    contain-intrinsic-block-size: auto 600px;
  }

  .text-yellow {
    color: var(--color-yellow);
  }

  .bg-light-grey {
    background-color: var(--color-light-grey);
  }
}

/* Dialog Modals Overlay Styling */
.dialog-modal {
  border: none;
  border-radius: var(--radius-md);
  background-color: var(--color-white);
  box-shadow: var(--shadow-premium);
  padding: 3rem 2.5rem;
  width: 90%;
  max-width: 600px;
  margin: auto;
  box-sizing: border-box;
  color: var(--color-anthrazit);
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#booking-dialog {
  max-width: 800px;
}

.dialog-modal::backdrop {
  background-color: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeInBackdrop 0.4s ease forwards;
}

.dialog-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  color: var(--color-text-muted-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--color-light-grey);
  transition: var(--transition-fast);
  z-index: 10;
  border: 1px solid rgba(0,0,0,0.04);
}

.dialog-close-btn:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: var(--color-anthrazit);
  transform: scale(1.05);
}

.dialog-close-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
}

.dialog-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--color-anthrazit);
}

.dialog-subtitle {
  color: var(--color-text-muted-dark);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}
