/* assets/css/start.css */

/* RESET & ROOT */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #6366f1;
  --secondary: #ec4899;
  --accent: #06b6d4;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --bg-primary: #000000;
  --bg-secondary: #0a0a0a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --blur: rgba(0, 0, 0, 0.4);
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* NAVBAR */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-bar { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.nav-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 80px; gap: 40px; }
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform .3s ease;
}
.nav-logo:hover { transform: scale(1.05); }
.logo-img {
  height: 60px; /* Anpassbare Logo-Höhe für Desktop */
  width: auto; /* Beibehält das Seitenverhältnis */
  max-height: 100%; /* Verhindert Überschreiten der Navbar-Höhe */
  object-fit: contain; /* Proportionale Skalierung */
}
.nav-main { justify-self: center; }
.nav-main ul { display: flex; gap: 48px; list-style: none; align-items: center; }
.nav-main a {
  color: var(--text-secondary); text-decoration: none; font-weight: 500; padding: 12px 0; position: relative; transition: all .3s ease;
}
.nav-main a::before {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width .3s ease;
}
.nav-main a:hover, .nav-main a.is-active { color: var(--text-primary); }
.nav-main a:hover::before, .nav-main a.is-active::before { width: 100%; }
.nav-right { display: flex; gap: 16px; align-items: center; }
.icon-btn {
  width: 48px; height: 48px; border: none; background: rgba(255,255,255,.05);
  color: var(--text-secondary); border-radius: 12px; display:flex; align-items:center; justify-content:center;
  cursor: pointer; transition: all .3s ease; backdrop-filter: blur(10px); position: relative;
}
.icon-btn:hover { background: rgba(255,255,255,.1); color: var(--text-primary); transform: translateY(-2px); }
.icon-btn.has-badge::after {
  content: ''; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: var(--secondary);
  border-radius: 50%; border: 2px solid var(--bg-primary);
}
.nav-burger { display: none; }

/* MOBILE DRAWER */
.mobile-drawer {
  position: fixed; top: 0; right: -400px; width: 400px; height: 100vh;
  background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(20px); z-index: 1001;
  transition: right .4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid rgba(255,255,255,.1);
}
.mobile-drawer.open { right: 0; }
.mobile-drawer__inner { padding: 32px; height: 100%; display:flex; flex-direction: column; }
.drawer-head { display:flex; justify-content: space-between; align-items:center; margin-bottom: 48px; }
.drawer-head .nav-logo {
  display: flex;
  align-items: center;
}
.drawer-head .logo-img {
  height: 32px; /* Anpassbare Logo-Höhe im Drawer */
  width: auto;
  max-height: 100%;
  object-fit: contain;
}
.drawer-close {
  width: 40px; height: 40px; border: none; background: rgba(255,255,255,.1); color: var(--text-primary);
  border-radius: 8px; cursor: pointer; display:flex; align-items:center; justify-content:center;
}
.drawer-nav { display:flex; flex-direction: column; gap: 24px; }
.drawer-nav a {
  color: var(--text-primary); text-decoration: none; font-size: 18px; font-weight: 500; padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1); transition: color .3s ease;
}
.drawer-nav a:hover { color: var(--primary); }

/* HERO */
.hero {
  min-height: 100vh; display:flex; align-items:center; justify-content:center; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.1) 0%, transparent 70%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%22100%22 height=%22100%22 viewBox=%220 0 100 100%22><circle cx=%2250%22 cy=%2250%22 r=%221%22 fill=%22rgba(255,255,255,0.1)%22/></svg>') repeat;
  opacity: .3; animation: float 20s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(180deg); } }
