/* =========================================
   Riveria IT – Premium Onepager (FULL CSS)
   =========================================
   INHALTSVERZEICHNIS
   1.  Variables (:root)
   2.  Global & Reset
   3.  Layout (Container)
   4.  Navigation (Floating Nav + Logo + Burger + Mobile Overlay)
   5.  Hero (Slider + Dots + CTA)
   6.  Sections Base (Section / Section Head)
   7.  Services + Trust
   8.  Pricing
   9.  References
   10. Team (Über uns)
   11. FAQ
   12. Contact
   13. Footer
   14. Media Queries (Responsive) -> HIER IST DER FIX
   ========================================= */

/* =========================================
   1. VARIABLES (:ROOT)
   ========================================= */
:root{
  --purple:#8120C1;
  --orange:#F6A33C;
  --yellow:#F9D423;
  --white:#ffffff;
  --bg:#F8F8F8;
  --text:#0D0D0D;
  --muted:#777;
  --card:#ffffff;
  --shadow:0 20px 40px rgba(0,0,0,0.08);

  --radius-lg:22px;
  --radius-xl:26px;
  --ring:0 0 0 4px rgba(129,32,193,0.15);
}

/* =========================================
   2. GLOBAL & RESET
   ========================================= */
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  font-family:'Instrument Sans',sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

body.no-scroll{ overflow:hidden; }

img{ max-width:100%; height:auto; display:block; }
a{ -webkit-tap-highlight-color:transparent; }

::selection{ background:rgba(129,32,193,0.16); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible{
  outline:none;
  box-shadow: var(--ring);
  border-radius: 10px;
}

/* Typo baseline */
h1,h2,h3{ color:inherit; }
h2{
  font-size:2.4rem;
  letter-spacing:-1px;
}
h3{
  font-size:1.2rem;
  letter-spacing:-0.4px;
}
p{ line-height:1.7; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}

/* =========================================
   3. LAYOUT (CONTAINER)
   ========================================= */
.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 30px;
}

/* =========================================
   4. NAVIGATION (OPTIMIERT FÜR VIELE PUNKTE)
   ========================================= */
.floating-nav{
  position:fixed;
  top:25px;
  left:50%;
  transform:translateX(-50%);
  
  /* HIER GEÄNDERT: Breiter machen für alle Links */
  width:95%;
  max-width:1000px; 

  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border:1px solid rgba(0,0,0,0.06);

  padding:12px 30px;
  border-radius:100px;
  z-index:2000;
  
  /* Sanfte Animation bei Größenänderung */
  transition: max-width 0.3s ease;
}

.nav-flex{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px; /* Kleinerer Gap, damit Logo nicht gedrückt wird */
}

/* Logo (image) */
.logo{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  text-decoration:none;
  flex:0 0 auto;

  width:180px;        
  height:38px;
  overflow:hidden;    
}

.logo img{
  height:38px;
  width:auto;
  object-fit:contain;
  transform:translateX(-10px) scale(1.15);
  transform-origin:left center;
}

/* Desktop links */
.nav-links{
  display:flex;
  
  /* HIER GEÄNDERT: Enger zusammenrücken (von 25px auf 18px) */
  gap:18px; 
  
  align-items:center;
}

.nav-links a{
  text-decoration:none;
  color:var(--text);
  font-weight:600;
  font-size:0.9rem;
  opacity:0.9;
  transition:opacity 0.2s ease, transform 0.2s ease;
  
  /* HIER GEÄNDERT: Verbietet Umbruch (z.B. bei "Über uns") */
  white-space: nowrap; 
}

.nav-links a:hover{
  opacity:1;
  transform:translateY(-1px);
}

.nav-cta{ color:var(--purple) !important; }

/* Burger */
.burger-menu{
  display:none;
  background:none;
  border:none;
  cursor:pointer;
  flex-direction:column;
  gap:6px;
  padding:8px 6px;
  border-radius:12px;
}

.burger-menu span{
  width:26px;
  height:2px;
  background:var(--text);
  border-radius:4px;
  transition:0.25s ease;
}

