/* =====================================================
   Vereinsmanager Marketing Website
   ===================================================== */

:root {
  --primary: #c41e3a;
  --primary-dark: #9b1630;
  --primary-light: #fde8ec;
  --accent: #1d4ed8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --dark: #0f172a;
  --slate: #1e293b;
  --muted: #64748b;
  --light: #f1f5f9;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1180px;
  --nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(196, 30, 58, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-dark:hover {
  background: var(--primary-light);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: 1.05rem;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  border-bottom-color: #e2e8f0;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(196, 30, 58, 0.3);
}

.logo-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--light);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(0, 163, 224, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(0, 124, 186, 0.12), transparent 50%),
    linear-gradient(180deg, #f0f7fc 0%, #ffffff 100%);
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  background: var(--white);
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Hero product preview */
.hero-preview {
  position: relative;
}

.browser-frame {
  background: #1e293b;
  border-radius: 14px 14px 12px 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: #0f172a;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.browser-dots i:nth-child(1) { background: #ef4444; }
.browser-dots i:nth-child(2) { background: #f59e0b; }
.browser-dots i:nth-child(3) { background: #22c55e; }

.browser-url {
  flex: 1;
  margin-left: 0.5rem;
  background: #334155;
  color: #94a3b8;
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
}

.browser-body {
  background: #f4f6f8;
  min-height: 280px;
}

.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
  animation: float 5s ease-in-out infinite;
}

.float-card.tl {
  top: -1rem;
  left: -1.5rem;
  animation-delay: 0s;
}

.float-card.br {
  bottom: 1rem;
  right: -1rem;
  animation-delay: 1.5s;
}

.float-card .label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.float-card .value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.float-card .up {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

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

/* ---------- Section commons ---------- */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-dark {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 55%, #0c4a6e 100%);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-dark .section-header .eyebrow {
  color: #7dd3fc;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: #94a3b8;
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #bae6fd;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  background: var(--primary-light);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

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

/* ---------- Screenshots ---------- */
.screens-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.screen-tab {
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: var(--white);
  color: var(--slate);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.screen-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.screen-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 124, 186, 0.3);
}

.screen-panels {
  position: relative;
}

.screen-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.screen-panel.active {
  display: block;
}

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

.screen-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.screen-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.screen-info p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.screen-info ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.screen-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--slate);
}

.screen-info li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* UI Mock screenshots */
.ui-screen {
  font-family: var(--font);
  background: #f4f6f8;
  min-height: 360px;
  color: #222;
  font-size: 13px;
}

.ui-topbar {
  background: linear-gradient(90deg, #007cba, #00a3e0);
  color: white;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.ui-topbar small {
  opacity: 0.85;
  font-weight: 400;
}

.ui-content {
  padding: 18px;
}

.ui-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.ui-card {
  background: white;
  border-radius: 10px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ui-card .k {
  font-size: 11px;
  color: #007cba;
  font-weight: 600;
  margin-bottom: 4px;
}

.ui-card .v {
  font-size: 26px;
  font-weight: 700;
  color: #1e293b;
}

.ui-card .s {
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

.ui-table {
  width: 100%;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-collapse: collapse;
}

.ui-table th {
  background: #007cba;
  color: white;
  text-align: left;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
}

.ui-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 12px;
}

.ui-table tr:hover td {
  background: #f1f9ff;
}

.ui-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.ui-badge.green { background: #dcfce7; color: #166534; }
.ui-badge.blue { background: #dbeafe; color: #1e40af; }
.ui-badge.orange { background: #ffedd5; color: #9a3412; }

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

.ui-module {
  background: white;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ui-module .ico {
  font-size: 22px;
  margin-bottom: 6px;
}

.ui-module h4 {
  color: #007cba;
  font-size: 13px;
  margin-bottom: 4px;
}

.ui-module p {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 10px;
}

.ui-module .btn-sm {
  display: inline-block;
  background: #007cba;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.ui-map {
  height: 220px;
  background:
    radial-gradient(circle at 48% 42%, rgba(0, 124, 186, 0.35) 0 8px, transparent 9px),
    radial-gradient(circle at 52% 55%, rgba(0, 124, 186, 0.45) 0 12px, transparent 13px),
    radial-gradient(circle at 35% 38%, rgba(0, 163, 224, 0.4) 0 7px, transparent 8px),
    radial-gradient(circle at 62% 48%, rgba(0, 124, 186, 0.3) 0 6px, transparent 7px),
    radial-gradient(circle at 45% 60%, rgba(0, 163, 224, 0.35) 0 9px, transparent 10px),
    radial-gradient(circle at 70% 35%, rgba(0, 124, 186, 0.25) 0 5px, transparent 6px),
    linear-gradient(160deg, #e0f2fe 0%, #bae6fd 40%, #e2e8f0 100%);
  border-radius: 10px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.ui-map::after {
  content: "Mitglieder-Dichte Deutschland";
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #007cba;
}

.ui-map-de {
  font-size: 72px;
  opacity: 0.15;
  font-weight: 800;
  color: #007cba;
  letter-spacing: -0.05em;
}

.ui-mail {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  min-height: 280px;
}

.ui-mail-nav {
  background: white;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ui-mail-nav div {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 4px;
  color: #475569;
}

.ui-mail-nav div.active {
  background: #e8f4fb;
  color: #007cba;
  font-weight: 600;
}

.ui-mail-list {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.ui-mail-item {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
}

.ui-mail-item .from {
  font-weight: 600;
  font-size: 12px;
}

.ui-mail-item .subj {
  font-size: 11px;
  color: #64748b;
  grid-column: 1 / -1;
}

.ui-mail-item .time {
  font-size: 10px;
  color: #94a3b8;
}

.ui-sepa {
  background: white;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ui-sepa h4 {
  color: #007cba;
  margin-bottom: 12px;
  font-size: 14px;
}

.ui-sepa-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 12px;
}

.ui-sepa .btn-sepa {
  margin-top: 14px;
  background: #007cba;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  width: 100%;
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.benefit-item h4 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.benefit-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.benefits-visual {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid #e2e8f0;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-row span {
  color: var(--muted);
  font-size: 0.95rem;
}

.metric-row strong {
  font-size: 1.15rem;
  color: var(--primary);
}

/* ---------- Pricing / Packages ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.price-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0, 124, 186, 0.18);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.price-card .price-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.price-amount span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.price-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.price-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.price-features li {
  font-size: 0.92rem;
  color: var(--slate);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.price-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

/* ---------- CTA ---------- */
.cta-box {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.cta-box p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-item .ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--slate);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.15);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-alert {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-alert.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.form-alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ---------- About company ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-card {
  background: linear-gradient(145deg, #0f172a, #1e3a5f);
  color: white;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.about-card .logo-mark {
  margin-bottom: 1.25rem;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-tags span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #e2e8f0;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer a {
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer a:hover {
  color: #7dd3fc;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ---------- Legal pages ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 0 2.5rem;
  background: linear-gradient(180deg, #f0f7fc, #fff);
}

.page-hero h1 {
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  color: var(--muted);
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--dark);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .screen-layout,
  .benefits-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-6px);
  }

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

  .float-card.tl,
  .float-card.br {
    display: none;
  }

  .hero-preview {
    order: -1;
  }
}

.gallery-strip .gallery-item {
  transition: transform 0.25s, box-shadow 0.25s;
}

.gallery-strip .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .gallery-strip > div {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none !important;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .ui-grid,
  .ui-modules {
    grid-template-columns: 1fr 1fr;
  }

  .ui-mail {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
  }
}

@media (max-width: 480px) {
  .ui-grid,
  .ui-modules {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.25rem;
  }
}

/* ---------- Cookie-Hinweis ---------- */
.cookie-root {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 1rem;
}

.cookie-root.is-open {
  display: block;
}

.cookie-panel {
  width: min(100%, 52rem);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem 1.4rem 1.3rem;
}

.cookie-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--slate);
}

.cookie-panel p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.cookie-panel a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-details {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
}

.cookie-details .check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--slate);
}

.cookie-details input {
  margin-top: 0.2rem;
}

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

.cookie-actions .btn {
  min-width: 10rem;
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.link-btn:hover,
.footer-bottom a:hover {
  color: var(--primary);
}

.mail-at {
  opacity: 0.75;
}

/* ---------- Modul-Katalog ---------- */
.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--slate);
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.extra-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 0 0 2.5rem;
}

.extra-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.extra-card-ai {
  border-color: #c4b5fd;
  box-shadow: 0 8px 28px rgba(111, 66, 193, 0.12);
}

@media (max-width: 800px) {
  .extra-features {
    grid-template-columns: 1fr;
  }
}

.mod-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.mod-cat-btn {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: var(--slate);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.mod-cat-btn:hover,
.mod-cat-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.mod-cat-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: var(--slate);
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mod-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mod-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #e8eef4;
  cursor: zoom-in;
}

.mod-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.mod-body {
  padding: 1rem 1.1rem 1.2rem;
}

.mod-body h4 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--slate);
}

.mod-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.mod-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(15, 23, 42, 0.72);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.mod-lightbox[hidden] {
  display: none;
}

.mod-lightbox-inner {
  width: min(1100px, 100%);
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}

.mod-lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--slate);
  color: #fff;
}

.mod-lightbox-close {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  cursor: pointer;
}

.mod-lightbox img {
  width: 100%;
  height: auto;
  display: block;
  background: #f4f6f8;
}

@media (max-width: 800px) {
  .mod-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .cookie-actions {
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}

.nav-cta { display: inline-flex; }

.news-hero { padding: calc(var(--nav-h) + 3rem) 0 2rem; background: linear-gradient(180deg, #fde8ec, #fff); }
.news-hero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin: 0.4rem 0 0.6rem; }
.eyebrow { color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; padding: 0 0 4rem; }
.news-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.news-card-media { display: block; background: #fde8ec; }
.news-card img, .news-card-ph { width: 100%; height: 180px; object-fit: cover; background: #fde8ec; }
.news-card-ph { display: block; background: linear-gradient(135deg, #1e3a8a 0%, #c41e3a 55%, #0f172a 100%); }
.news-card .body { padding: 1.15rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.news-card .meta { font-size: 0.82rem; color: var(--muted); }
.news-card h2 { font-size: 1.2rem; line-height: 1.35; }
.news-card h2 a:hover { color: var(--primary); }
.news-card p { color: var(--muted); font-size: 0.95rem; }
.news-card .cat { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 0.75rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; }

.article { padding: 0 0 4rem; max-width: 760px; }
.article-meta { color: var(--muted); margin-bottom: 1.25rem; }
.article-body { font-size: 1.05rem; }
.article-body h2, .article-body h3 { margin: 1.6rem 0 0.6rem; }
.article-body p, .article-body li { margin-bottom: 0.9rem; color: #334155; }
.article-body ul, .article-body ol { padding-left: 1.2rem; list-style: disc; }
.article-body a { color: var(--primary); text-decoration: underline; }
.article-body img { border-radius: 10px; margin: 1rem 0; width: 100%; height: auto; }
.article-hero { margin: 0 0 1.75rem; }
.article-hero img { width: 100%; border-radius: 14px; margin: 0; background: #fde8ec; }
.article-hero figcaption,
.article-body figure figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.45rem;
  line-height: 1.4;
}
.article-body figure { margin: 1.4rem 0 1.6rem; }
.article-body figure img { margin: 0 0 0.45rem; }
.article-source { margin-top: 2rem; font-size: 0.9rem; color: var(--muted); }

.empty-news { padding: 3rem 0 5rem; color: var(--muted); }

.admin-wrap { max-width: 980px; margin: 0 auto; padding: calc(var(--nav-h) + 2rem) 1.25rem 4rem; }
.admin-wrap h1 { margin-bottom: 1rem; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.admin-table th, .admin-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid #e2e8f0; text-align: left; font-size: 0.92rem; }
.admin-table th { background: #f0f4f8; }
.admin-form label { display: block; font-weight: 700; font-size: 0.88rem; margin: 0.9rem 0 0.3rem; }
.admin-form input[type=text], .admin-form input[type=email], .admin-form input[type=password],
.admin-form input[type=datetime-local], .admin-form input[type=url], .admin-form select, .admin-form textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit;
}
.admin-form textarea { min-height: 280px; font-family: Consolas, monospace; }
.form-alert { padding: 0.8rem 1rem; border-radius: 10px; margin-bottom: 1rem; }
.form-alert.error { background: #f8d7da; color: #721c24; }
.form-alert.ok { background: #d4edda; color: #155724; }
.badge-draft { background: #fff3cd; color: #856404; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.badge-pub { background: #d4edda; color: #155724; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.token-once { background: #0f172a; color: #86efac; padding: 1rem; border-radius: 10px; font-family: Consolas, monospace; word-break: break-all; }

@media (max-width: 800px) {
  .news-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
}