.hero-content { text-align:center; max-width: 1200px; padding: 0 24px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items:center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px; padding: 8px 20px; font-size: 14px; font-weight: 500; color: var(--text-secondary);
  margin-bottom: 32px; backdrop-filter: blur(10px); animation: fadeInUp 1s ease-out .2s both;
}
.hero-badge::before { content: '✨'; font-size: 16px; }
.hero h1 {
  font-size: clamp(48px, 8vw, 96px); font-weight: 800; line-height: 1.1; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: fadeInUp 1s ease-out .4s both;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradient-shift 3s ease-in-out infinite;
}
@keyframes gradient-shift { 0%,100% { filter: hue-rotate(0deg); } 50% { filter: hue-rotate(180deg); } }
.hero p { font-size: 20px; color: var(--text-secondary); max-width: 600px; margin: 0 auto 48px; animation: fadeInUp 1s ease-out .6s both; }
.hero-cta { display:flex; gap: 24px; justify-content:center; flex-wrap: wrap; animation: fadeInUp 1s ease-out .8s both; }
@keyframes fadeInUp { from { opacity:0; transform: translateY(30px); } to { opacity:1; transform: translateY(0); } }

/* BUTTONS */
.btn {
  display: inline-flex; align-items:center; gap: 12px; padding: 16px 32px; border-radius: 12px; font-weight: 600;
  text-decoration: none; transition: all .3s ease; position: relative; overflow: hidden; border: none; cursor: pointer; font-size: 16px;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.btn-primary::before {
  content: ''; position: absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); transition: left .6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(99,102,241,.3); }
.btn-secondary { background: rgba(255,255,255,.05); color: var(--text-primary); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* FLOATING */
.floating-element { position: absolute; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); opacity: .1; animation: float-random 15s ease-in-out infinite; }
.floating-element:nth-child(1){ width:80px; height:80px; top:20%; left:10%; animation-delay:0s;}
.floating-element:nth-child(2){ width:120px; height:120px; top:60%; right:15%; animation-delay:-5s;}
.floating-element:nth-child(3){ width:60px; height:60px; bottom:20%; left:20%; animation-delay:-10s;}
@keyframes float-random { 0%,100%{ transform: translateY(0) translateX(0) rotate(0);} 25%{ transform: translateY(-20px) translateX(10px) rotate(90deg);} 50%{ transform: translateY(-40px) translateX(-10px) rotate(180deg);} 75%{ transform: translateY(-20px) translateX(5px) rotate(270deg);} }

/* SECTIONS */
.section { padding: 120px 24px; position: relative; }
.container { max-width: 1400px; margin: 0 auto; }
.section-header { text-align:center; margin-bottom: 80px; }
.section-header h2 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 700; margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-header p { font-size: 18px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 32px; margin-top: 64px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; backdrop-filter: blur(10px);
  transition: all .4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.card::before { content: ''; position: absolute; top:0; left:0; right:0; height:1px; background: linear-gradient(90deg,transparent,var(--primary),transparent); opacity:0; transition: opacity .3s ease; }
.card:hover { transform: translateY(-8px); border-color: rgba(99,102,241,.3); background: rgba(255,255,255,.05); }
.card:hover::before { opacity: 1; }
.card-icon { width:64px; height:64px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 16px; display:flex; align-items:center; justify-content:center; margin-bottom:24px; }
.card h3 { font-size: 24px; font-weight: 600; margin-bottom: 16px; color: var(--text-primary); }
.card p { color: var(--text-secondary); line-height: 1.6; }

/* SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(50px); transition: all .6s cubic-bezier(0.4,0,0.2,1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* GLOW */
.glow { position: relative; }
.glow::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 100px; height: 100px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s ease; pointer-events: none; z-index: -1;
}
.glow:hover::after { opacity: .3; }

