/* Basis-Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(-45deg, #0a0f2c, #164CA4, #1e3c72, #2a5298);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Container (optional) */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Kopfzeile */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: rgba(9, 16, 41, 0.9);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: slideDown 1s ease;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
}

/* Runde Logos */
.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 174, 239, 0.3));
  animation: pulse 2s ease-in-out infinite;
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(0, 174, 239, 0.6));
}

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

/* Hero-Bereich */
.hero {
  background: linear-gradient(135deg, #164CA4, #0A0F2C);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="60" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="90" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

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

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease 0.5s both;
}

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

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  background: linear-gradient(45deg, #00aeef, #ffffff, #00aeef);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShine 3s ease-in-out infinite;
}

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

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #d1d1d1;
  animation: fadeInUp 1s ease 0.8s both;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(45deg, #00aeef, #0094cb);
  color: #fff;
  padding: 15px 30px;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 1.1s both;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.cta-btn:hover::before {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.5);
}

/* Abschnitt "Über unseren Bot" */
.about {
  padding: 60px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInView 1s ease forwards;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #00aeef;
  text-transform: uppercase;
  position: relative;
}

.about h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(45deg, #00aeef, #0094cb);
  animation: lineExpand 2s ease 0.5s forwards;
}

@keyframes lineExpand {
  from { width: 0; }
  to { width: 100px; }
}

@keyframes slideInView {
  to { opacity: 1; transform: translateY(0); }
}

.about p {
  font-size: 1rem;
  color: #ccc;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 1s ease 0.8s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Abschnitt "Tarife" */
.pricing {
  padding: 60px 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInView 1s ease forwards;
  animation-delay: 0.3s;
}

.pricing h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #00aeef;
  text-transform: uppercase;
  position: relative;
}

.pricing h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(45deg, #00aeef, #0094cb);
  animation: lineExpand 2s ease 0.8s forwards;
}

.plans {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: stretch; /* Wichtig, um gleiche Höhe für alle .plan zu erzwingen */
}

.plan {
  background: linear-gradient(145deg, #11163d, #1a1f4a);
  flex: 1 1 250px;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  max-width: 300px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 174, 239, 0.2);
  opacity: 0;
  transform: translateY(50px);
  animation: cardSlideIn 1s ease forwards;
}

.plan:nth-child(1) { animation-delay: 0.2s; }
.plan:nth-child(2) { animation-delay: 0.4s; }

@keyframes cardSlideIn {
  to { opacity: 1; transform: translateY(0); }
}

.plan::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(0, 174, 239, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  opacity: 0;
}

.plan:hover::before {
  animation: shimmer 1.5s ease;
}

@keyframes shimmer {
  0% { transform: rotate(45deg) translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: rotate(45deg) translateX(100%); opacity: 0; }
}

.plan:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.3);
  border-color: rgba(0, 174, 239, 0.6);
}

.plan h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #00aeef;
}

.plan p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 20px;
}

.price {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 20px;
}

/* Button am unteren Rand ausrichten */
.plan-btn {
  margin-top: auto;
  display: inline-block;
  background: linear-gradient(45deg, #00aeef, #0094cb);
  color: #fff;
  padding: 12px 25px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 174, 239, 0.3);
}

.plan-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}

.plan-btn:hover::before {
  left: 100%;
}

.plan-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 174, 239, 0.5);
}

/* Fußzeile */
.footer {
  background: #091029;
  text-align: center;
  padding: 20px;
}

.footer p {
  color: #ccc;
  font-size: 0.9rem;
  margin: 5px 0;
}

.footer a {
  color: #00aeef;
  font-weight: bold;
}

/* Responsive Design für Mobilgeräte */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .plans {
    flex-direction: column;
    align-items: center;
  }
  .logo {
    width: 60px;
    height: 60px;
  }
}
