/* ================================
   Farbvariablen im Root
================================ */
:root {
  --bg-main: #0d1117;
  --bg-secondary: #111827;
  --bg-card: #1a1f27;
  --bg-footer: #0b0f14;

  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --accent: #00bcd4;
  --accent-hover: #02c8e3;
  --border-light: rgba(255, 255, 255, 0.1);

  --shadow-accent: rgba(0, 188, 212, 0.4);
}

/* ================================
   Allgemein
================================ */
body {
  margin: 0;
  font-family: 'Roboto Mono', monospace;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  box-sizing: border-box;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

h1, h2, h3 {
  font-family: 'Fredoka', sans-serif;
}

/* ============================================
   🔧 Fix: Änderungen nur für Unterseiten (NICHT für Index)
============================================ */

body:not(.home) h1 {
  font-size: 2.1rem;
  margin: 0 0 1rem;
  line-height: 1.25;
  text-align: center;
}

body:not(.home) h2 {
  font-size: 1.6rem;
  margin: 1.2rem 0 0.6rem;
}

body:not(.home) h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

/* ------------------------------
   Kundenstimmen / Bewertungen
------------------------------ */

.reviews {
  background: #0f141c;
  padding: 4rem 1rem;
  text-align: center;
}

.reviews-inner {
  max-width: 700px;
  margin: 0 auto;
}

.reviews h2 {
  margin-bottom: 2rem;
}

.review-box {
  background: #1a1f27;
  padding: 2rem;
  border-radius: 14px;
}

.review-stars {
  color: gold;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.review-text {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0;
}

.review-author {
  font-size: 0.95rem;
  opacity: 0.7;
  opacity: 0;
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ------------------------------
   Google Bewertungs-Badge
------------------------------ */

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #111;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.google-logo {
  font-weight: 600;
}

.google-stars {
  color: #fbbc05; /* Google-Gelb */
  letter-spacing: 1px;
}

.google-rating {
  font-weight: 600;
}


/* ================================
   INDEX – Shop-Items Buttons zentrieren
================================ */

.home-shop-item .btn-sm,
.home-shop-item .btn {
  display: inline-block;
  margin: 0.8rem auto 0 auto;
  text-align: center;
}

/* ======================================
   INDEX – ALLE Buttons in Vorschaukarten zentrieren
====================================== */

/* Blog-Vorschau-Karten */
.home-article .btn-sm,
.home-article .btn {
  display: block;
  text-align: center;
  margin: 1rem auto 0 auto;
}

/* Shop-Vorschau-Karten */
.home-shop-item .btn-sm,
.home-shop-item .btn {
  display: block;
  text-align: center;
  margin: 1rem auto 0 auto;
}

/* ================================
   INDEX – Produkt-Badge
================================ */

.home-product-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background: var(--accent);
  color: var(--bg-main);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  box-shadow: 0 0 10px var(--shadow-accent);
}

/* ================================================
   HOME – Kleine Karten für Blog & Shop Vorschau
================================================ */

/* ==================================================
   💰 Einheitliche & hübsche Preisgestaltung
================================================== */

.pretty-price {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(0, 188, 212, 0.12);
  border: 1px solid rgba(0, 188, 212, 0.35);
  border-radius: 8px;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.15rem;
  margin: 0.6rem auto 1rem auto;
  box-shadow: 0 0 8px rgba(0,188,212,0.25);
  text-align: center;
}

.home-price.pretty-price {
  font-size: 1.1rem;
}

.product-price.pretty-price {
  font-size: 1.25rem;
}



.home-article,
.home-shop-item {
  background: var(--bg-secondary);
  border: 1px solid rgba(0, 188, 212, 0.28);
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover-Effekt */
.home-article:hover,
.home-shop-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 188, 212, 0.35);
}

/* Einheitliche Bildgestaltung */
.home-article img,
.home-shop-item img {
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.25);
}

/* Abstand zwischen Titel und Elementen harmonisieren */
.home-article h3,
.home-shop-item h3 {
  margin-top: 0.3rem;
  margin-bottom: 0.6rem;
}



