/* ==========================================================================
   AUTclouding – zentrales Stylesheet (statische Website, ohne Framework)
   Design-Tokens übernommen aus dem bisherigen Tailwind-Setup (index.css)
   ========================================================================== */

:root {
  --background: hsl(0 0% 100%);
  --foreground: hsl(220 15% 15%);

  --card: hsl(0 0% 100%);
  --card-foreground: hsl(220 15% 15%);

  --primary: hsl(214 85% 45%);
  --primary-foreground: hsl(0 0% 100%);
  --primary-hover: hsl(214 85% 40%);
  --primary-glow: hsl(214 85% 65%);

  --secondary: hsl(45 85% 55%);
  --secondary-foreground: hsl(0 0% 100%);
  --secondary-hover: hsl(45 85% 50%);

  --muted: hsl(220 15% 96%);
  --muted-foreground: hsl(220 10% 50%);

  --accent: hsl(45 85% 55%);
  --accent-foreground: hsl(0 0% 100%);

  --destructive: hsl(0 84% 60%);
  --destructive-foreground: hsl(0 0% 100%);

  --border: hsl(220 15% 88%);
  --input: hsl(220 15% 88%);
  --ring: hsl(214 85% 45%);

  --gradient-hero: linear-gradient(135deg, hsl(214 85% 45%) 0%, hsl(210 80% 50%) 50%, hsl(45 85% 55%) 100%);
  --gradient-tech: linear-gradient(135deg, hsl(214 85% 45%) 0%, hsl(195 100% 70%) 50%, hsl(260 85% 65%) 100%);
  --gradient-card: linear-gradient(145deg, hsl(0 0% 100% / 0.1), hsl(0 0% 100% / 0.05));

  --shadow-card: 0 4px 6px -1px hsl(220 15% 15% / 0.1);
  --shadow-hover: 0 10px 25px -5px hsl(214 85% 45% / 0.3);
  --shadow-glow: 0 0 40px hsl(214 85% 45% / 0.4);

  --radius: 0.5rem;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- Reset / Basis ---------- */

*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.5rem; }

a { color: inherit; }

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2rem; height: 2rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout-Container ---------- */