.burger-menu.open span:nth-child(1){
  transform:translateY(4px) rotate(45deg);
}
.burger-menu.open span:nth-child(2){
  transform:translateY(-4px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay{
  position:fixed;
  inset:0;
  background:rgba(255,255,255,0.98);
  z-index:1500;

  display:none;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:26px;
  padding-top:90px;
}

.mobile-overlay.open{ display:flex; }

.mobile-overlay a{
  text-decoration:none;
  color:#000;
  font-size:2rem;
  font-weight:800;
  letter-spacing:-1px;
}

/* =========================================
   5. HERO (SLIDER)
   ========================================= */
.hero-slider{
  position:relative;
  height:100vh;
  width:100%;
  overflow:hidden;
  background:#000;
}

.slider-container{ height:100%; }

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1s ease-in-out;
  display:flex;
  align-items:center;
  justify-content:center;
}

.slide.active{ opacity:1; }

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(0.38);
}

.hero-content{
  position:absolute;
  text-align:center;
  color:#fff;
  z-index:10;
  padding:0 22px;
  max-width:900px;
}

.badge{
  font-size:0.75rem;
  font-weight:800;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--orange);
  margin-bottom:18px;
  display:block;
}

h1{
  font-size:clamp(2.5rem, 8vw, 5rem);
  font-weight:800;
  line-height:0.92;
  letter-spacing:-3px;
}

.italic{ font-style:italic; font-weight:400; }
.text-accent{ color:var(--purple); }

.hero-sub{
  margin:20px auto 0;
  color:rgba(255,255,255,0.82);
  font-size:1.05rem;
  line-height:1.6;
  max-width:720px;
}

.hero-actions{
  margin-top:28px;
  display:flex;
  gap:18px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

/* Buttons */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-weight:900;
  border-radius:999px;
  padding:14px 18px;
  background:rgba(129,32,193,0.92);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
  transition:transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  min-width:220px;
}

.btn-primary:hover{
  transform:translateY(-2px);
  opacity:0.98;
}

.hero-link{
  color:rgba(255,255,255,0.85);
  font-weight:900;
  text-decoration:none;
  padding:10px 6px;
  border-bottom:1px solid rgba(255,255,255,0.30);
  transition:0.2s ease;
}

.hero-link:hover{
  color:#fff;
  border-bottom-color:rgba(255,255,255,0.70);
}

/* Dots */
.slider-dots{
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:14px;
  z-index:100;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:rgba(255,255,255,0.30);
  border:none;
  cursor:pointer;
  transition:0.25s ease;
}

.dot.active{
  background:#fff;
  width:28px;
}

/* =========================================
   6. SECTIONS BASE
   ========================================= */
.section{
  padding:120px 0;
  background:#fff;
}

.section-soft{ background:var(--bg); }

.section-head{
  text-align:center;
  max-width:760px;
  margin:0 auto 60px;
}

.section-head p{
  color:var(--muted);
  margin-top:12px;
  line-height:1.7;
}

/* =========================================
   7. SERVICES + TRUST
   ========================================= */
.expertise-header{
  text-align:center;
  margin-bottom:70px;
}

.expertise-header p{
  color:var(--muted);
  margin-top:12px;
}

.expertise-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:40px;
}

.exp-card{
  padding:40px;
  border-radius:20px;
  background:var(--bg);
  border:1px solid rgba(0,0,0,0.06);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.exp-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
}

.exp-card i{
  font-size:2rem;
  color:var(--purple);
  margin-bottom:18px;
  display:block;
}

.exp-card h3{
  margin-bottom:12px;
  letter-spacing:-0.5px;
}

.exp-card p{
  color:var(--muted);
  line-height:1.6;
  font-size:0.95rem;
}

/* Trust card */
.trust-card{
  margin-top:34px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 14px 30px rgba(0,0,0,0.04);
  padding:26px 22px;
}

.trust-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.trust-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  background:rgba(129,32,193,0.10);
  border:1px solid rgba(129,32,193,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 48px;
}

.trust-icon i{
  color:var(--purple);
  font-size:1.35rem;
}

.trust-copy h3{
  font-size:1.15rem;
  font-weight:900;
  letter-spacing:-0.4px;
}

.trust-copy p{
  margin-top:6px;
  color:var(--muted);
  line-height:1.6;
}

.trust-row{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
}

.trust-pill{
  background:var(--bg);
  border:1px solid rgba(0,0,0,0.06);
  border-radius:16px;
  padding:14px 14px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  color:#222;
}