/* CONTACT FORM */
.contact-form { max-width: 600px; margin: 0 auto; }
.form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 48px; backdrop-filter: blur(10px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.form-group { display:flex; flex-direction: column; gap: 8px; }
.form-group label { font-weight: 600; color: var(--text-primary); }
.form-group input, .form-group textarea {
  background: rgba(255,255,255,.05); border: 1px solid var(--border); border-radius: 12px; padding: 16px;
  color: var(--text-primary); font-family: inherit; font-size: 16px; transition: all .3s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: rgba(255,255,255,.08); box-shadow: 0 0 0 3px rgba(99,102,241,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form button { width: 100%; margin-top: 24px; }

/* FOOTER */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: 80px 24px 32px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-secondary); margin-top: 16px; max-width: 300px; }
.footer-column h4 { font-weight: 600; margin-bottom: 20px; color: var(--text-primary); }
.footer-column { display:flex; flex-direction: column; gap: 12px; }
.footer-column a { color: var(--text-secondary); text-decoration: none; transition: color .3s ease; }
.footer-column a:hover { color: var(--primary); }
.footer-bottom { display:flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-secondary); margin: 0; }
.footer-social { display:flex; gap: 16px; }
.social-link {
  width: 40px; height: 40px; display:flex; align-items:center; justify-content:center; background: rgba(255,255,255,.05);
  border-radius: 10px; color: var(--text-secondary); text-decoration:none; transition: all .3s ease;
}
.social-link:hover { background: var(--primary); color:#fff; transform: translateY(-2px); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav-main { display: none; }
  .nav-burger { 
    margin-left: auto;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 48px; 
    height: 48px; 
    border: none; 
    background: rgba(255,255,255,.05); 
    color: var(--text-primary); 
    border-radius: 12px; 
    cursor: pointer; 
    grid-column: 3; /* Burger-Menü ganz rechts */
  }
  .nav-right { 
    grid-column: 2; /* Social-Icons in der Mitte */
    justify-self: center; /* Zentriert die Icons */
    gap: 16px; /* Abstand zwischen Insta und TikTok */
  }
  .nav-logo {
    grid-column: 1; /* Logo links */
  }
  .nav-row {
    grid-template-columns: auto 1fr auto; /* Logo | Mitte (Icons) | Burger */
    height: 72px;
  }
  .logo-img {
    height: 32px; /* Anpassbare Logo-Höhe für Mobile */
  }
  .hero h1 { font-size: clamp(36px, 12vw, 72px); }
  .hero p { font-size: 18px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  .cards-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 80px 24px; }
  .footer-content { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .form { padding: 32px 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .section { padding: 60px 20px; }
}
@media (max-width: 640px) {
  .mobile-drawer { width: 100vw; right: -100vw; }
  .nav-right { gap: 8px; }
  .icon-btn { width: 40px; height: 40px; }
  .card { padding: 24px; }
  .hero-badge { font-size: 12px; padding: 6px 16px; }
}
@media (max-width: 480px) {
  .form { padding: 24px 16px; }
  .section-header h2 { font-size: clamp(28px, 8vw, 40px); }
}

/* --- Layout Fixes & Scroll Behavior Enhancements --- */
body { padding-top: 80px; } /* Kompensiert fixed Header */
@media (max-width: 1024px) { body { padding-top: 72px; } }

/* Smooth anchor positioning so section titles aren't hidden under header */
.section, .hero { scroll-margin-top: 100px; }

/* Header states */
.site-header {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header--hidden { transform: translateY(-100%); }
.site-header--solid { background: rgba(0,0,0,.9) !important; backdrop-filter: blur(20px); }

/* Ensure sections have enough contrast vs hero bg */
.section { background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.25) 30%, rgba(0,0,0,0.35) 100%); }
.section:nth-of-type(even) { background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(0,0,0,0.45) 100%); }

/* Active link style more visible */
.nav-main a.is-active { color: #fff; }
.nav-main a.is-active::before { width: 100%; }

/* Footer z-index and spacing so it's above particles */
.footer { position: relative; z-index: 2; }

/* === Pricing === */
.pricing .section-header p { max-width: 760px; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 36px;
  margin-top: 48px;
}

.price-cta {
  text-align: center;
}
.price-cta .btn {
  padding: 10px 20px;
  font-size: 16px;
}
.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 28px;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,.35);
  background: rgba(255,255,255,.06);
  box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(99,102,241,.15) inset;
}

.price-card .cards-grid .card {
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.price-card .cards-grid .card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}
.price-card .cards-grid .card p {
  font-size: 14px;
  color: var(--text-secondary);
}

.price-head { margin-bottom: 18px; }
.price-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