.container {
  max-width: 80rem;               /* entspricht max-w-7xl */
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow { max-width: 56rem; }  /* max-w-4xl */
.container-medium { max-width: 72rem; }  /* max-w-6xl */

@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.section { padding: 4rem 0; }
.section-muted { background: var(--muted); }
.section-muted-soft { background: hsl(220 15% 96% / 0.5); }

.text-center { text-align: center; }
.text-muted { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-lg { font-size: 1.125rem; }
.text-sm { font-size: 0.875rem; }

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title-lg { font-size: 2.25rem; }
}

.section-intro {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  min-height: 2.5rem;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.3s, transform 0.2s;
}

.btn:disabled { opacity: 0.5; pointer-events: none; }

.btn-lg { padding: 0.75rem 2rem; min-height: 2.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { background: var(--primary-hover); }

.btn-gold {
  background: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-gold:hover { background: var(--secondary-hover); }

.btn-outline {
  background: transparent;
  border-color: var(--input);
  color: var(--foreground);
}
.btn-outline:hover { background: var(--muted); }

.btn-outline-white {
  background: transparent;
  border-color: hsl(0 0% 100% / 0.3);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover { background: hsl(0 0% 100% / 0.1); }

.btn-white-blue {
  background: #fff;
  color: hsl(214 85% 45%);
  font-weight: 600;
  box-shadow: 0 10px 15px -3px hsl(0 0% 0% / 0.15);
  border: 2px solid transparent;
  font-size: 1.125rem;
  padding: 0.75rem 2rem;
}
.btn-white-blue:hover {
  border-color: hsl(48 96% 53%);
  box-shadow: 0 10px 25px -5px hsl(48 96% 53% / 0.3);
}

/* ---------- Header / Navigation ---------- */

.site-header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px hsl(220 15% 15% / 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo { height: 2.5rem; width: auto; }

.nav-desktop { display: none; gap: 2rem; }

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--foreground); }
.nav-link.is-active { color: var(--primary); }

.header-cta { display: none; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: calc(var(--radius) - 2px);
}
.menu-toggle:hover { background: var(--muted); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding: 0.5rem 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile .btn { margin-top: 0.5rem; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .menu-toggle, .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--gradient-hero);
  color: #fff;
  padding: 4rem 0;
  overflow: hidden;
}

.hero-tall { padding: 5rem 0; }

@media (min-width: 768px) {
  .hero-tall { padding: 8rem 0; }
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
  .hero-tall h1 { font-size: 3.75rem; }
}

.hero-sub {
  font-size: 1.25rem;
  color: hsl(0 0% 100% / 0.9);
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-tall .hero-sub { font-size: 1.5rem; }
}

.hero-content { position: relative; z-index: 10; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid .hero-copy { text-align: left; }
  .hero-grid .hero-actions { justify-content: flex-start; }
}

.hero-copy { text-align: center; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(0 0% 100% / 0.1);
  border: 1px solid hsl(0 0% 100% / 0.2);
  backdrop-filter: blur(4px);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  display: block;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
}

/* Orbit-Grafik (rechte Hero-Spalte) */

.orbit-wrap { position: relative; }

.orbit-hub {
  margin: 0 auto;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  background: var(--gradient-tech);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  animation: pulse-glow 2s ease-in-out infinite;
}

.orbit-hub-inner {
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  background: hsl(0 0% 100% / 0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-hub-inner .icon { width: 4rem; height: 4rem; color: #fff; }

.orbit-ring {
  position: absolute;
  inset: 0;
  animation: rotate 20s linear infinite;
}

.orbit-item {
  position: absolute;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: hsl(0 0% 100% / 0.1);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-item .icon { color: var(--accent); width: 1.5rem; height: 1.5rem; }

.orbit-item-top    { top: 1rem; left: 50%; transform: translateX(-50%); }
.orbit-item-bottom { bottom: 1rem; left: 50%; transform: translateX(-50%); }
.orbit-item-left   { left: 1rem; top: 50%; transform: translateY(-50%); }
.orbit-item-right  { right: 1rem; top: 50%; transform: translateY(-50%); }

.orbit-lines { position: absolute; inset: 0; pointer-events: none; }
.orbit-line { position: absolute; background: linear-gradient(to bottom, hsl(45 85% 55% / 0.5), transparent); }
.orbit-line-top    { top: 4rem; left: 50%; width: 1px; height: 4rem; transform: translateX(-50%); }
.orbit-line-bottom { bottom: 4rem; left: 50%; width: 1px; height: 4rem; transform: translateX(-50%); background: linear-gradient(to top, hsl(45 85% 55% / 0.5), transparent); }
.orbit-line-left   { left: 4rem; top: 50%; height: 1px; width: 4rem; transform: translateY(-50%); background: linear-gradient(to right, hsl(45 85% 55% / 0.5), transparent); }
.orbit-line-right  { right: 4rem; top: 50%; height: 1px; width: 4rem; transform: translateY(-50%); background: linear-gradient(to left, hsl(45 85% 55% / 0.5), transparent); }

/* Tech-Hintergrund (animierte Deko im Hero) */

.tech-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.tech-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(hsl(214 85% 45% / 0.1) 1px, transparent 1px),
    linear-gradient(90deg, hsl(214 85% 45% / 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: tech-grid 10s ease-in-out infinite;
}

.tech-shape { position: absolute; }
.tech-shape-1 { top: 5rem; left: 2.5rem; width: 4rem; height: 4rem; border: 2px solid hsl(214 85% 45% / 0.2); border-radius: var(--radius); animation: float 6s ease-in-out infinite; }
.tech-shape-2 { top: 10rem; right: 5rem; width: 3rem; height: 3rem; border: 2px solid hsl(45 85% 55% / 0.2); border-radius: 9999px; animation: float 4s ease-in-out infinite 2s; }
.tech-shape-3 { bottom: 8rem; left: 5rem; width: 2rem; height: 2rem; background: hsl(214 85% 45% / 0.1); border-radius: 0.125rem; animation: float 5s ease-in-out infinite 1s; }
.tech-shape-4 { bottom: 5rem; right: 2.5rem; width: 5rem; height: 5rem; border: 1px solid hsl(45 85% 55% / 0.15); border-radius: 0.75rem; animation: float 7s ease-in-out infinite 3s; }

.tech-line { position: absolute; left: 0; width: 100%; height: 1px; animation: pulse-soft 2s ease-in-out infinite; }
.tech-line-1 { top: 25%; background: linear-gradient(to right, transparent, hsl(214 85% 45% / 0.2), transparent); }
.tech-line-2 { bottom: 33%; background: linear-gradient(to right, transparent, hsl(45 85% 55% / 0.2), transparent); animation-delay: 2s; }

.tech-dot { position: absolute; border-radius: 9999px; animation: pulse-glow 2s ease-in-out infinite; }
.tech-dot-1 { top: 8rem; right: 8rem; width: 0.5rem; height: 0.5rem; background: var(--primary); }
.tech-dot-2 { bottom: 10rem; left: 8rem; width: 0.75rem; height: 0.75rem; background: var(--accent); animation-delay: 1.5s; }

.tech-orbit { position: absolute; display: flex; align-items: center; justify-content: center; border-radius: 9999px; }
.tech-orbit-1 { top: 50%; left: 25%; width: 6rem; height: 6rem; border: 1px solid hsl(214 85% 45% / 0.1); animation: rotate 20s linear infinite; }
.tech-orbit-1 > div { width: 2rem; height: 2rem; border: 2px solid hsl(214 85% 45% / 0.2); border-radius: 0.125rem; }
.tech-orbit-2 { top: 33%; right: 25%; width: 5rem; height: 5rem; border: 1px solid hsl(45 85% 55% / 0.1); border-radius: var(--radius); animation: rotate 15s linear infinite reverse; }
.tech-orbit-2 > div { width: 1.5rem; height: 1.5rem; background: hsl(45 85% 55% / 0.1); border-radius: 9999px; }

/* ---------- Karten ---------- */

.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px hsl(220 15% 15% / 0.05);
}

.card-header { padding: 1.5rem 1.5rem 0; }
.card-header .card-description { margin-top: 0.375rem; }
.card-content { padding: 1.5rem; }
.card-header + .card-content { padding-top: 1.5rem; }

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title-base { font-size: 1rem; }
.card-title-lg { font-size: 1.125rem; }

.card-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin: 0;
}

.card-hover { transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s; }
.card-hover:hover { box-shadow: 0 10px 15px -3px hsl(220 15% 15% / 0.1); transform: scale(1.05); }

/* ---------- Grids ---------- */

.grid { display: grid; gap: 2rem; }
.grid-gap-sm { gap: 1rem; }
.grid-gap-md { gap: 1.5rem; }

@media (min-width: 640px) {
  .grid-sm-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-md-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-md-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-md-4 { grid-template-columns: repeat(4, 1fr); }
}

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

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-primary { background: var(--primary); color: var(--primary-foreground); }
.badge-destructive { background: var(--destructive); color: var(--destructive-foreground); }
.badge-outline { border-color: var(--border); color: var(--foreground); }
.badge-success { background: hsl(141 84% 93%); color: hsl(140 61% 25%); border-color: hsl(142 69% 58%); }

.badge-promo {
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px -1px hsl(220 15% 15% / 0.15);
}

/* ---------- Feature-/Benefit-Blöcke ---------- */

.benefit { text-align: center; }

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: hsl(214 85% 45% / 0.1);
  color: var(--primary);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.benefit h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.benefit p { color: var(--muted-foreground); margin: 0; }

.icon-circle {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  background: hsl(214 85% 45% / 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: background 0.2s;
}

.card-hover:hover .icon-circle { background: hsl(214 85% 45% / 0.2); }

.step-number {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  background: hsl(214 85% 45% / 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-item .icon { color: var(--primary); margin-top: 0.25rem; }
.check-item h3 { font-weight: 600; margin-bottom: 0.5rem; font-size: 1rem; }
.check-item p { color: var(--muted-foreground); margin: 0; }

.check-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}
.check-line .icon { color: var(--primary); }

/* ---------- Statistik-Karten ---------- */

.stats-section {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(to right, hsl(220 15% 96% / 0.3), hsl(220 15% 96% / 0.5), hsl(220 15% 96% / 0.3));
}

.stats-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image:
    linear-gradient(hsl(214 85% 45% / 0.1) 1px, transparent 1px),
    linear-gradient(90deg, hsl(214 85% 45% / 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}

.stat-card { text-align: center; position: relative; animation: fadeIn 0.5s ease-in-out both; }

.stat-card-glow {
  position: absolute;
  inset: 0;
  background: hsl(214 85% 45% / 0.1);
  border-radius: var(--radius);
  filter: blur(24px);
  transition: background 0.3s;
}

.stat-card:hover .stat-card-glow { background: hsl(214 85% 45% / 0.2); }

.stat-card-body {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid hsl(214 85% 45% / 0.2);
  background: var(--gradient-card);
  backdrop-filter: blur(4px);
  transition: border-color 0.3s;
}

.stat-card:hover .stat-card-body { border-color: hsl(45 85% 55% / 0.4); }

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s, transform 0.3s;
}

.stat-card:hover .stat-value { color: var(--accent); transform: scale(1.1); }

.stat-label { font-size: 0.875rem; color: var(--muted-foreground); }

.stat-corner { position: absolute; background: hsl(214 85% 45% / 0.2); }
.stat-corner-tl-h { top: 0.5rem; left: 0.5rem; width: 2rem; height: 1px; }
.stat-corner-tl-v { top: 0.5rem; left: 0.5rem; width: 1px; height: 2rem; }
.stat-corner-br-h { bottom: 0.5rem; right: 0.5rem; width: 2rem; height: 1px; background: hsl(45 85% 55% / 0.2); }
.stat-corner-br-v { bottom: 0.5rem; right: 0.5rem; width: 1px; height: 2rem; background: hsl(45 85% 55% / 0.2); }

/* ---------- Blog-Vorschau ---------- */

.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: hsl(214 85% 45% / 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.blog-preview-box {
  background: linear-gradient(to bottom right, hsl(214 85% 45% / 0.05), hsl(45 85% 55% / 0.1));
  border: 1px solid hsl(220 15% 88% / 0.5);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
}

.blog-preview-card {
  background: var(--background);
  border: 1px solid hsl(220 15% 88% / 0.3);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px hsl(220 15% 15% / 0.05);
  transition: box-shadow 0.2s;
}

.blog-preview-card:last-child { margin-bottom: 0; }
.blog-preview-card:hover { box-shadow: 0 4px 6px -1px hsl(220 15% 15% / 0.1); }

.blog-preview-card .tag { font-size: 0.75rem; color: var(--primary); font-weight: 500; }
.blog-preview-card h3 { font-weight: 600; margin: 0.25rem 0; font-size: 1rem; }
.blog-preview-card p { font-size: 0.875rem; color: var(--muted-foreground); margin: 0.25rem 0 0; }

.blur-dot { position: absolute; border-radius: 9999px; }
.blur-dot-1 { top: -1rem; right: -1rem; width: 5rem; height: 5rem; background: hsl(214 85% 45% / 0.1); filter: blur(32px); }
.blur-dot-2 { bottom: -1rem; left: -1rem; width: 4rem; height: 4rem; background: hsl(45 85% 55% / 0.2); filter: blur(24px); }

.arrow-link .icon { transition: transform 0.2s; }
.arrow-link:hover .icon { transform: translateX(0.25rem); }

/* ---------- CTA-Sektion ---------- */

.cta-deco { position: absolute; inset: 0; opacity: 0.3; }
.cta-deco-circle { position: absolute; top: 2.5rem; left: 2.5rem; width: 8rem; height: 8rem; border: 1px solid hsl(0 0% 100% / 0.1); border-radius: 9999px; animation: float 6s ease-in-out infinite; }
.cta-deco-square { position: absolute; bottom: 2.5rem; right: 2.5rem; width: 6rem; height: 6rem; border: 1px solid hsl(45 85% 55% / 0.2); border-radius: var(--radius); animation: float 6s ease-in-out infinite 2s; }
.cta-deco-dot { position: absolute; top: 50%; left: 25%; width: 4rem; height: 4rem; background: hsl(0 0% 100% / 0.05); border-radius: 9999px; animation: pulse-glow 2s ease-in-out infinite; }

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 768px) { .cta-title { font-size: 2.25rem; } }

/* ---------- Formulare ---------- */

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  min-height: 2.5rem;
  border: 1px solid var(--input);
  border-radius: calc(var(--radius) - 2px);
  background: var(--background);
  font: inherit;
  font-size: 0.875rem;
  color: var(--foreground);
}

.form-textarea { min-height: auto; resize: vertical; }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-color: var(--ring);
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted-foreground); }

.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .form-row-2 { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 1rem; }

/* Honeypot-Feld gegen Spam – für Menschen unsichtbar */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Paket-Karten ---------- */

.package-card {
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.package-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.package-card.is-popular { border-color: var(--primary); box-shadow: var(--shadow-hover); }
.package-card.is-promo { border-color: hsl(0 84% 60% / 0.5); box-shadow: 0 10px 15px -3px hsl(220 15% 15% / 0.1); }

.package-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.package-price { font-size: 1.875rem; font-weight: 700; color: var(--primary); margin-top: 0.5rem; }
.package-price .old-price {
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--muted-foreground);
  text-decoration: line-through;
  margin-right: 0.5rem;
}

.package-features { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.package-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.package-features .icon { color: var(--primary); }

/* ---------- Kontaktseite ---------- */

.contact-info-card .card-content { padding: 1rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.contact-info-item .icon { color: var(--primary); }
.contact-info-item h3 { font-size: 0.875rem; font-weight: 500; color: var(--muted-foreground); margin-bottom: 0.125rem; }
.contact-info-item a { color: var(--foreground); text-decoration: none; transition: color 0.2s; }
.contact-info-item a:hover { color: var(--primary); }
.contact-info-item p { margin: 0; }

.callback-card { border-color: hsl(214 85% 45% / 0.2); background: hsl(214 85% 45% / 0.05); }

/* ---------- Domain-Check ---------- */

.domain-check-row { display: flex; gap: 0.5rem; }
.domain-check-row .form-input { flex: 1; }

.domain-result {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin-top: 1rem;
}

.domain-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.domain-result-name { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.domain-result-actions { display: flex; align-items: center; gap: 0.5rem; }

.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 9999px;
  animation: rotate 0.8s linear infinite;
}

/* ---------- Fließtext (Rechtsseiten) ---------- */

.prose h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 2rem; }
.prose h2 { font-size: 1.5rem; font-weight: 600; margin: 2rem 0 1rem; }
.prose h3 { font-size: 1.25rem; font-weight: 500; margin: 1.5rem 0 0.75rem; }
.prose p, .prose ul { color: var(--muted-foreground); }
.prose strong { color: var(--foreground); font-weight: 500; }
.prose a { color: var(--primary); }
.prose address {
  font-style: normal;
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  line-height: 1.7;
}
.prose .note-box {
  background: hsl(220 15% 96% / 0.3);
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.bg-legal { background: linear-gradient(to bottom right, hsl(214 85% 45% / 0.05), var(--background), hsl(45 85% 55% / 0.05)); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-inner { padding: 3rem 0 2rem; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo { height: 3rem; width: auto; margin-bottom: 1rem; }

.footer-desc { color: var(--muted-foreground); margin-bottom: 1rem; }

.footer-contact-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.footer-contact-line a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-contact-line a:hover { color: var(--foreground); }

.site-footer h3 { font-weight: 600; margin-bottom: 1rem; font-size: 1rem; }

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a, .footer-links button {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
  text-align: left;
}
.footer-links a:hover, .footer-links button:hover { color: var(--foreground); }

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- Toast-Meldungen ---------- */

.toast-container {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 24rem;
}

.toast {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px hsl(220 15% 15% / 0.15);
  padding: 1rem 1.25rem;
  animation: slideUp 0.3s ease-out;
}

.toast-destructive { border-color: var(--destructive); background: var(--destructive); color: var(--destructive-foreground); }
.toast-title { font-weight: 600; margin-bottom: 0.25rem; }
.toast-message { font-size: 0.875rem; margin: 0; opacity: 0.9; }

/* ---------- Cookie-Banner & -Dialog ---------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 15px hsl(220 15% 15% / 0.1);
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner { max-width: 72rem; margin: 0 auto; }

.cookie-banner-flex { display: flex; align-items: flex-start; gap: 1rem; }
.cookie-banner-flex > .icon { color: var(--primary); margin-top: 0.25rem; }
.cookie-banner h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.cookie-banner p { color: var(--muted-foreground); margin-bottom: 1rem; }
.cookie-banner a { color: var(--primary); }

.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.cookie-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: hsl(220 15% 15% / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-dialog-backdrop[hidden] { display: none; }

.cookie-dialog {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px hsl(220 15% 15% / 0.2);
  max-width: 42rem;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 1.5rem;
}

.cookie-dialog h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cookie-category {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
}

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-category-head .label-group { display: flex; align-items: center; gap: 0.75rem; }
.cookie-category-head .icon { color: var(--primary); }
.cookie-category-head h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.cookie-category p { font-size: 0.875rem; color: var(--muted-foreground); margin: 0.5rem 0 0; }
.cookie-category .hint { font-size: 0.75rem; display: block; margin-top: 0.25rem; }

/* Umschalter (Switch) */
.switch { position: relative; display: inline-block; width: 2.75rem; height: 1.5rem; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--input);
  transition: background 0.2s;
  cursor: pointer;
}
.switch .track::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 2px hsl(220 15% 15% / 0.2);
}
.switch input:checked + .track { background: var(--primary); }
.switch input:checked + .track::before { transform: translateX(1.25rem); }
.switch input:disabled + .track { opacity: 0.5; cursor: not-allowed; }

.cookie-dialog-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1rem;
}

.cookie-dialog-footer .right { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cookie-dialog .fine-print {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

.cookie-dialog .fine-print a { color: var(--primary); }

/* ---------- 404 ---------- */

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--muted);
  text-align: center;
}

.error-page h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 1rem; }
.error-page p { font-size: 1.25rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.error-page a { color: var(--primary); }

/* ---------- Animationen ---------- */

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

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

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px hsl(214 85% 45% / 0.3); transform: scale(1); }
  50% { box-shadow: 0 0 40px hsl(214 85% 45% / 0.6); transform: scale(1.05); }
}

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

@keyframes tech-grid {
  0% { opacity: 0.1; transform: translateX(0); }
  50% { opacity: 0.3; }
  100% { opacity: 0.1; transform: translateX(-50px); }
}

@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-fade-in { animation: fadeIn 0.5s ease-in-out both; }
.animate-slide-up { animation: slideUp 0.6s ease-out both; }

.delay-02 { animation-delay: 0.2s; }
.delay-04 { animation-delay: 0.4s; }
.delay-06 { animation-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