.trust-pill i{
  color:var(--purple);
  font-size:1.2rem;
}

/* =========================================
   8. PRICING
   ========================================= */
.card-footer-link{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(0,0,0,0.08);
  display:flex;
  justify-content:flex-start;
}

.card-link-inline{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--purple);
  font-weight:900;
  text-decoration:none;
  padding:8px 2px;
}

.card-link-inline:hover{
  text-decoration:underline;
}
	 
.pricing-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:28px;
  align-items:stretch;
}

/* Card */
.price-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:var(--radius-lg);
  padding:28px;
  box-shadow:0 14px 30px rgba(0,0,0,0.05);
  position:relative;
  overflow:hidden;

  display:flex;
  flex-direction:column;
  height:100%;
}

.price-card.featured{
  border-color:rgba(129,32,193,0.35);
  box-shadow:0 18px 40px rgba(129,32,193,0.12);
}

/* Top */
.price-top h3{
  letter-spacing:-0.6px;
  font-size:1.25rem;
}

.price{
  margin-top:14px;
  display:flex;
  align-items:baseline;
  gap:10px;
}

.price-amount{
  font-size:2rem;
  font-weight:900;
  letter-spacing:-1px;
}

.price-unit{
  color:var(--muted);
  font-weight:800;
}

.price-badge{
  display:inline-block;
  background:rgba(129,32,193,0.10);
  color:var(--purple);
  border:1px solid rgba(129,32,193,0.22);
  border-radius:999px;
  font-weight:900;
  font-size:0.72rem;
  text-transform:uppercase;
  letter-spacing:2px;
  padding:8px 12px;
  margin-bottom:12px;
}

/* List */
.price-list{
  list-style:none;
  margin:18px 0 18px;
  padding:0;
  display:grid;
  gap:10px;
}

.price-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#333;
  line-height:1.5;
}

.price-list i{
  color:var(--purple);
  margin-top:2px;
}

/* Addons */
.addons{
  margin-top:12px;
  border-top:1px solid rgba(0,0,0,0.07);
  padding-top:12px;
  display:grid;
  gap:10px;
}

.addon{
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-weight:800;
}

.addon-title{ color:#222; }
.addon-price{ color:var(--muted); }

/* Buttons */
.btn-wide{ width:100%; }

.btn-orange{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:14px 16px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
  background:rgba(246,163,60,0.14);
  border:1px solid rgba(246,163,60,0.35);
  color:var(--orange);
  transition:transform 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn-orange:hover{
  transform:translateY(-2px);
  background:rgba(246,163,60,0.22);
  opacity:0.98;
}

/* Buttons unten bündig (CTA bleibt am Ende) */
.price-card .btn-orange,
.price-card .btn-primary{
  margin-top:auto;
}

/* --- Card Footer Link (Mehr erfahren) sauber, ohne Chaos --- */
.card-footer-link{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(0,0,0,0.08);
}

.card-link{
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;

  color:var(--purple);
  font-weight:900;
  text-decoration:none;

  padding:10px 12px;
  border-radius:12px;
  background:rgba(129,32,193,0.06);
  border:1px solid rgba(129,32,193,0.14);
}

.card-link:hover{
  background:rgba(129,32,193,0.10);
  border-color:rgba(129,32,193,0.22);
}

/* Desktop: 2 Spalten => 2x2 */
@media (min-width: 980px){
  .pricing-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:32px;
  }
}

/* Abstand PRICING -> REFERENCES (ruhiger Übergang) */
#pricing{ padding-bottom:70px; }
#references{ padding-top:70px; }

@media (max-width:560px){
  #pricing{ padding-bottom:45px; }
  #references{ padding-top:45px; }
  #pricing .pricing-note{ margin-top:14px; }
}

/* Note */
.pricing-note{
  margin-top:24px;
  text-align:center;
  color:#333;
}

/* =========================================
   9. REFERENCES (LIGHT CARD STYLE + BUTTON)
   ========================================= */

.references-grid--minimal{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}

@media (max-width: 900px){
  .references-grid--minimal{ grid-template-columns: 1fr; }
}

.ref-card--minimal{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.05);
}

.ref-top{
  display:flex;
  gap: 14px;
  align-items:center;
  margin-bottom: 12px;
}

.ref-logo{
  width: 88px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.06);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  flex: 0 0 auto;
}