/* Mobile nur für Unterseiten */
@media (max-width: 768px) {
  body:not(.home) h1 {
    font-size: 1.65rem !important;
    margin-bottom: 0.9rem !important;
    line-height: 1.25 !important;
    padding: 0 0.5rem;
  }

  body:not(.home) h2 {
    font-size: 1.35rem !important;
  }

  body:not(.home) h3 {
    font-size: 1.15rem !important;
  }
}

/* Extra Mobile nur für Unterseiten */
@media (max-width: 480px) {
  body:not(.home) h1 {
    font-size: 1.5rem !important;
  }
}


/* Startseite – rotierende Sprüche */
.quotes {
  padding: 1.5rem 1rem 0;
}
.quotes-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1rem 1.75rem;
  box-shadow: 0 0 18px var(--shadow-accent);
}
.quote-text {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-main);
  min-height: 2.5rem;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.quote-text.fade-out {
  opacity: 0;
  transform: translateY(4px);
}
.quote-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Startseite – Neu im Blog & Shop */
.home-updates {
  padding: 3rem 1rem 2rem;
}
.home-updates-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
}
@media (max-width: 768px) {
  .home-updates-grid {
    grid-template-columns: 1fr;
  }
}

.home-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
}

.home-card h2,
.home-card h3 {
  margin-top: 0;
}

.home-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.home-card-image {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin: 0.75rem 0 1rem;
}

.home-shop-grid {
  display: grid;
  gap: 1.25rem;
}
.home-shop-item h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}



/* Zwei Blogkarten nebeneinander */
.home-latest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .home-latest-grid {
    grid-template-columns: 1fr;
  }
}


a {
  text-decoration: none;
  color: inherit;
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ================================
   Header
================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: rgb(14 23 39);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  z-index: 1100;
  user-select: none;
}


.logo-img{
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Hamburger Menü */
.menu-toggle {
  width: 36px;
  height: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1200;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  transition: transform 0.35s ease, opacity 0.25s ease, background 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(13, 17, 23, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 80px;
  align-items: center;
  transition: right 0.4s ease-in-out;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
}

.main-nav.active {
  right: 0;
  visibility: visible;
  opacity: 1;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.main-nav li {
  margin: 1.2rem 0;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s ease forwards;
}

.main-nav.active li {
  opacity: 1;
  transform: translateY(0);
}

.main-nav a {
  font-size: 1.6rem;
  color: var(--text-main);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--accent);
}

/* Mobile Anpassung */
@media (max-width: 480px) {
  .menu-toggle {
    width: 30px;
    height: 22px;
  }
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .main-nav a {
    font-size: 1.4rem;
  }
}

/* Dropdown */
/* Dropdown Container */
.has-dropdown {
  position: relative;
}

/* Toggle bleibt ruhig */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

/* Dropdown selbst */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 220px;

  list-style: none;
  padding: 0.6rem 0;
  margin: 0;

  background: rgba(13, 17, 23, 0.98);
  border-radius: 10px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* sichtbar */
.has-dropdown.active .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(6px);
}

/* Items */
.dropdown li {
  margin: 0;
}

.dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 1.3rem;
  opacity: 0.9;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.05);
  opacity: 1;
}


/* Dropdown Arrow */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Pfeil (CSS only) */
.dropdown-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--text-main);
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.8;
}

/* geöffnet → Pfeil nach oben */
.has-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Hover-Effekt passend zum Menü */
.dropdown-toggle:hover .dropdown-arrow {
  border-top-color: var(--accent);
}


