/*

TemplateMo 595 3d coverflow

https://templatemo.com/tm-595-3d-coverflow

*/
@import "tailwindcss";

@tailwind utilities;

@layer base {
  /* hier kannst du ggf. custom base styles reinmachen */
}

@layer components {
  /* deine alten @tailwind components Klassen kommen hier rein, falls nötig */
}

@layer utilities {
  /* custom utilities */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
    background: #000;
}

/* Sections */
.section {
    min-height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding-top: 90px; /* Match header height */
    padding-bottom: 100px; /* Add space for search bar */
}

.coverflow-section {
    min-height: 100vh;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

#about {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
}

#contact {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    height: 75px;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

.logo-img {
    height: 180px;
    width: auto;
}

/* === MOBILE LOGO FIX – WIRD GARANTIERT GRÖßER === */
@media (max-width: 480px) {
    .logo-img {
        height: 70px !important;   /* Erzwingt 70px */
        width: auto !important;
        min-height: 70px !important;
    }

    .logo-container {
        align-items: center !important;
    }

    .header {
        height: 90px !important;    /* Platz für größeres Logo */
        padding: 0 16px !important;
    }

    .header.scrolled {
        height: 80px !important;
    }
}
/* Hauptmenü */
.main-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.menu-item:hover {
    color: white;
    transform: translateY(-2px);
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.menu-item.active {
    color: white;
}

.menu-item.active::after {
    width: 100%;
}

.menu-item.external::before {
    content: '↗';
    margin-right: 5px;
    font-size: 12px;
    opacity: 0.7;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Home Intro Text */
.home-intro {
    max-width: 900px;
    width: 90%;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-intro h1 {
    font-size: 5.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 40px; /* Space for search bar */
}
.home-intro h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #cccccc;
    margin-top: 20px;
    margin-bottom: 40px; /* Space for search bar */
}

.search-container {
    position: relative;
    width: 314px; /* Initial width */
    max-width: 600px; /* Allow expansion */
    margin-top: 20px;
    transition: width 0.3s ease; /* Smooth width transition */
}

/* Search Bar Styles */
.grid {
    height: 400px;
    width: 400px;
    background-image: linear-gradient(to right, #0f0f10 1px, transparent 1px),
        linear-gradient(to bottom, #0f0f10 1px, transparent 1px);
    background-size: 1rem 1rem;
    background-position: center center;
    position: absolute;
    z-index: -1;
    filter: blur(1px);
    opacity: 0.3; /* Lower opacity to reduce prominence */
}

.white,
.border,
.darkBorderBg,
.glow {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
    z-index: -1;
    border-radius: 12px;
    filter: blur(3px);
    transition: width 0.3s ease, max-width 0.3s ease; /* Smooth width transition */
}

.input {
    background-color: #010201;
    border: none;
    width: 301px;
    max-width: 587px; /* Allow expansion */
    height: 56px;
    border-radius: 10px;
    color: white;
    padding-inline: 59px;
    font-size: 18px;
    transition: width 0.3s ease; /* Smooth width transition */
    pointer-events: none; /* Disable interaction */
}

#poda {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 314px; /* Initial width */
    max-width: 600px; /* Allow expansion */
    transition: width 0.3s ease, max-width 0.3s ease; /* Smooth width transition */
}

.input::placeholder {
    color: #c0b9c0;
}

.input:focus {
    outline: none;
}

#main:focus-within > #input-mask {
    display: none;
}

#input-mask {
    pointer-events: none;
    width: 100px;
    height: 20px;
    position: absolute;
    background: linear-gradient(90deg, transparent, black);
    top: 18px;
    left: 70px;
}

#pink-mask {
    pointer-events: none;
    width: 30px;
    height: 20px;
    position: absolute;
    background: #cf30aa;
    top: 10px;
    left: 5px;
    filter: blur(20px);
    opacity: 0.8;
    transition: all 2s;
}

#main:hover > #pink-mask {
    opacity: 0;
}

.white {
    max-height: 63px;
    max-width: 307px; /* Initial max-width */
    border-radius: 10px;
    filter: blur(2px);
}

.white::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(83deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    filter: brightness(1.4);
    background-image: conic-gradient(
        rgba(0, 0, 0, 0) 0%,
        #a099d8,
        rgba(0, 0, 0, 0) 8%,
        rgba(0, 0, 0, 0) 50%,
        #dfa2da,
        rgba(0, 0, 0, 0) 58%
    );
    transition: all 2s;
}

.border {
    max-height: 59px;
    max-width: 303px; /* Initial max-width */
    border-radius: 11px;
    filter: blur(0.5px);
}

.border::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(70deg);
    position: absolute;
    width: 600px;
    height: 600px;
    filter: brightness(1.3);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(
        #1c191c,
        #402fb5 5%,
        #1c191c 14%,
        #1c191c 50%,
        #cf30aa 60%,
        #1c191c 64%
    );
    transition: all 2s;
}

.darkBorderBg {
    max-height: 65px;
    max-width: 312px; /* Initial max-width */
}

.darkBorderBg::before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(82deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(
        rgba(0, 0, 0, 0),
        #18116a,
        rgba(0, 0, 0, 0) 10%,
        rgba(0, 0, 0, 0) 50%,
        #6e1b60,
        rgba(0, 0, 0, 0) 60%
    );
    transition: all 2s;
}

#poda:hover > .darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(-98deg);
}

#poda:hover > .glow::before {
    transform: translate(-50%, -50%) rotate(-120deg);
}

#poda:hover > .white::before {
    transform: translate(-50%, -50%) rotate(-97deg);
}

#poda:hover > .border::before {
    transform: translate(-50%, -50%) rotate(-110deg);
}

#poda:focus-within > .darkBorderBg::before {
    transform: translate(-50%, -50%) rotate(442deg);
    transition: all 4s;
}

#poda:focus-within > .glow::before {
    transform: translate(-50%, -50%) rotate(420deg);
    transition: all 4s;
}

#poda:focus-within > .white::before {
    transform: translate(-50%, -50%) rotate(443deg);
    transition: all 4s;
}

#poda:focus-within > .border::before {
    transform: translate(-50%, -50%) rotate(430deg);
    transition: all 4s;
}

.glow {
    overflow: hidden;
    filter: blur(30px);
    opacity: 0.4;
    max-height: 130px;
    max-width: 354px; /* Initial max-width */
}