.price-head h3 { font-size: 22px; font-weight: 700; margin: 6px 0 8px; }
.price-row {
  display: flex; align-items: baseline; gap: 10px;
  margin: 10px 0 8px;
}
.price-row .from { color: var(--text-secondary); font-weight: 600; letter-spacing: .02em; }
.price-row .amount {
  font-weight: 800; line-height: 1;
  font-size: clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.7));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-sub { color: var(--text-secondary); margin-bottom: 14px; }

.price-features {
  margin: 8px 0 18px; padding-left: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.price-features li { line-height: 1.5; }

.price-cta .btn { width: 100%; justify-content: center; }

/* Featured (mittlere Karte) */
.price-card.is-featured {
  background: rgba(255,255,255,.07);
  border-color: rgba(99,102,241,.55);
  box-shadow: 0 24px 54px rgba(99,102,241,.15);
}
.price-card.is-featured:hover {
  box-shadow: 0 28px 64px rgba(99,102,241,.22);
}

/* ==== EDGE-FOLGENDER RAHMEN FÜR FEATURED-KARTE ==== */
.price-card.is-featured { position: relative; }

/* SVG deckt die Karte ab und erzeugt einen Rand entlang der Kanten */
.price-card.is-featured .edge {
  position: absolute;
  inset: -2px; /* minimal größer, damit der Rand außen sitzt */
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(99,102,241,.35));
  border-radius: 24px; /* optisch; Kurve kommt vom SVG rect rx */
}

/* Animation: „Licht“ läuft am Rand entlang */
.price-card.is-featured .edge rect {
  stroke-dasharray: 320; /* Umfang ~320 passt zu 100x100 viewBox mit runden Ecken */
  animation: edgeRun 5.5s linear infinite;
}

/* Hover: stärker & schneller */
.price-card.is-featured:hover .edge rect {
  animation-duration: 3.5s;
  filter: brightness(1.25);
}

@keyframes edgeRun {
  to { stroke-dashoffset: -320; }
}

/* Optional: Bewegungen reduzieren */
@media (prefers-reduced-motion: reduce) {
  .price-card.is-featured .edge rect { animation: none; }
}

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

.badge-featured {
  position: absolute; top: 14px; right: 16px;
  padding: 6px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
}

/* Hover-Highlight der ganzen Karte nochmals betonen */
.price-card:hover .price-row .amount {
  filter: brightness(1.1);
}

/* etwas mehr Platz auf kleinen Screens */
@media (max-width: 520px) {
  .price-card { padding: 28px 22px; }
  .price-features { gap: 8px; }
}
.amount del {
  color: var(--text-secondary); /* z. B. grau */
  margin-right: 8px;
  font-size: 0.85em;
}
.amount {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
}

.amount { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.amount .old-price {
  color: var(--text-secondary);
  text-decoration: line-through;
  font-weight: 700; font-size: .9em;
}
.amount .new-price {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.8));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* === Services: Hochkant-Karten mit Bild === */
.card-portrait {
  padding: 0; /* Rahmen übernimmt die Karte, Inhalt bekommt eigenen Padding */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-portrait .card-media {
  width: 100%;
  aspect-ratio: 4 / 3; /* Bildausschnitt: überall gleich (4:3) */
  background: #111; /* Fallback-Hintergrund */
  overflow: hidden;
}

.card-portrait .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* schneidet passend zu, gleiche Darstellung */
  display: block;
  transform: scale(1.02);
  transition: transform .4s ease, filter .4s ease;
}

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

.card-portrait .card-body {
  padding: 24px 28px 28px;
}

.cards-grid { align-items: stretch; } /* Karten gleich hoch im Grid */

/* Body beim offenen Drawer fixieren */
body.nav-open {
  overflow: hidden;
  height: 100vh; /* iOS fix */
  touch-action: none;
}

/* Dunkler, voller Hintergrund hinter dem Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0; /* top/right/bottom/left: 0 */
  z-index: 1000; /* direkt unter dem Drawer (1001) */
  background: rgba(0, 0, 0, 0.95); /* gleiche Anmutung wie Navbar/Drawer */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* sichtbar, klickfangend */
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==== Team – Simple Portrait Style (wie Vorlage) ==== */
.team-simple .section-header p { max-width: 720px; }

.team-simple-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 48px;
  max-width: 980px;
  margin: 24px auto 0;
}