/* ================================
   Hero
================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 5rem 1.5rem 1rem;
  background: radial-gradient(circle at top, var(--bg-secondary), var(--bg-main) 70%);
}


.hero-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  align-items: center;
}

.hero-text {
  flex: 1;
  text-align: center;
}

.hero-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.glow {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
}

.hero-text p {
  margin-bottom: 1.5rem;
}

.hero-image img {
  width: 260px;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--shadow-accent);
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin: 0.3rem;
  cursor: pointer;
  color: var(--text-main);
  transition: 0.25s;
}

.filter-btn.active {
  background: var(--accent);
  color: var(--bg-main);
  border-color: var(--accent-hover);
  box-shadow: 0 0 10px var(--shadow-accent);
}

.filter-btn:hover {
  background: var(--accent-hover);
  color: var(--bg-main);
}


.btn,
.btn-outline {
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-weight: 500;
  transition: 0.3s;
}

.btn {
  background: var(--accent);
  color: var(--bg-main);
}

.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 10px var(--accent);
}

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-main);
}

/* ================================
   Sunny Teaser
================================ */
.sunny {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 5rem 2rem;
  background: var(--bg-secondary);
  text-align: left;
  justify-content: center;
}

.sunny-img {
  width: 250px;
  border-radius: 50%;
  box-shadow: 0 0 20px var(--shadow-accent);
}

.sunny-text {
  max-width: 500px;
}

.sunny h2 {
  color: var(--accent);
}

/* ================================
   Projekte
================================ */
.projects {
  padding: 5rem 2rem;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  position: relative;
}

.project-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #000;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}


.card {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 2rem;
  transition: 0.3s;
  box-shadow: 0 0 0 var(--shadow-accent);
}

.card:hover {
  box-shadow: 0 0 15px var(--shadow-accent);
  transform: translateY(-4px);
}

.btn-sm {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  border-radius: 6px;
  color: var(--bg-main);
  transition: 0.3s;
}

.btn-sm:hover {
  background: var(--accent-hover);
}

/* ================================
   Footer
================================ */
.footer {
  background: var(--bg-footer);
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
}

.footer a {
  color: var(--accent);
  margin: 0 0.5rem;
}

.footer a:hover {
  text-decoration: underline;
}

/* ================================
   Responsive
================================ */
@media (max-width: 768px) {

  .hero {
    padding: 1rem 1rem;
  }

  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1rem;
  }

  .hero-image img {
    width: 200px;   /* kleiner für mobile */
  }

  .hero-text p {
    margin-bottom: 0.5rem;
  }

  @media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.7rem;
  }
}

}


/* ================================
   Weitere Elemente
================================ */
.content-section {
  padding: 6rem 2rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.profile-img {
  display: block;
  margin: 2rem auto;
  border-radius: 20px;
  max-width: 300px;
  box-shadow: 0 0 20px var(--shadow-accent);
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border-radius: 8px;
  border: none;
  background: var(--bg-card);
  color: var(--text-main);
}

.contact-form button {
  align-self: flex-start;
}

/* Abstand zum Footer (Shop-Seite) */
.shop-container #footer {
  margin-top: 3rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  position: relative;
  background: #1a1f27;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,188,212,0.3);
  transition: transform 0.3s ease;
}

.blog-card .btn-sm {
  display: block;
  margin: 1rem auto 0 auto; /* zentriert */
  text-align: center;
}


.blog-thumb {
  width: 100%;
  height: 140px;          /* kleine, einheitliche Thumbnail-Höhe */
  object-fit: cover;       /* Zuschneiden, damit es immer gut aussieht */
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
  box-shadow: 0 0 8px rgba(0,188,212,0.3);
}

.blog-image {
  width: 100%;                /* nimmt gesamte Breite */
  max-width: 800px;           /* aber nicht größer als 800px */
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 1.5rem auto;
  box-shadow: 0 0 15px rgba(0,188,212,0.35);
}


.blog-card:hover {
  transform: translateY(-5px);
}

.blog-date {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.blog-images {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.blog-image {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,188,212,0.4);
}

.blog-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
  text-align: center;
}



.blog-links .btn-sm,
.blog-links .btn {
  margin: 0.5rem auto;
  display: inline-block;
}




.blog-search {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: none;
  color: var(--text-main);
  margin-bottom: 2rem;
}

/* ================================
   Produktbox für Blogposts
================================ */

.product {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,188,212,0.25);
  border: 1px solid rgba(255,255,255,0.1);
}

.product-img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0,188,212,0.3);
}

.product h3 {
  margin: 0.5rem 0;
  font-size: 1.4rem;
  color: var(--accent);
}