.glow:before {
    content: "";
    z-index: -2;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(60deg);
    position: absolute;
    width: 999px;
    height: 999px;
    background-repeat: no-repeat;
    background-position: 0 0;
    background-image: conic-gradient(
        #000,
        #402fb5 5%,
        #000 38%,
        #000 50%,
        #cf30aa 60%,
        #000 87%
    );
    transition: all 2s;
}

#filter-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-height: 40px;
    max-width: 38px;
    height: 100%;
    width: 100%;
    isolation: isolate;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(180deg, #161329, black, #1d1b4b);
    border: 1px solid transparent;
}

.filterBorder {
    height: 42px;
    width: 40px;
    position: absolute;
    overflow: hidden;
    top: 7px;
    right: 7px;
    border-radius: 10px;
}

.filterBorder::before {
    content: "";
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    position: absolute;
    width: 600px;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0 0;
    filter: brightness(1.35);
    background-image: conic-gradient(
        rgba(0, 0, 0, 0),
        #3d3a4f,
        rgba(0, 0, 0, 0) 50%,
        rgba(0, 0, 0, 0) 50%,
        #3d3a4f,
        rgba(0, 0, 0, 0) 100%
    );
}

#search-icon {
    position: absolute;
    left: 20px;
    top: 15px;
}

@media (max-width: 768px) {
    .home-intro h1 {
        font-size: 3rem;
    }
    .grid {
        height: 300px;
        width: 300px;
    }
    .search-container {
        max-width: 500px; /* Adjusted for smaller screens */
    }
    .input {
        max-width: 487px; /* Adjusted for smaller screens */
    }
    #poda {
        max-width: 500px; /* Adjusted for smaller screens */
    }
}

@media (max-width: 480px) {
    .chat-widget {
        width: calc(100vw - 40px);
        height: 80vh;
        max-height: 600px;
        bottom: 10px;
        right: 10px;
        left: 10px;
    }
    .home-intro h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    .hero-section {
        padding-top: 70px; /* Match mobile header height */
        padding-bottom: 80px;
    }
    .grid {
        height: 250px;
        width: 250px;
    }
    .search-container {
        transform: scale(0.8); /* Scale down for smaller screens */
        max-width: 400px; /* Adjusted for smaller screens */
    }
    .input {
        max-width: 387px; /* Adjusted for smaller screens */
    }
    #poda {
        max-width: 400px; /* Adjusted for smaller screens */
    }
}

/* Coverflow Section */
/* Coverflow Section */
.coverflow-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.coverflow-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

.coverflow-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    position: relative;
}

.coverflow {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 400px;
}

.coverflow-item {
    position: absolute;
    width: 300px;
    height: 300px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    user-select: none;
}