/* Person-Card: alles mittig, klare Trennung */
.person{
  display:flex;
  flex-direction: column;
  align-items:center;
  text-align:center;
  gap: 14px;
}

/* Foto oben: 4:5, dünner Rand + feine Trennlinie-Optik */
.person .photo{
  width: 100%;
  aspect-ratio: 4/5;
  overflow:hidden;
  border-radius: 12px;
  background:#111;
  border:1px solid rgba(255,255,255,.12);
}
.person .photo img{
  width:100%; height:100%; object-fit: cover; display:block;
  filter: brightness(1.02);
  transition: transform .35s ease, filter .35s ease;
}
.person:hover .photo img{ transform: scale(1.03); filter: brightness(1.07); }

/* Name im eleganten Look (ohne neue Schrift, dafür kursiv + tracking) */
.person .name{
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: .2px;
  color: var(--text-primary);
  margin-top: 6px;
}

.person .role{
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: .02em;
  margin-top: -2px;
}

.person .desc{
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 2px;
}

/* Social-Icons klein, mittig */
.person .social{
  display:flex; gap:14px; justify-content:center; margin-top: 6px;
}
.person .social .ico{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:999px;
  background: rgba(255,255,255,.05);
  border:1px solid var(--border);
  color: var(--text-secondary);
  text-decoration:none;
  transition: all .25s ease;
}
.person .social .ico:hover{
  background: rgba(255,255,255,.12);
  color:#fff;
  transform: translateY(-2px);
}

/* Responsiv */
@media (max-width: 900px){
  .team-simple-grid{ grid-template-columns: 1fr; gap: 40px; }
}