.product-price {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.product .btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.8rem 1.4rem;
  background: var(--accent);
  color: var(--bg-main);
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
}

.product .btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 10px var(--accent);
}

/* ================================
   Produkt-Badge
================================ */

.product-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg-main);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px var(--shadow-accent);
}

.product-badge.hidden {
  display: none;
}


.category-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: bold;
  color: white;
  border-radius: 6px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cat-sunnycam {
  background: #ff69b4cc; /* Pink */
}

.cat-shop {
  background: #00c8d7cc; /* Türkis */
}

.cat-info {
  background: #fdd835cc; /* Gelb */
  color: black;
}

.cat-projekt {
  background: #ff9800cc; /* Orange */
}

.cat-update {
  background: #2196f3cc; /* Blau */
}



.seo-link {
  display: none !important;
}

.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.page-btn {
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  color: var(--text-main);
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: 0.3s;
}

.page-btn.active {
  background: var(--accent);
  color: var(--bg-main);
  font-weight: bold;
}

.page-btn:hover {
  background: var(--accent-hover);
}



/* --- Modal --- */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #111827;
  padding: 2rem;
  border-radius: 12px;
  max-width: 700px;
  width: 90%;
  color: #f9fafb;
  box-shadow: 0 0 20px rgba(0,188,212,0.4);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #00bcd4;
}

.modal-date {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}

/* ================================
   Service Cards
================================ */

.service-category-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-card {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 188, 212, 0.25);
  text-align: center;
  box-shadow: 0 0 14px rgba(0,188,212,0.15);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 22px rgba(0,188,212,0.35);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.service-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent);
  background: rgba(0,188,212,0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  margin: 0.5rem auto 1rem;
  display: inline-block;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.service-btn {
  display: block;
  margin: 1rem auto 0 auto;
  padding: 0.7rem 1.2rem;
  background: var(--accent);
  color: var(--bg-main);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: 0.3s ease;
}

.service-btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 10px var(--accent);
}


/* ==========================================
   Erfolgsbox Animation + Checkmark
========================================== */

.success-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 3px solid #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  animation: popIn 0.4s ease-out forwards;
}

.success-check svg {
  width: 16px;
  height: 16px;
  stroke: #22c55e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: drawCheck 0.5s 0.2s ease forwards;
}

@keyframes popIn {
  0% { transform: scale(0.3); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

/* ==========================================
   Fade-in Erfolgsmeldung
========================================== */
.fade-in {
  opacity: 0;
  animation: fadeInBox 0.6s forwards;
}

@keyframes fadeInBox {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Loading Spinner für Button
========================================== */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.btn-loading::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 3px solid transparent;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

/* ==========================================
   Schöneres Checkbox-Styling
========================================== */

/* ==========================================
   Schöneres, perfekt zentriertes Checkbox-Styling
========================================== */

.privacy-check {
  display: flex;
  align-items: center;   /* Text & Checkbox vertikal zentrieren */
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
}

.privacy-check span {
  display: inline-flex;
  align-items: center;
}


.privacy-check input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: 0.2s ease;
}

.privacy-check input[type="checkbox"]:hover {
  border-color: var(--accent-hover);
}

.privacy-check input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.privacy-check input[type="checkbox"]:checked::after {
  content: "✔";
  font-size: 14px;                 /* Größerer Haken */
  color: var(--bg-main);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -55%);  /* Haken perfekt zentriert */
}

/* ==========================================
   Form Validation States
========================================== */

.contact-form input:invalid,
.contact-form textarea:invalid {
  border: 1px solid #ef4444; /* rot */
}

.contact-form input:focus:invalid,
.contact-form textarea:focus:invalid {
  outline: none;
  box-shadow: 0 0 0 1px #ef4444;
}

.contact-form input.valid,
.contact-form textarea.valid {
  border: 1px solid #22c55e; /* grün */
}

/* =========================================
   Professionelles Seasonal Popup (zentriert)
========================================= */

.season-center-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 1.4rem 2rem;
  width: max-content;
  max-width: 90%;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  z-index: 200000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.4s ease;
  pointer-events: auto;
}

