@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap');

/* --- Lokale Schriften (DSGVO-konform) --- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v21-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v21-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v21-latin-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v26-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/montserrat-v26-latin-700.woff2') format('woff2');
}

/* --- Globales Design-System --- */
:root {
  /* Farben */
  --color-background: #1a202c;
  --color-text: #edf2f7;
  --color-primary: #08d9d6;
  --color-accent: #ff2e63;
  --color-border: #2d3748;

  /* Typografie */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Montserrat', sans-serif;

  /* Layout */
  --container-width: 1140px;
  --border-radius: 8px;
}

/* --- Grundlegende Stile & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Basis-Schriftgröße */
}

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

/* --- Globale Klassen & Typografie --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 80px 0;
}

h1, h2, h3 {
  font-family: var(--font-secondary);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: #fff;
  overflow-wrap: break-word;
  hyphens: auto;
}

.brand-name {
  color: var(--color-primary);
  font-weight: 700;
}

/* Brand Headline Styles */
@keyframes animated-gradient-text {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.brand-headline-ihr,
.brand-headline-standort,
.brand-headline-punkt,
.brand-headline-tk {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.brand-headline-ihr {
  background: linear-gradient(90deg, #08D9D6, #FFCC00, #FFFFFF, #08D9D6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animated-gradient-text 5s ease-in-out infinite;
}

.brand-headline-standort {
  color: #ccffcc;
}

.brand-headline-punkt {
  color: #0DD1CE;
}

.brand-headline-tk {
  color: #FFCC00;
}

.brand-headline-wrapper {
  display: inline-block;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-align: center;
  margin-bottom: 60px;
}

h3 {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

p {
  margin-bottom: 20px;
  font-size: 1.15rem;
  line-height: 1.7;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-text);
}

/* --- Button-Stile --- */
.cta-button, .secondary-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button {
  background-color: var(--color-primary);
  color: var(--color-background);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px var(--color-primary);
}

.secondary-button {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.secondary-button:hover {
  background-color: var(--color-primary);
  color: var(--color-background);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -10px var(--color-primary);
}

/* --- Sektion 1: Hero --- */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 10px;
}

.hero-subheadline {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

#hero .logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 30px;
}

#hero p {
  max-width: 600px;
  margin: 0 auto 30px auto;
  font-size: 1.15rem;
}

/* --- Sektionen 2 & 3: Problem & Lösung Grids --- */
.grid-3-col, .grid-4-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: stretch;
}

.grid-item {
  text-align: center;
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  background-color: #2d374820;
}

.grid-item svg {
  color: var(--color-primary);
  margin-bottom: 25px;
  width: 64px;
  height: 64px;
}

.grid-item p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- Sektion 4: Prozess --- */
.process-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.step {
  text-align: center;
  max-width: 300px;
}

.step-number {
  width: 60px;
  height: 60px;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.step h3 {
  font-size: 1.6rem;
}

.step p {
  font-size: 1.1rem;
}

.step-arrow {
  display: none;
  font-size: 3rem;
  color: var(--color-primary);
}

/* --- Sektion 5: Angebot --- */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.offer-box {
  border: 1px solid var(--color-border);
  padding: 50px 40px;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
}

.offer-box h3 {
  font-size: 1.8rem;
  margin-top: 0;
}

.offer-box p {
  font-size: 1.15rem;
}

.offer-box ul {
  list-style: none;
  margin: 25px 0;
  flex-grow: 1;
}

.offer-box ul li {
  margin-bottom: 12px;
  padding-left: 30px;
  padding-top: 8px;
  padding-bottom: 8px;
  position: relative;
  font-size: 1.1rem;
}

.offer-box ul li::before {
  content: '✓';
  color: var(--color-primary);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.offer-box .price {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

/* Price Prefix Fix */
.price-prefix {
  font-size: 10px !important; 
  opacity: 0.8;
  position: relative;
  top: 0.1em;
}

/* Styling für STANDARD hervorgehobene Premium-Keywords */
mark {
  background-color: var(--color-primary); /* Cyan */
  color: var(--color-background); /* Dunkler Hintergrund */
  font-weight: 600;
  padding: 0.1em 0.3em;
  border-radius: 4px;
}

/* --- Footer-Styling --- */
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.footer-slogan {
  flex-grow: 1;
  text-align: center;
}

.footer-logo-img {
  height: 40px;  
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-copyright {
  font-size: 0.9em;
  opacity: 0.7;
  margin: 0;
  text-align: center;
}

.footer-links {
  font-size: 0.9em;
  display: flex;
  gap: 30px;
}

@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }
  .footer-copyright {
    order: 3;
  }
  .footer-links {
    order: 2;
  }
  .footer-logo {
    order: 1;
  }
}

/* --- Scroll-Animation --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Media Queries Desktop --- */
@media (min-width: 768px) {
  .grid-3-col {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4-col {
    grid-template-columns: repeat(2, 1fr);
  }
   
  .process-steps {
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
  }

  .step-arrow {
    display: block;
    margin-top: 80px;
  }

  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .grid-4-col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Modal & Formular --- */
.modal {
  display: none;
  position: fixed;  
  z-index: 1000;  
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;  
  background-color: rgba(26, 32, 44, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--color-background);
  margin: 10% auto;
  padding: 50px 40px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: fadeIn 0.5s;
}

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

.close-btn {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 25px;
}

.close-btn:hover,
.close-btn:focus {
  color: var(--color-primary);
  text-decoration: none;
  cursor: pointer;
}

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

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  font-family: var(--font-secondary);
  font-size: 1.1rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background-color: #2D3748;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  color: var(--color-text);
  font-family: var(--font-primary);
  font-size: 1.1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.hostname-input {
  display: flex;
  align-items: center;
}
.hostname-input input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}
.hostname-input span {
  padding: 15px;
  background-color: #2D3748;
  border: 1px solid var(--color-border);
  border-left: 1px solid #4A5568;
  border-top-right-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  color: #A0AEC0;
  font-size: 1.1rem;
}

.contact-form button {
  width: 100%;
  padding: 18px;
  font-size: 1.1rem;
}

.form-status {
  padding: 15px;
  margin: 0;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}
.form-status.success {
  background-color: #08d9d6;
  color: var(--color-background);
}
.form-status.error {
  background-color: #ff2e63;
}

/* --- Sektion Legal --- */
#legal {
  padding-top: 120px;
  padding-bottom: 120px;
}
#legal h1 {
  text-align: center;
  margin-bottom: 60px;
}
#legal h2 {
  text-align: left;
  font-size: 2rem;
  margin-top: 40px;
}
#legal p, #legal ul {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#legal a {
  text-decoration: underline;
  color: var(--color-primary);
}
#legal a:hover {
  color: var(--color-text);
}