.ref-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  display:block;
}

.ref-title h3{
  margin:0;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing:-0.4px;
}

.ref-sub{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ref-list{
  list-style:none;
  margin: 10px 0 14px;
  padding: 0;
  display:grid;
  gap: 8px;
}

.ref-list li{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color:#333;
  line-height:1.5;
}

.ref-list li::before{
  content:"✓";
  color: var(--purple);
  font-weight: 900;
  line-height: 1.2;
  margin-top: 1px;
}

/* Button */
.ref-actions{
  display:flex;
  gap:12px;
  align-items:center;
}

.ref-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  text-decoration:none;
  font-weight:900;
  border-radius:999px;
  padding:12px 14px;

  background: rgba(129,32,193,0.10);
  border: 1px solid rgba(129,32,193,0.22);
  color: var(--purple);

  transition: transform .2s ease, background .2s ease, opacity .2s ease;
}

.ref-btn:hover{
  transform: translateY(-2px);
  background: rgba(129,32,193,0.14);
  opacity: 0.98;
}

.ref-btn i{
  font-size: 1.05rem;
}

@media (max-width: 520px){
  .ref-btn{ width:100%; }
}

/* =========================================
   10. TEAM (ÜBER UNS)
   ========================================= */
.section-team{
  padding:100px 0;
  background:#fff;
  border-top:1px solid rgba(0,0,0,0.05);
}

.team-header{
  text-align:center;
  max-width:760px;
  margin:0 auto 70px;
}

.team-header h2{
  font-size:2.5rem;
  margin-bottom:16px;
  letter-spacing:-1px;
}

.about-text p{
  color:var(--muted);
  line-height:1.75;
  font-size:1.1rem;
  margin-top:10px;
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:60px;
  max-width:900px;
  margin:0 auto;
}

.team-member{
  text-align:center;
  padding:20px;
}

.image-wrapper{
  width:180px;
  height:180px;
  margin:0 auto 25px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid transparent;
  box-shadow:var(--shadow);
  transition:transform 0.25s ease;
}

.team-member:hover .image-wrapper{ transform:scale(1.05); }

.image-wrapper img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.team-member h3{
  font-size:1.5rem;
  margin-bottom:8px;
  font-weight:800;
}

.role{
  display:inline-block;
  font-size:0.85rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:12px;
}

.role-purple{ color:var(--purple); }
.role-orange{ color:var(--orange); }

.team-member p{
  color:var(--muted);
  font-size:0.95rem;
  line-height:1.6;
}

/* =========================================
   11. FAQ
   ========================================= */
.faq{
  max-width:900px;
  margin:0 auto;
  display:grid;
  gap:14px;
}

.faq-item{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:18px;
  box-shadow:0 14px 30px rgba(0,0,0,0.04);
  overflow:hidden;
}

.faq-summary{
  list-style:none;
  cursor:pointer;
  padding:18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  font-weight:900;
  letter-spacing:-0.2px;
  color:#111;
}

.faq-summary::-webkit-details-marker{ display:none; }
.faq-summary:hover{ background:rgba(129,32,193,0.04); }

.faq-summary i{
  color:var(--purple);
  font-size:1.25rem;
  transition:transform 0.2s ease;
}

.faq-item[open] .faq-summary i{ transform:rotate(180deg); }