/* Chatbot Styles */
.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chatbot-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chatbot-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 500px;
    height: 600px;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.chatbot-overlay.active .chatbot-container {
    transform: translate(-50%, -50%) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chatbot-title {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.chatbot-messages {
    height: 420px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 12px;
    animation: messageSlide 0.3s ease;
}

.message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.message-avatar.bot {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.message-avatar.user {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

.message-content {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 16px;
    max-width: 80%;
    line-height: 1.5;
    color: white;
}

.message.user .message-content {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
}

.message-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.chatbot-input {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 12px;
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.chatbot-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.chatbot-send {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-send:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.quick-actions {
    padding: 16px 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-action {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 0.85rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav-logo {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}



.nav-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .chatbot-container {
        width: 95%;
        height: 80vh;
        max-height: 600px;
    }
    
    .chatbot-messages {
        height: calc(80vh - 160px);
        max-height: 420px;
    }
}

/* Floating Chat Button */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.chat-bubble:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 16px 48px rgba(99, 102, 241, 0.5);
}

.chat-bubble::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.chat-bubble-icon {
    font-size: 1.8rem;
    color: white;
    position: relative;
    z-index: 1;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Notification Badge */
.chat-bubble .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    border: 2px solid white;
    animation: pulse-badge 2s infinite;
}

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

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .chat-bubble {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }
    
    .chat-bubble-icon {
        font-size: 1.5rem;
    }
}

/* === CTA Strip unter Leistungen === */
.cta-strip{
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.cta-strip::before{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 100% at 50% 0%, rgba(99,102,241,.18) 0%, transparent 70%);
  opacity: .25;
  pointer-events: none;
}
.cta-inner{
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cta-text{
  font-size: 18px; color: var(--text-secondary);
}
.cta-text span{
  color: #fff; font-weight: 700;
}
@media (max-width: 640px){
  .cta-inner{ flex-direction: column; align-items: flex-start; gap: 14px; }
  .cta-text{ font-size: 16px; }
}


/* ==== Spacing Hero -> erste Section straffen ==== */
.hero { padding-bottom: 12px; }                /* etwas weniger Luft unter der Hero */
.hero + .section { padding-top: 32px; }        /* Standard: kleiner Einstieg */
@media (min-width: 1025px) {
  .hero + .section { padding-top: 56px; }      /* Desktop etwas großzügiger */
}

/* Sicherheit: Auf Mobile nie Header verstecken (falls JS mal nicht greift) */
@media (max-width: 1024px) {
  .site-header { transform: translateY(0) !important; }
  .site-header--hidden { transform: translateY(0) !important; }
}

/* === Weniger Abstand zwischen Navbar und Hero-Text (nur mobil) === */
@media (max-width: 768px){
  .hero-content {
    margin-top: -40px;   /* verringert den Leerraum nach oben */
  }
}

/* === Weniger Abstand zwischen Navbar und Hero-Text (nur mobil) === */
@media (max-width: 768px){
  .hero-content {
    margin-top: -60px;   /* verringert den Leerraum nach oben */
  }
}

/* === Hero nur auf Mobile höher (weniger tief) === */
@media (max-width: 768px){
  .hero{
    min-height: 50vh;            /* vorher 85vh → ~50% kürzer */
    align-items: flex-start;      /* statt zentriert nach oben */
    padding-top: clamp(72px, 12vh, 120px); /* Luft unter der fixed Navbar */
  }

  /* Übergang zur nächsten Section straffer */
  .hero + .section{
    padding-top: 12px;
  }

  /* Optional: Typo etwas kompakter, damit nix springt */
  .hero h1{ margin-bottom: 16px; }
  .hero p { margin-bottom: 32px; }
}

/* === Weniger Abstand zwischen Navbar und Hero-Text (nur mobil) === */
@media (max-width: 768px){
  .hero-content {
    margin-top: -40px;   /* verringert den Leerraum nach oben */
  }
}

/* === Feintuning: mehr Raum zwischen Hero-Elementen und nach unten === */
@media (max-width: 1024px){
  /* Buttons etwas tiefer */
  .hero-cta {
    margin-top: 32px; /* vorher 0 oder 24px – jetzt mehr Luft */
  }

  /* Mehr Abstand unterhalb des gesamten Hero-Bereichs */
  .hero {
    padding-bottom: 120px; /* sorgt dafür, dass „Was wir erschaffen“ erst nach Scroll sichtbar ist */
  }

  /* Hero-Text minimal nach oben für bessere Balance */
  .hero-content {
    margin-top: -20px; /* gleicht optisch aus */
  }

  /* Extra: Übergang zur nächsten Section (noch etwas mehr Luft) */
  .hero + .section {
    padding-top: 80px;
  }
}

/* === Scroll-Indicator unter Hero (dezenter animierter Pfeil) === */
.scroll-indicator {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none; /* klickt nicht störend */
}

.scroll-indicator .arrow-down {
  width: 28px;
  height: 28px;
  border-left: 3px solid rgba(255, 255, 255, 0.6);
  border-bottom: 3px solid rgba(255, 255, 255, 0.6);
  transform: rotate(-45deg);
  animation: arrow-bounce 2s infinite ease-in-out;
  opacity: 0.8;
  filter: drop-shadow(0 0 8px rgba(99,102,241,0.6));
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0) rotate(-45deg); opacity: 0.8; }
  50% { transform: translateY(10px) rotate(-45deg); opacity: 1; }
}

/* Leicht abgeschwächt auf Mobile */
@media (max-width: 768px){
  .scroll-indicator { margin-top: 36px; }
  .scroll-indicator .arrow-down { width: 22px; height: 22px; border-width: 2px; }
}

/* Weniger Abstand zwischen Navbar und Hero-Badge auf Mobile */
@media (max-width: 768px){
  .hero-content {
    margin-top: -80px; /* vorher -40px/-60px, jetzt noch weniger Abstand */
  }
  .hero-badge {
    margin-top: 0;
    margin-bottom: 20px; /* etwas kompakter */
  }
}

/* Desktop: Abstand ebenfalls etwas reduzieren */
@media (min-width: 769px){
  .hero-content {
    margin-top: -30px;
  }
  .hero-badge {
    margin-top: 0;
    margin-bottom: 28px;
  }
}

/* Scroll-Indicator weiter nach unten auf Mobile */
@media (max-width: 768px){
  .scroll-indicator {
    margin-top: 80px; /* vorher 36px/48px, jetzt deutlich weiter unten */
  }
}