/* Styling für den Service-Hinweis im Footer */
.footer-service {
  font-size: 0.85em;
  opacity: 0.7;
  margin-top: 15px;
  text-align: center;  
}

/* =========================================
 *    MEGA / PREMIUM UPGRADES (V4 - ALL GOLD EVERYTHING)
 *       ========================================= */

/* Premium Box: Basis-Zustand - Force Mode */
.offer-box.premium {
    border: 2px solid rgba(255, 215, 0, 0.6) !important;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15) !important;
    background: linear-gradient(180deg, rgba(26, 32, 44, 1) 0%, rgba(40, 30, 10, 1) 100%);
    transform: scale(1.02);
    z-index: 2;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.offer-box.premium:hover {
    box-shadow: 0 0 60px rgba(255, 215, 0, 0.5) !important;
    border-color: #FFD700 !important;
    transform: translateY(-10px) scale(1.05);
}

/* Überschrift in Premium Box auch GOLD */
.offer-box.premium h3 {
    color: #FFD700 !important;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Checkmarks in der Premium Liste - GOLD */
.offer-box.premium ul li::before {
    color: #FFD700 !important;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Mark-Tags in Premium Box - GOLD BADGES (Kein Cyan mehr!) */
.offer-box.premium mark {
    background-color: #FFD700 !important; /* Goldener Hintergrund */
    color: #000 !important; /* Schwarzer Text für Kontrast */
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* Leichter Glow */
    border: 1px solid #b8860b; /* Feiner dunklerer Gold-Rand */
    font-weight: 800;
}

/* Animierter Gold-Text (Shimmer) */
@keyframes goldShimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Wir zwingen das Span-Element, den Style anzunehmen */
.offer-box.premium ul li span.premium-shimmer {
    display: inline-block;
    background: linear-gradient(120deg, #cfa855 0%, #cfa855 40%, #FFF 50%, #cfa855 60%, #cfa855 100%) !important;
    background-size: 200% auto !important;
    color: transparent !important; /* Text muss transparent sein */
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: goldShimmer 3s linear infinite !important;
    font-weight: 900 !important;
    text-transform: uppercase;
}

/* Pulsier-Animation für den Button */
@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Der MEGA Button */
button.mega-button {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #FFD700 100%) !important;
    color: #000 !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none !important;
    padding: 20px !important;
    font-size: 1.2rem !important;
    border-radius: 8px !important;
    cursor: pointer;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    animation: pulse-gold 2s infinite;
}

button.mega-button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #fffacd 0%, #FFD700 50%, #b8860b 100%) !important;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.8) !important;
}