/* Uiverse.io Magic Card – 3D Coverflow Edition – EINHEITLICHER FARBEVERLAUF */
.coverflow-card {
  --background: linear-gradient(to left, #667eea 0%, #764ba2 100%);
  width: 300px;
  height: 300px;
  padding: 5px;
  border-radius: 1rem;
  overflow: visible;
  background: var(--background);
  position: relative;
  z-index: 1;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.coverflow-card::after {
  position: absolute;
  content: "";
  top: 30px;
  left: 0;
  right: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  transform: scale(0.8);
  filter: blur(25px);
  background: var(--background);
  opacity: 0.6;
  transition: all 0.6s ease;
}

.coverflow-card .card-info {
  --color: #181818;
  background: var(--color);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  overflow: visible;
  border-radius: 0.7rem;
  padding: 20px;
  text-align: center;
  transition: color 1s;
}

.coverflow-card .title {
  font-weight: bold;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.coverflow-card .description {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Hover Effekte */
.coverflow-card:hover::after {
  opacity: 0.8;
  transform: scale(0.85);
  filter: blur(30px);
}

.coverflow-card:hover .card-info {
  color: #a29bfe;
}

/* Aktive Karte (Mitte) – stärkerer Glow */
.coverflow-item.active .coverflow-card {
  box-shadow: 0 30px 60px rgba(102, 126, 234, 0.6);
  z-index: 100;
}

.coverflow-item.active .coverflow-card::after {
  filter: blur(40px);
  transform: scale(0.92);
  opacity: 1;
}

/* Reflection – angepasst an neue Karte */
.coverflow-item .reflection {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    transform: scaleY(-1);
    opacity: 0.15;
    filter: blur(2px);
    background: linear-gradient(to bottom, 
        rgba(102, 126, 234, 0.3) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(0, 0, 0, 0.8) 100%);
    overflow: hidden;
    pointer-events: none;
}

/* Active item (center) */
.coverflow-item.active {
    z-index: 100;
    transform: translateX(0) translateZ(0) rotateY(0deg);
}

/* Navigation */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 200;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 50px;
}

.nav-button.next {
    right: 50px;
}

/* Dots indicator */
.dots-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 200;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

/* Info display */
.info {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 200;
}

.info h2 {
    font-size: 32px;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

.info p {
    font-size: 16px;
    opacity: 0.7;
}
.chat-widget {
    position: fixed;
    bottom: 10px !important; 
    right: 20px;
    width: 380px !important; 
    height: 520px !important; 
    background: #111;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.chat-widget.closed {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}

.chat-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 14px 16px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    height: calc(100% - 90px);
    position: relative;
    background: #000;
}

#chatIframe {
    opacity: 0;
    transition: opacity 0.4s ease;
}

#chatIframe.loaded {
    opacity: 1;
}

.loading {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #aaa;
    font-size: 14px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #333;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.chat-footer {
    text-align: center;
    padding: 10px;
    font-size: 11px;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Play/Pause Button */
.play-pause-button {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 200;
}

.play-pause-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) scale(1.1);
}

.play-pause-button .pause-icon {
    font-size: 16px;
    letter-spacing: 2px;
}

/* About Section */
.about-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    color: white;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-header h2 {
    font-size: 48px;
    margin-top: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-display {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-main {
    position: relative;
    width: 350px;
    height: 450px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.showcase-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

.showcase-logo svg {
    width: 70%;
    height: 70%;
}

.showcase-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-align: center;
}

.showcase-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.showcase-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.about-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: white;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-size: 18px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.cta-button svg {
    width: 20px;
    height: 20px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    padding: 60px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Section */
.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    color: white;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info-section {
    padding-right: 40px;
}

.contact-info-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.contact-info-section > p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    contained within: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.contact-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    margin-top: 40px;
}

.social-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.social-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.contact-form-section {
    padding-left: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.5;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Smooth image loading */
.image-loading {
    background: linear-gradient(45deg, #333, #555);
    position: relative;
}

.image-loading::after {
    content: '📷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    opacity: 0.5;
}


/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .about-main {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        height: 400px;
    }

    .about-info {
        padding-left: 0;
        text-align: center;
    }

    .feature-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto 40px;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        padding: 40px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info-section {
        padding-right: 0;
    }

    .contact-form-section {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .coverflow-item {
        width: 200px;
        height: 200px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .nav-button.prev {
        left: 20px;
    }

    .nav-button.next {
        right: 20px;
    }

    .info h2 {
        font-size: 24px;
    }

    .info p {
        font-size: 14px;
    }

    .about-header h2 {
        font-size: 36px;
    }

    .about-info h3 {
        font-size: 28px;
    }

    .about-visual {
        height: 400px;
    }

    .showcase-display {
        max-width: 350px;
        height: 400px;
    }

    .showcase-main {
        width: 100%;
        height: 350px;
        padding: 30px;
    }

    .showcase-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }

    .showcase-title {
        font-size: 28px;
    }

    .showcase-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .corner-decoration {
        display: none;
    }

    .stat-number {
        font-size: 36px;
    }

    .contact-content h2 {
        font-size: 36px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 70px;
        padding: 0 15px;
    }

    .header.scrolled {
        height: 60px;
    }

    .coverflow-item {
        width: 180px;
        height: 180px;
    }

    .about-content,
    .contact-content {
        padding: 20px;
    }

    .contact-container {
        gap: 30px;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-header h2 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .contact-header p {
        font-size: 16px;
        padding: 0 10px;
    }

    .contact-info-section {
        margin-bottom: 20px;
    }

    .contact-info-section h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .contact-info-section > p {
        font-size: 14px;
        padding: 0 10px;
        margin-bottom: 30px;
    }

    .contact-details {
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
        gap: 12px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-text h4 {
        font-size: 14px;
    }

    .contact-text p {
        font-size: 12px;
        word-break: break-word;
    }

    .social-links {
        margin-top: 30px;
    }

    .social-links h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .social-buttons {
        gap: 10px;
    }

    .social-btn {
        width: 40px;
        height: 40px;
    }

    .social-btn svg {
        width: 18px;
        height: 18px;
    }

    .contact-form {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
        border-radius: 8px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 16px;
        border-radius: 25px;
    }
}
/* ============================================= */
/* MOBILE OPTIMIERUNG + KEIN HORIZONTAL SCROLL */
/* ============================================= */

html, body {
    width: 100%;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

body {
    min-width: 320px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sicherstellen, dass alle Kinder nicht überlaufen */
*,
*::before,
*::after {
    max-width: 100%;
    box-sizing: border-box;
}

/* Header auf Mobile */
@media (max-width: 768px) {
    .header {
        padding: 0 15px;
        height: 70px;
    }
    .header.scrolled {
        height: 60px;
    }
    .logo-img {
        height: 45px;
    }
}

/* Coverflow Section – kein Überlauf */
.coverflow-section,
.coverflow-wrapper,
.coverflow-container {
    overflow: hidden !important;
    width: 100%;
    padding: 0 10px;
}

.coverflow {
    width: 100% !important;
    overflow: hidden;
}

/* Coverflow Items – kleiner auf Mobile */
@media (max-width: 768px) {
    .coverflow-item {
        width: 180px !important;
        height: 180px !important;
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .coverflow-item {
        width: 160px !important;
        height: 160px !important;
    }
}

/* Nav Buttons – kleiner und besser platziert */
.nav-button {
    width: 40px;
    height: 40px;
    font-size: 18px;
    z-index: 100;
}

.nav-button.prev { left: 15px; }
.nav-button.next { right: 15px; }

/* ============================================= */
/* SUPPORT CHAT BUTTON – MOBILE SICHER */
/* ============================================= */

#chatButton,
.chat-button {
    position: fixed !important;
    bottom: 90px !important; /* Platz für Cookie-Banner */
    right: 20px !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background: #4F46E5 !important;
    color: white !important;
    font-size: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    z-index: 9998 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    padding: 0 !important;
}

#chatButton:hover,
.chat-button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4) !important;
}

/* Falls du den iframe-Chat hast */
#chatFrame,
iframe[src*="questoai.com/chat"] {
    position: fixed !important;
    bottom: 100px !important;
    right: 20px !important;
    width: calc(100vw - 40px) !important;
    max-width: 380px !important;
    height: 600px !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    z-index: 9997 !important;
    border: none !important;
    display: none;
}

/* ============================================= */
/* COOKIE BANNER – MOBILE OPTIMIERT */
/* ============================================= */

.cookie-banner {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    max-width: none !important;
    width: auto !important;
    z-index: 9999 !important;
    animation: slideIn 0.5s ease-out forwards;
}

@media (min-width: 480px) {
    .cookie-banner {
        left: auto !important;
        right: 20px !important;
        width: 340px !important;
        max-width: 340px !important;
    }
}

.cookie-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04) !important;
}

.cookie-card .actions {
    flex-direction: row !important;
    gap: 0.75rem !important;
}

@media (max-width: 480px) {
    .cookie-card .actions {
        flex-direction: column !important;
    }
    .cookie-card .pref,
    .cookie-card .accept {
        width: 100% !important;
        text-align: center !important;
    }
}

/* Animationen */
@keyframes slideIn {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideOut {
    to { transform: translateY(100px); opacity: 0; }
}
/* ===== SUPPORT TEST SECTION ===== */
 {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;#support-test
    justify-content: center;
    padding: 100px 20px;
}

.support-test-content {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.support-test-content .about-header h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-test-content .about-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

.support-input-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

/* Input Feld – voll funktionsfähig */
#support-main {
    position: relative;
}

#supportInput {
    background-color: #010201;
    border: none;
    width: 100%;
    height: 56px;
    border-radius: 10px;
    color: white;
    padding: 0 70px 0 60px;
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: auto !important;
}

#supportInput::placeholder {
    color: #c0b9c0;
}

#supportInput:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.5);
}

/* Submit Button */
.support-submit-btn {
    margin-top: 30px;
    width: 100%;
    max-width: 300px;
    padding: 16px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.support-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.support-submit-btn:active {
    transform: translateY(-1px);
}

/* Responsiv */
@media (max-width: 768px) {
    .support-test-content .about-header h2 {
        font-size: 2.8rem;
    }
    #supportInput {
        font-size: 16px;
        padding: 0 60px 0 50px;
    }
}
/* ============================================= */
/* STATS GRID – 6 KARTEN – GLEICHE FORM, QUESTOAI FARBEN */
/* From Uiverse.io by kushalyadavweb */
/* ============================================= */

.stats-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-card {
    width: 100%;
    height: 190px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stats-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: var(--card-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-card:hover {
    transform: translateY(-12px) scale(1.06);
    box-shadow: 0 24px 50px rgba(102, 126, 234, 0.5);
    border-color: transparent;
}

.stats-card svg {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    fill: #ffffff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: transform 0.3s ease;
}

.stats-card:hover svg {
    transform: scale(1.15);
}

.stats-card .quantity {
    font-size: 30px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e0daff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.stats-card .text {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.3px;
}
/* Auto-Hover Effekt simulieren */
.stats-card.auto-hover {
    transform: translateY(-12px) scale(1.06) !important;
    box-shadow: 0 24px 50px rgba(102, 126, 234, 0.5) !important;
    border-color: transparent !important;
    z-index: 10;
}

.stats-card.auto-hover::before {
    opacity: 1 !important;
}

.stats-card.auto-hover svg {
    transform: scale(1.15) !important;
}

/* ============================================= */
/* FARBEN – ABGESTIMMT AUF QUESTOAI (kein Regenbogen!) */
/* ============================================= */

.item--1 { --card-gradient: linear-gradient(135deg, #5c4ee6 0%, #667eea 100%); }
.item--2 { --card-gradient: linear-gradient(135deg, #6a44d4 0%, #764ba2 100%); }
.item--3 { --card-gradient: linear-gradient(135deg, #cf30aa 0%, #e91e63 100%); }
.item--4 { --card-gradient: linear-gradient(135deg, #4a3ac7 0%, #5e52c7 100%); }
.item--5 { --card-gradient: linear-gradient(135deg, #3f3b8a 0%, #5c4ee6 100%); }
.item--6 { --card-gradient: linear-gradient(135deg, #6d4bb8 0%, #8e66ff 100%); }

/* ============================================= */
/* RESPONSIVE – immer 2x3, dann 2x2, dann 1x1 */
/* ============================================= */

@media (max-width: 992px) {
    .stats-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stats-card {
        height: 170px;
        padding: 20px;
    }
    .stats-card .quantity { font-size: 28px; }
    .stats-card svg { width: 44px; height: 44px; }
}

@media (max-width: 600px) {
    .stats-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .stats-card {
        height: 160px;
    }
    .stats-card .quantity { font-size: 26px; }
    .stats-card .text { font-size: 14px; }
}
 
/* ========================= */
/* QUESTOAI – DIAGONAL BUSINESS CARDS */
/* ========================= */

.cards-grid {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  height: 150vmin; /* ausreichend Höhe für 3 versetzte Cards */
}

/* === Versetzte Platzierung === */
.cards-grid .m2:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0; /* ganz links */
}

.cards-grid .m2:nth-child(2) {
  position: absolute;
  top: 50vmin; /* weiter unten */
  right: 0; /* ganz rechts */
}

.cards-grid .m2:nth-child(3) {
  position: absolute;
  top: 100vmin; /* wieder unten */
  left: 0; /* wieder links */
}

/* === Card Design === */
.m2 {
  position: relative;
  width: 85%;              /* breit, fast bis zum Rand */
  height: 38vmin;          /* noch etwas höher */
  background: linear-gradient(135deg, #121212 10%, #1b1b1b 60%);
  border-radius: 1.5vmin;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4vmin 6vmin;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Inhalt der Cards */
.m2 .logo {
  display: flex;
  align-items: center;
  gap: 2.5vmin;
  font-size: 4.5vmin;
  font-weight: 700;
  background-image: linear-gradient(to right, #bfbfbf, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.m2 .logo svg {
  width: 7vmin;
  height: 7vmin;
  flex-shrink: 0;
}

/* === Rahmen-Effekt === */
.m2::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    120deg,
    #ff0056,
    #6500ff,
    #00a6ff,
    #ff7a00,
    #ff0056
  );
  background-size: 300% 300%;
  animation: borderFlow 6s linear infinite;
  opacity: 0;
  transition: opacity 0.4s ease;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}

/* Hover: nur Rahmen aktivieren */
.m2:hover::before {
  opacity: 1;
}

/* Kein Skalieren oder Leuchten der Karte */
.m2:hover {
  transform: none;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Responsive: stapeln bei schmalen Bildschirmen === */
@media (max-width: 900px) {
  .cards-grid {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8vmin;
  }

  .cards-grid .m2 {
    position: static;
    width: 90vw;
    height: auto;
    flex-direction: column;
    text-align: center;
    padding: 6vmin 4vmin;
  }

  .m2 .logo {
    justify-content: center;
  }

  .m2 .logo svg {
    width: 8vmin;
    height: 8vmin;
  }
}
/* ============================= */
/* FIX: Full-bleed & harter Versatz für About-Cards */
/* ============================= */

/* 1) Grid auf volle Viewportbreite ziehen (unabhängig von .about-content max-width/padding) */
#about .cards-grid{
  position: relative;
  width: 100vw !important;     /* ignoriert max-width der Eltern */
  max-width: 100vw !important;
  left: 50%;
  transform: translateX(-50%); /* zentriert das 100vw-Element im Viewport */
  height: 132vmin;             /* genug Höhe für 3 stark versetzte Cards */
  margin: 0;                   /* keine seitlichen Abstände */
  padding: 0;
  box-sizing: border-box;
}

/* 2) Cards wirklich an die Ränder + größer */
#about .cards-grid .m2{
  position: absolute !important;
  width: 92vw !important;      /* sehr breit */
  height: 40vmin !important;   /* etwas höher */
  background: linear-gradient(135deg, #121212 10%, #1b1b1b 60%);
  border-radius: 1.5vmin;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 4vmin 6vmin;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* 3) Starker Versatz: links – rechts – links, direkt am Rand */
#about .cards-grid .m2:nth-child(1){ top: 0;        left: 0; }
#about .cards-grid .m2:nth-child(2){ top: 44vmin;   right: 0; }
#about .cards-grid .m2:nth-child(3){ top: 88vmin;   left: 0; }

/* ========================= */
/* FEINTUNING: gleichmäßiger Randabstand */
/* ========================= */

:root {
  --card-margin: 4vmin; /* gemeinsamer optischer Abstand */
}

/* erster Block: links */
#about .cards-grid .m2:nth-child(1){
  top: 0;
  left: var(--card-margin);
}

/* zweiter Block: rechts unten */
#about .cards-grid .m2:nth-child(2){
  top: 44vmin;
  right: var(--card-margin);
}

/* dritter Block: wieder links unten */
#about .cards-grid .m2:nth-child(3){
  top: 88vmin;
  left: var(--card-margin);
}


/* 4) Nur Rahmen-Animation beim Hover (beibehaltener Effekt) */
#about .cards-grid .m2::before{
  content: "";
  position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: linear-gradient(120deg,#ff0056,#6500ff,#00a6ff,#ff7a00,#ff0056);
  background-size: 300% 300%; animation: borderFlow 6s linear infinite;
  opacity: 0; transition: opacity .4s ease;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
#about .cards-grid .m2:hover::before{ opacity: 1; }
#about .cards-grid .m2:hover{ transform: none; }

@keyframes borderFlow{
  0%{background-position:0% 50%}
  50%{background-position:100% 50%}
  100%{background-position:0% 50%}
}

/* 5) Mobile: normal stapeln */
@media (max-width: 900px){
  #about .cards-grid{
    height: auto; display: flex; flex-direction: column; gap: 6vmin;
  }
  #about .cards-grid .m2{
    position: static !important;
    width: 90vw !important;
    height: auto !important;
    text-align: center;
    padding: 6vmin 4vmin;
  }
}
/* =============================== */
/* INHALT & ICONS in den BUSINESS CARDS */
/* =============================== */

.m2 .card-content {
  margin-left: 2vmin;
  display: flex;
  flex-direction: column;
  gap: 1.5vmin;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 75%;
}

.m2 .card-content p {
  margin: 0;
  line-height: 1.6;
}

.m2 .card-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.m2 .card-content li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.5em;
}

.m2 .card-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00a6ff;
  font-weight: bold;
}

/* Icon in der Card */
.card-icon {
  width: 200px;
  height: 200px;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
  margin-bottom: 1vmin;
}

.m2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3vmin; /* Abstand zwischen Icon und Text */
}

.m2 .card-icon {
  width: 250px;
  height: 250px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
}

/* ============================= */
/* VISUAL UPGRADE – helleres Grau für Cards */
/* ============================= */

#about .cards-grid .m2 {
  background: linear-gradient(135deg, #1d1d1f 0%, #2a2a2d 80%); /* helleres, edles Grau */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6); /* etwas kräftigerer Schatten */
  border: 1px solid rgba(255, 255, 255, 0.05); /* feine Kantenlinie für Tiefe */
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Beim Hover bleibt die Karte ruhig, aber wirkt etwas heller */
#about .cards-grid .m2:hover {
  background: linear-gradient(135deg, #232326 0%, #333336 80%);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

/* ============================= */
/* ICON RECHTS NUR IN CARD 2 */
/* ============================= */

#about .cards-grid .m2:nth-child(2) {
  flex-direction: row-reverse; /* kehrt die Reihenfolge um */
  justify-content: space-between; /* verteilt Inhalt gleichmäßig */
}

#about .cards-grid .m2:nth-child(2) .card-icon {
  margin-left: 0;
  margin-right: 2vmin; /* etwas Abstand vom rechten Rand */
}
/* CARDS MIT VERSATZ – Card 2 ganz rechts */
.long-cards-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.long-card {
  position: relative;
  width: 100%;
  max-width: 1100px;
  min-height: 160px;
  padding: 38px 50px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.long-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* LINKS mit Versatz (nicht ganz am Rand) */
.long-card.left-offset {
  margin-left: 8%;
  margin-right: auto;
}

/* RECHTS – ganz am Rand */
.long-card.right-edge {
  margin-left: auto;
  margin-right: 0;
}

/* Hover Effekt */
.long-card::before,
.long-card::after {
  content: "";
  position: absolute;
  width: 12rem;
  height: 12rem;
  background: #cf30aa;
  border-radius: 50%;
  opacity: 0;
  z-index: 0;
  transition: all 0.6s ease;
}

.long-card::before { top: -6rem; right: -6rem; }
.long-card::after { bottom: -6rem; left: -6rem; }

.long-card:hover::before,
.long-card:hover::after {
  scale: 8;
  opacity: 0.7;
}

.long-card:hover {
  border-color: #cf30aa;
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 28px 56px rgba(207, 48, 170, 0.45);
}

.long-card .content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: white;
}

.long-card .heading {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e0daff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.long-card .para {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}
/* ============================= */
/* ABOUT GRID: 2 Spalten, flexible Größen */
/* ============================= */

.about-grid {
  display: grid;
  grid-template-columns: 690px 300px;  /* linke & rechte Spalte */
  grid-template-rows: 300px 300px 300px;
  column-gap: 10px;                       /* wirklich kein horizontaler Abstand */
  row-gap: 20px;                       /* vertikal etwas Platz */
  max-width: 990px;                    /* 690 + 300 = 990 → kein unnötiges Padding */
  margin: 0 auto;
  padding: 0;                          /* auch hier kein Rand */
  justify-content: center;
}

/* Basis-Stile für alle Karten */
.long-card,
.square-card {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.long-card.revealed,
.square-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* LANGE KARTEN – Inhalt zentriert */
.long-card {
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.long-card .content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.long-card .heading {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e0daff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.long-card .para {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

/* QUADRATISCHE KARTEN – Inhalt zentriert */
.square-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.square-card .square-icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  flex-shrink: 0;
}

.square-card .square-icon svg {
  width: 36px;
  height: 36px;
  fill: white;
}

.square-card h4 {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff, #e0daff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.square-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin: 0;
}

/* ============================= */
/* INDIVIDUELLE GRÖßEN – FREI DEFINIERBAR */
/* ============================= */

/* Beispiel: Jede Karte hat eigene Breite & Höhe */
.card-size-1 { width: 690px; height: 300px; margin-left: auto; margin-right: 0; }
.card-size-2 { width: 300px; height: 300px; margin: 0 auto; }
.card-size-3 { width: 300px; height: 300px; margin: 0 auto; }
.card-size-4 { width: 690px; height: 300px; margin-left: 0; margin-right: auto; }
.card-size-5 { width: 690; height: 300px; margin-left: auto; margin-right: 0; }
.card-size-6 { width: 300px; height: 300px; margin: 0 auto; }

/* Hover */
.long-card:hover,
.square-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.4);
  border-color: #764ba2;
}

.square-card:hover .square-icon {
  background: linear-gradient(135deg, #764ba2, #cf30aa);
}

/* ============================= */
/* RESPONSIVE: Stapeln + eigene Größen beibehalten */
/* ============================= */

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Alle Karten zentriert, eigene Größe bleibt */
  .long-card,
  .square-card {
    width: 100% !important;
    max-width: 600px;
    margin: 0 auto !important;
    height: auto !important;
    min-height: 240px;
    padding: 36px 40px;
  }

  .square-card {
    padding: 32px;
  }
}

@media (max-width: 480px) {
  .long-card,
  .square-card {
    padding: 28px 24px;
    min-height: 200px;
  }

  .square-card .square-icon {
    width: 56px;
    height: 56px;
  }

  .square-card .square-icon svg {
    width: 30px;
    height: 30px;
  }
}
/* ---------- Stacking Section ---------- */
.stacking-section {
  padding: 140px 20px 200px;
  background: #0f0f0f;
  overflow: hidden;
}
.stacking-header {
  max-width: 900px;
  margin: 0 auto 120px;
  text-align: center;
  color: #fff;
}
.stacking-header h2 {
  font-size: 3rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Wrapper – erzeugt Scroll-Höhe ---------- */
.stack-wrapper {
  position: relative;
  height: 400vh;               /* genug Platz für 4 Karten */
  pointer-events: none;
}

/* ---------- Einzelne Karte ---------- */
.stack-card {
  position: sticky;
  top: 12vh;                                 /* Abstand vom oberen Rand */
  width: 80%;
  max-width: 620px;
  margin: 0 auto;
  height: 100vh;
  padding: 60px 40px;
  background: #1a1a2e;
  border-radius: 28px;
  border: 2px solid rgba(255,255,255,.1);
  box-shadow: 0 25px 50px rgba(0,0,0,.5);
  color: #fff;
  opacity: 0;
  transform: translateY(80px) scale(.94);
  transition: transform .9s cubic-bezier(.23,1,.32,1),
              opacity .9s ease-out;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* gestaffelter Offset (wie in deinem Next-JS-Beispiel) */
.stack-card:nth-child(1) { z-index: 4; top: calc(-5vh + 0px); }
.stack-card:nth-child(2) { z-index: 3; top: calc(-5vh + 25px); }
.stack-card:nth-child(3) { z-index: 2; top: calc(-5vh + 50px); }
.stack-card:nth-child(4) { z-index: 1; top: calc(-5vh + 75px); }

/* sichtbar → Animation */
.stack-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Icon (optional) */
.stack-card::before {
  content: attr(data-index);
  position: absolute;
  top: 24px; left: 24px;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-weight: bold;
  font-size: 1.4rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile */
@media (max-width: 768px) {
  .stack-wrapper { height: 340vh; }
  .stack-card { width: 90%; padding: 40px 20px; top: 8vh; }
  .stack-card:nth-child(1) { top: calc(-5vh + 0px); }
  .stack-card:nth-child(2) { top: calc(-5vh + 20px); }
  .stack-card:nth-child(3) { top: calc(-5vh + 40px); }
  .stack-card:nth-child(4) { top: calc(-5vh + 60px); }
}
/* STACKING CARDS ON SCROLL – PERFEKTER STICKY EFFEKT */
.stacking-section {
  background: #0f0f0f;
  padding: 100px 0;
  overflow: hidden;
}

.cards {
  --card-height: 600px;
  --cards-count: 4;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-rows: repeat(var(--cards-count), var(--card-height));
  gap: 50px 0;
  padding: 0 20px;
}

.card {
  position: sticky;
  top: 0;
}

.card__inner {
  will-change: transform;
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,0.6);
  transform-origin: center top;
  transition: filter 0.3s ease;
  display: flex;
  height: var(--card-height);
}

.card__image-container {
  position: relative;
  width: 40%;
  flex-shrink: 0;
  overflow: hidden;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-icon-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-weight: bold;
  font-size: 1.8rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.card__content {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.card__title {
  margin: 0 0 20px 0;
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff, #e0daff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.card__description {
  font-size: 1.3rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.space {
  height: 100vh;
}

.space--small {
  height: 50vh;
}

/* Hover Effekt */
.card__inner:hover .card__image {
  transform: scale(1.05);
}

.card__inner:hover {
  filter: brightness(1.1);
  box-shadow: 0 40px 80px -16px rgba(102, 126, 234, 0.4);
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .card__inner {
    flex-direction: column;
    height: auto;
    min-height: 600px;
  }
  .card__image-container {
    width: 100%;
    height: 300px;
  }
  .card__title {
    font-size: 2.2rem;
  }
  .card__content {
    padding: 40px 30px;
  }
  .cards {
    gap: 30px 0;
  }
}
/* =================================== */
/* QUESTO SECTION – Früherer Einstieg + Original Card Design */
/* =================================== */

.questo-section {
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  overflow: visible;
  padding: 80px 60px 140px 60px; /* OBEN: früher sichtbar | UNTEN: nach letzter Card */
}

.questo-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  position: relative;
  z-index: 1;
}

/* === FIXIERTER TEXT – FRÜH SICHTBAR === */
/* QUESTO TEXT – SMOOTH FADE IN/OUT */
#questoTextFixed {
  position: fixed;
  top: 50%;
  left: 12%;
  transform: translate(-100%, -50%);
  max-width: 520px;
  width: 90%;
  text-align: left;
  color: white;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  /* Weiche Übergänge */
  transition: 
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.0s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s 0.5s;
}

#questoTextFixed.active {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
  pointer-events: auto;

  /* Sofort sichtbar machen */
  transition: 
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1.0s cubic-bezier(0.34, 1.56, 0.64, 1),
    visibility 0s 0s;
}

/* Text-Stile */
.questo-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #6F4CFF, #00DDEB, #CF30AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.questo-subtitle {
  font-size: 1.5rem;
  color: #cccccc;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.questo-body {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  margin: 0;
}

/* === SCROLLENDE CARDS – ORIGINAL DESIGN === */
.questo-cards-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 160px; /* Karten beginnen früh genug */
  position: relative;
  left: 400px; /* nach links */
  right: auto;
  align-items: flex-start;
}

/* LETZTE CARD: Section endet hier */
.questo-card:last-child {
  margin-bottom: 100px; /* Du kontrollierst das Ende */
}

.questo-card {
  --card-bg: #0f0f0f;
  --card-accent: #6F4CFF;
  --card-text: #e0e0e0;
  --card-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);

  width: 300px;
  height: 340px;
  background: var(--card-bg);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.questo-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(111, 76, 255, 0.4);
}

/* Shine & Glow Effekte – ORIGINAL */
.card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 60%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.questo-card:hover .card__shine {
  opacity: 1;
  animation: shine 3s infinite;
}

.card__glow {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle at 50% 0%, rgba(111, 76, 255, 0.35) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.questo-card:hover .card__glow {
  opacity: 1;
}

.card__content {
  padding: 1.8em;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
  position: relative;
  z-index: 2;
}

.card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #10b981;
  color: white;
  padding: 0.4em 0.7em;
  border-radius: 999px;
  font-size: 0.75em;
  font-weight: 600;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.questo-card:hover .card__badge {
  transform: scale(1);
  opacity: 1;
}

.card__image {
  width: 100%;
  height: 120px;
  background: linear-gradient(45deg, var(--bg-color), color.adjust(var(--bg-color), $hue: 30));
  border-radius: 16px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 30%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.1) 0px, rgba(255,255,255,0.1) 2px, transparent 2px, transparent 4px);
}

.questo-card:hover .card__image {
  transform: translateY(-8px) scale(1.04);
}

.card__title {
  color: white;
  font-size: 1.4rem;
  margin: 0;
  font-weight: 700;
  transition: all 0.3s ease;
}

.questo-card:hover .card__title {
  color: #ffffff;
  transform: translateX(4px);
}

.card__description {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.questo-card:hover .card__description {
  opacity: 1;
  transform: translateX(4px);
}

.card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.card__price {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.questo-card:hover .card__price {
  color: #6F4CFF;
  transform: translateX(4px);
}

.card__button {
  width: 36px;
  height: 36px;
  background: var(--card-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.9);
  font-weight: bold;
}

.questo-card:hover .card__button {
  transform: scale(1);
  box-shadow: 0 0 0 6px rgba(111, 76, 255, 0.3);
}

.questo-card:hover .card__button {
  animation: pulse 1.5s infinite;
}

/* Animationen – ORIGINAL */
@keyframes shine {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* =================================== */
/* RESPONSIVE – Mobile & Tablet */
/* =================================== */

@media (max-width: 1100px) {
  .questo-container {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  #questoTextFixed {
    position: static;
    transform: none;
    text-align: center;
    max-width: 700px;
    left: auto;
    opacity: 1;
    visibility: visible;
  }

  #questoTextFixed.active {
    transform: none;
  }

  .questo-title {
    font-size: 3.5rem;
  }

  .questo-cards-wrapper {
    align-items: center;
    padding-top: 80px;
    margin-left: 0;
    max-width: 100%;
  }

  .questo-card {
    width: 280px;
    height: 320px;
  }

  .questo-card:last-child {
    margin-bottom: 80px;
  }
}

@media (max-width: 768px) {
  .questo-section {
    padding: 60px 20px 100px 20px;
  }

  .questo-title {
    font-size: 2.8rem;
  }

  .questo-subtitle {
    font-size: 1.3rem;
  }

  .questo-cards-wrapper {
    padding-top: 100px;
    gap: 60px;
  }

  .questo-card {
    width: 260px;
    height: 300px;
  }

  .questo-card:last-child {
    margin-bottom: 60px;
  }
}

@media (max-width: 480px) {
  .questo-title {
    font-size: 2.4rem;
  }

  #questoTextFixed {
    left: 5%;
    width: 90%;
  }
}
/* ============================================= */
/* MOBILE OPTIMIERUNGEN – ALLE SECTIONS AUSSER #home */
/* ============================================= */

@media (max-width: 768px) {
    /* Header */
    .header {
        padding: 0 20px;
        height: 70px;
    }
    .header.scrolled {
        height: 60px;
    }
    .logo-img {
        height: 40px;
    }
    .main-menu {
        gap: 20px;
    }
    .menu-item {
        font-size: 14px;
    }

    /* Stats Grid */
    .stats-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }
    .stats-card {
        padding: 28px 20px;
    }
    .stats-card .quantity {
        font-size: 2.2rem;
    }
    .stats-card .text {
        font-size: 1rem;
    }

    /* QuestoAI Presentation Section */
    .questo-section {
        padding: 60px 20px 100px;
    }
    .questo-container {
        flex-direction: column;
        gap: 40px;
    }
    #questoTextFixed {
        position: static;
        transform: none !important;
        text-align: center;
        max-width: 100%;
        padding: 0 10px;
        opacity: 1 !important;
        visibility: visible !important;
    }
    #questoTextFixed.active {
        transform: none !important;
    }
    .questo-title {
        font-size: 2.6rem;
    }
    .questo-subtitle {
        font-size: 1.3rem;
    }
    .questo-body {
        font-size: 1.1rem;
    }
    .questo-cards-wrapper {
        align-items: center;
        padding-top: 40px;
        gap: 50px;
        left: 0;
    }
    .questo-card {
        width: 280px;
        height: 320px;
    }
    .questo-card:last-child {
        margin-bottom: 60px;
    }

    /* Stacking Cards */
    .cards {
        gap: 30px 0;
        padding: 0 15px;
    }
    .card__inner {
        flex-direction: column;
        min-height: 550px;
    }
    .card__image-container {
        width: 100%;
        height: 280px;
    }
    .card__content {
        padding: 35px 25px;
    }
    .card__title {
        font-size: 2.2rem;
    }
    .card__description {
        font-size: 1.15rem;
    }

    /* Contact Form */
    .contact-form-section {
        padding: 0 20px;
    }
    .contact-form {
        padding: 32px 24px;
    }
    .form-group label {
        font-size: 0.95rem;
    }
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 14px;
    }
    .submit-btn {
        width: 100%;
        padding: 16px;
        font-size: 1.1rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .footer-links a {
        font-size: 0.9rem;
    }

    /* Scroll to Top */
    .scroll-to-top {
        width: 44px;
        height: 44px;
        right: 16px;
        bottom: 80px;
        font-size: 0.9rem;
    }

    /* Chat Widget */
    .chat-widget {
        width: calc(100vw - 30px);
        height: 80vh;
        max-height: 600px;
        bottom: 80px;
        right: 15px;
        left: 15px;
        border-radius: 16px;
    }
    .chat-header {
        padding: 12px 16px;
        font-size: 1.1rem;
    }
    .close-btn {
        width: 28px;
        height: 28px;
        font-size: 1.4rem;
    }

    /* Cookie Banner */
    .cookie-banner {
        left: 15px;
        right: 15px;
        bottom: 15px;
        max-width: none;
    }
    .cookie-card .actions {
        flex-direction: column;
    }
    .cookie-card .pref,
    .cookie-card .accept {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Header */
    .logo-img {
        height: 36px;
    }
    .menu-item {
        font-size: 13px;
    }

    /* Stats */
    .stats-card {
        padding: 24px 16px;
    }
    .stats-card .quantity {
        font-size: 2rem;
    }

    /* QuestoAI */
    .questo-title {
        font-size: 2.2rem;
    }
    .questo-card {
        width: 250px;
        height: 300px;
    }

    /* Stacking Cards */
    .card__title {
        font-size: 2rem;
    }
    .card__image-container {
        height: 240px;
    }

    /* Contact */
    .contact-form {
        padding: 28px 20px;
    }

    /* Chat Widget */
    .chat-widget {
        bottom: 70px;
        height: 78vh;
    }
}
/* FIX: Einheitliche Icon-Größe auf ALLEN Geräten */
.stats-card svg {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
    margin-bottom: 16px;
}

/* Mobile: Noch etwas kleiner, aber immer gleich */
@media (max-width: 768px) {
    .stats-card svg {
        width: 38px !important;
        height: 38px !important;
    }
}
/* Volle Breite für bestimmte Sections */
.full-width {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 60px 20px;
  background: #000; /* oder deine gewünschte Farbe */
}

/* Optional: Footer spezifisch */
#footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ——— QUESTOAI MODERN FOOTER ——— */
.questo-footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0f0f1f 100%);
  color: rgba(255, 255, 255, 0.7);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 80px 20px 40px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  text-align: center;
}

/* CTA Bereich */
.footer-cta {
  max-width: 600px;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #6F4CFF, #CF30AA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 24px 0;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #6F4CFF, #CF30AA);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(111, 76, 255, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(111, 76, 255, 0.5);
}

/* Trennlinie */
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* Links + Socials */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #6F4CFF;
}

.footer-socials {
  display: flex;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;           /* WICHTIG */
  z-index: 10;
  pointer-events: auto !important;
}

.social-icon:hover {
  background: #6F4CFF;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(111, 76, 255, 0.4);
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

/* Copyright */
.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.heart {
  color: #e11d48;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .cta-title {
    font-size: 2.2rem;
  }
  .footer-bottom {
    gap: 24px;
  }
  .footer-links {
    gap: 20px;
    font-size: 0.9rem;
  }
}
/* Header – Leicht durchsichtig mit Glas-Effekt */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: rgba(0, 0, 0, 0.45); /* Leichte Transparenz */
    backdrop-filter: blur(12px); /* Sanfter Blur für Glas-Look */
    -webkit-backdrop-filter: blur(12px); /* Safari Support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.3s ease;
}

/* Beim Scrollen: Etwas dunkler & mehr Blur */
.header.scrolled {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    height: 75px;
    border-bottom-color: rgba(255, 255, 255, 0.15);
}
/* GLOBAL FIXIERTE ELEGANTE FORMEN */
.elegant-shapes-container {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0; /* Hinter allem, aber über dunklen Hintergrund */
}

.elegant-shape {
  position: fixed !important;
  opacity: 0;
  animation: float 12s infinite ease-in-out, fadeInShape 2.4s forwards;
  animation-delay: calc(var(--delay, 0) * 1s), calc(var(--delay, 0) * 1s);
  filter: blur(2px);
}

.elegant-shape::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--gradient, 'from-white/[0.08]'), transparent);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
}

.elegant-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2), transparent 70%);
}
.elegant-shape:hover {
  filter: blur(1px);
}
/* Animationen */
@keyframes fadeInShape {
  from { opacity: 0; transform: translateY(-150px) rotate(calc(var(--rotate, 0deg) - 15deg)); }
  to { opacity: 1; transform: translateY(0) rotate(var(--rotate, 0deg)); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

/* ============================================= */
/* GLOBALE HINTERGRUND-REGEL: ALLE SECTIONS SCHWARZ */
/* ============================================= */

body {
    background: #000 !important;
}

.section,
.hero-section,
.coverflow-section,
#about,
#contact,
#questo-presentation,
#stats-grid,
#promises,
#benefits,
.questo-section,
.full-width,
.questo-footer {
    background: #000 !important;
    background-color: #000 !important;
}

/* Sicherstellen, dass keine Gradienten oder andere Hintergründe durchscheinen */
* {
    background-attachment: scroll !important;
}

/* Speziell für bestehende Gradienten im Originalcode überschreiben */
.hero-section,
#about,
#contact,
.coverflow-section,
.questo-section {
    background-image: none !important;
}

/* Footer bleibt schwarz – auch wenn Gradienten im Original waren */
.questo-footer {
    background: #000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Optional: Dunkle Overlay-Elemente anpassen, falls sie sichtbar sind */
.absolute.inset-0,
.grid,
.darkBorderBg,
.glow,
.white,
.border,
#darkveil-canvas {
    background: transparent !important;
    background-color: transparent !important;
}
/* === MOBILE: Elegante Formen vollständig ausblenden === */
@media (max-width: 768px) {
  .elegant-shape {
    display: none !important;
  }

  /* Optional: Auch den Container ausblenden, falls er Platz beansprucht */
  .absolute.inset-0.overflow-hidden {
    display: none !important;
  }
}
/* =================================== */
/* CONTACT SECTION – MOBILE OPTIMIZED */
/* =================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-section,
.contact-form-section {
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(111,76,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 20px;
}

.checkbox-label input {
    accent-color: #6F4CFF;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* MOBILE: 1 Spalte, optimierte Abstände */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-header h2 {
        font-size: 2.4rem;
    }

    .contact-header p {
        font-size: 1.1rem;
    }

    .contact-info-section h3 {
        font-size: 1.6rem;
    }

    .contact-info-section p {
        font-size: 1rem;
    }

    .contact-form {
        padding: 24px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-content {
        padding: 80px 16px;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 12px;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }
}