.season-center-popup.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.season-center-inner {
  position: relative;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-main);
}

.season-center-inner p {
  margin: 0;
  line-height: 1.6;
}

.season-close {
  position: absolute;
  top: -6px;
  right: -6px;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--accent);
  transition: 0.2s;
}

.season-close:hover {
  color: var(--accent-hover);
}


/* ============================
   Professionelles großes Seasonal Popup
============================ */

.season-center-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -42%);
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: 18px;
  padding: 2.4rem 3rem;
  width: 480px;              /* deutlich größer */
  max-width: 90%;
  box-shadow: 0 0 45px rgba(0,0,0,0.55);
  z-index: 30000;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.season-center-popup.visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.season-center-inner {
  position: relative;
  text-align: center;
  font-size: 1.4rem;          /* größerer Text */
  line-height: 1.7;
  color: var(--text-main);
  padding: 0.8rem 0;
}

.season-center-inner p {
  margin: 0;
}

/* X oben RECHTS in der Ecke – richtig positioniert */
.season-close {
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 2.2rem;          /* größer und deutlicher */
  cursor: pointer;
  color: var(--accent);
  transition: 0.2s ease;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 2px 10px 6px 10px;  /* runder Button */
  line-height: 1;
}

.season-close:hover {
  color: var(--accent-hover);
  background: rgba(0,0,0,0.75);
}

/* ============================
   Mini-Emoji Animationen
============================ */

.float-heart,
.float-leaf,
.float-flower,
.float-pumpkin {
  position: fixed;
  font-size: 2rem;        /* etwas größer */
  pointer-events: none;
  animation: floatAnim 6s ease-in-out forwards;
  z-index: 20000;
  bottom: -40px;
}

@keyframes floatAnim {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  70% { transform: translateY(-50vh); opacity: 1; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

.float-egg {
  position: fixed;
  bottom: -40px;
  pointer-events: none;
  z-index: 20000;
  animation: eggFloat 6.5s ease-in-out forwards;
  opacity: 0;
}

/* Aufsteigende Eier, leicht drehend */
@keyframes eggFloat {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  70% {
    transform: translateY(-55vh) rotate(15deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) rotate(-20deg);
    opacity: 0;
  }
}


.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #f9fafb;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0,188,212,0.3);
  box-shadow: 0 0 18px rgba(0,188,212,0.35);
  z-index: 9999;
  max-width: 90%;
  width: 380px;
  text-align: center;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-box h3 {
  margin-top: 0;
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.cookie-buttons .btn,
.cookie-buttons .btn-outline {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-buttons .btn {
  background: var(--accent);
  color: var(--bg-main);
}

.cookie-buttons .btn:hover {
  background: var(--accent-hover);
}

.cookie-buttons .btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cookie-buttons .btn-outline:hover {
  background: var(--accent);
  color: var(--bg-main);
}


.cookie-change {
  margin-top: 20px;
  text-align: center;
}
.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.9rem;
}
.btn-link:hover {
  text-decoration: underline;
}

/* ======================================================
   HERO – Mobile Optimierung (max 480px)
====================================================== */
@media (max-width: 480px) {

  /* Mehr Abstand nach dem Header */
  .hero {
    padding: 6rem 1rem 2.5rem !important;
    min-height: auto !important;
  }

  /* engeres Layout */
  .hero-content {
    gap: 0.5rem !important;
  }

  /* Bild verkleinern */
  .hero-image img {
    width: 160px !important;
    margin-top: 0.5rem;
  }

  /* Titel kleiner & kompakter */
  .hero-text h1 {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 0.6rem;
  }

  /* Beschreibungen kompakter */
  .hero-text p {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  /* Mehr Abstand zwischen Buttons und Text */
  .buttons {
    margin-top: 0.8rem;
    gap: 0.6rem;
  }

  /* Buttons kleiner & nicht so breit */
  .btn,
  .btn-outline {
    padding: 0.6rem 1rem;
    font-size: 0.95rem ;
    margin-top: 24px;
  }
}