.faq-body{
  padding:0 18px 18px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.faq-body p{
  margin-top:14px;
  color:var(--muted);
  line-height:1.7;
}

/* =========================================
   12. CONTACT (PREMIUM DESIGN + FIX)
   ========================================= */
.section-contact{
  padding:120px 0;
  background:#050505;
  background-image: radial-gradient(circle at top right, rgba(129,32,193,0.08), transparent 40%);
  color:#fff;
  border-top:1px solid #222;
  overflow:hidden;
}

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

/* Left */
.contact-info{ padding-top:20px; }

.badge-small{
  background: rgba(129,32,193,0.15);
  color: var(--purple);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid rgba(129,32,193,0.3);
}

.contact-info h2{
  font-size: 3.5rem;
  letter-spacing: -2px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

.contact-info p{
  color: #a0a0a0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 90%;
}

.info-list{
  display:flex;
  flex-direction:column;
  gap:32px;
}

.info-item{
  display:flex;
  align-items:flex-start;
  gap:20px;
}

.icon-box{
  width:48px;
  height:48px;
  background:#111;
  border:1px solid #333;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.4rem;
  color:var(--purple);
  flex-shrink:0;
}

.info-text{
  font-size:1rem;
  line-height:1.6;
  color:#ccc;
}

.info-text strong{ color:#fff; font-weight:700; }

.info-text a{
  display:block;
  color:#ccc;
  text-decoration:none;
  transition:0.2s;
}

.info-text a:hover{
  color:var(--purple);
  transform:translateX(4px);
}

/* Right: Form */
.form-card{
  background:#0f0f0f;
  border:1px solid #222;
  padding:22px;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(0,0,0,0.5);
  position:relative;
}

.form-card::before{
  content:'';
  position:absolute;
  top:-2px; left:-2px; right:-2px; bottom:-2px;
  background: linear-gradient(45deg, transparent, rgba(129,32,193,0.3), transparent);
  z-index:-1;
  border-radius:26px;
  opacity:0.5;
}

.form-card h3{
  font-size:1.8rem;
  margin-bottom:22px;
  font-weight:700;
  color:#fff;
}

/* Mobile-first Form-Spacings (kein Doppel-Block mehr) */
.modern-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.form-group-row{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}

.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.form-group label{
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:700;
  color:#777;
  margin-left:4px;
}

.modern-form input:not([type="checkbox"]),
.modern-form textarea,
.modern-form select{
  background:#050505;
  border:1px solid #2a2a2a;
  border-radius:12px;
  padding:15px 14px;
  color:#fff;
  font-size:1rem;
  font-family:inherit;
  width:100%;
  transition: all 0.3s ease;
  appearance:none;
}

.modern-form input:focus,
.modern-form textarea:focus,
.modern-form select:focus{
  outline:none;
  border-color:var(--purple);
  background:#0a0a0a;
  box-shadow:var(--ring);
  transform:translateY(-2px);
}

.select-wrapper{ position:relative; }

.select-icon{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  color:#666;
  pointer-events:none;
}

.modern-form textarea{
  min-height:120px;
  resize:vertical;
}

/* Checkbox */
.form-check{ margin-top:4px; }

.form-check label{
  display:flex;
  align-items:center;
  gap:12px;
  cursor:pointer;
  color:#888;
  font-size:0.9rem;
  line-height:1.4;
}

.form-check input[type="checkbox"]{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  flex-shrink:0;
  margin:0;
  padding:0;
  accent-color:var(--purple);
  cursor:pointer;
  border:1px solid #333;
  border-radius:4px;
  background:#111;
  appearance:auto;
}

.form-check a{ color:#fff; text-decoration:underline; }

/* Submit */
.btn-glow{
  margin-top:12px;
  background: linear-gradient(135deg, var(--purple) 0%, #6a1b9a 100%);
  color:#fff;
  border:none;
  padding:18px;
  border-radius:12px;
  font-size:1.1rem;
  font-weight:700;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px -5px rgba(129,32,193,0.4);
}

.btn-glow:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 30px -5px rgba(129,32,193,0.6);
  filter:brightness(1.1);
}

/* =========================================
   13. FOOTER
   ========================================= */
.footer{
  padding:50px 0;
  background:#000;
  border-top:1px solid #222;
  color:#888;
}

.footer-flex{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  font-size:0.92rem;
}

.footer-links a{
  text-decoration:none;
  color:#888;
  margin-left:18px;
  transition:0.2s ease;
}
.footer-links a:hover{ color:#fff; }

.footer-note{
  margin-top:10px;
  font-size:0.82rem;
  color:#777;
  line-height:1.6;
}

.footer-note a{
  color:#999;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,0.18);
}

.footer-note a:hover{
  color:#fff;
  border-bottom-color:rgba(255,255,255,0.40);
}

/* reCAPTCHA v3 Badge ausblenden (Hinweis ist im Footer vorhanden) */
.grecaptcha-badge{
  visibility:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* =========================================
   14. MEDIA QUERIES (RESPONSIVE)
   ========================================= */

/* Desktop: Logo etwas mehr Fläche */
@media (min-width: 900px){
  .logo{
    width:220px;
    height:42px;
  }
  .logo img{
    height:42px;
    transform:translateX(-10px) scale(1.12);
  }

  /* Form: am Desktop wieder etwas mehr „Luft“ */
  .modern-form{ gap:26px; }
  .form-group-row{
    grid-template-columns: 1fr 1fr;
    gap:24px;
  }
}

/* RECYCLING / REUSE */
.recycling-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:28px;
  align-items:stretch;
}

.recycling-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 14px 30px rgba(0,0,0,0.05);
  padding:26px;
  display:flex;
  flex-direction:column;
  height:100%;
}

.recycling-card.featured{
  border-color:rgba(129,32,193,0.35);
  box-shadow:0 18px 40px rgba(129,32,193,0.12);
}

.recycling-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  background:rgba(129,32,193,0.10);
  border:1px solid rgba(129,32,193,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
}

.recycling-icon i{
  color:var(--purple);
  font-size:1.45rem;
}

.recycling-card h3{
  letter-spacing:-0.4px;
  margin-bottom:10px;
}

.recycling-card p{
  color:var(--muted);
  line-height:1.65;
  margin-bottom:14px;
}

.recycling-list{
  list-style:none;
  display:grid;
  gap:10px;
  margin-top:auto;
  padding-top:10px;
}

.recycling-list li{
  display:flex;
  gap:10px;
  align-items:flex-start;
  line-height:1.5;
  color:#333;
}

.recycling-list i{
  color:var(--purple);
  margin-top:2px;
}

.recycling-cta{
  margin-top:28px;
}

.recycling-cta-card{
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 14px 30px rgba(0,0,0,0.05);
  padding:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
}

.recycling-cta-card h3{
  margin-bottom:6px;
  letter-spacing:-0.4px;
}

.recycling-cta-card p{
  color:var(--muted);
  line-height:1.6;
  max-width:720px;
}

/* Trust Pill rows */
@media (max-width: 900px){
  .trust-row{ grid-template-columns:1fr; }
  
  .contact-layout{
    grid-template-columns:1fr;
    gap:60px;
  }
  .contact-info h2{ font-size:2.8rem; }
  .form-card{ padding:22px; }
}

/* =========================================
   WICHTIG: Burger-Menü schon ab 1250px zeigen
   Damit das Menü auf Laptops nicht "platzt"
   ========================================= */
@media (max-width: 1250px) {
  
  /* 1. Nav-Leiste anpassen */
  .floating-nav {
    padding: 10px 20px;
    width: 95%; 
  }

  /* 2. Die Text-Links (Dienstleistungen, Preise etc.) AUSBLENDEN */
  .nav-links {
    display: none !important;
  }

  /* 3. Den Burger-Button (die 2 Striche) EINBLENDEN */
  .burger-menu {
    display: flex !important;
  }

  /* 4. Schriftgröße der Überschrift etwas anpassen */
  h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -2px;
  }
  
  /* Buttons im Hero untereinander */
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-primary {
    width: 100%;
    max-width: 360px;
  }
}

/* Kleinere Anpassungen für Tablets/Mobile */
@media (max-width: 768px){
  /* Recycling Card Anpassung */
  .recycling-cta-card{
    flex-direction:column;
    align-items:flex-start;
  }
  .recycling-cta-card .btn-primary{
    width:100%;
    max-width:360px;
  }
}

/* Footer stacked */
@media (max-width: 520px){
  .footer-flex{
    flex-direction:column;
    text-align:center;
  }
  .footer-links a{
    margin-left:10px;
    margin-right:10px;
  }
}

/* Very small phones */
@media (max-width: 420px){
  .container{ padding:0 18px; }
  .logo{
    width:165px;
    height:34px;
  }
  .logo img{
    height:34px;
    transform:translateX(-10px) scale(1.15);
  }
  .contact-info h2{ font-size:2.5rem; }
}

/* =========================================
   SCROLL SPY (Aktiver Menüpunkt)
   ========================================= */

/* Desktop: Text wird lila und fett */
.nav-links a.active-nav {
  color: var(--purple) !important;
  font-weight: 800;
  transform: translateY(-1px);
}

/* Mobile: Lila Balken links + Hintergrund */
.mobile-overlay a.active-nav {
  color: var(--purple) !important;
  font-weight: 800;
  background: rgba(129,32,193,0.05);
  border-left: 4px solid var(--purple);
  padding-left: 12px;
}
