/* Ising IT Services – Dark Professional Theme */
:root {
  --bg-primary: #070b14;
  --bg-secondary: #0f1629;
  --bg-card: #141c2f;
  --bg-elevated: #1a2540;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #22d3ee;
  --accent-secondary: #818cf8;
  --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  --border: rgba(148, 163, 184, 0.12);
  --border-hover: rgba(34, 211, 238, 0.35);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 76px;
  --ticker-h: 40px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100%;
}

body.no-ticker {
  --ticker-h: 0px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(99, 102, 241, 0.08), transparent);
  pointer-events: none;
  z-index: -1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #67e8f9; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.site-header.menu-open {
  border-bottom-color: transparent;
}

.site-header.scrolled { background: rgba(7, 11, 20, 0.95); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

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

.logo img,
.logo video {
  width: auto;
  height: 62px;
  max-width: min(75vw, 210px);
  object-fit: contain;
  object-position: left center;
  display: block;
}

.logo .js-header-logo-video {
  height: 62px;
  max-width: min(88vw, 236px);
}


.logo--footer {
  display: inline-block;
  line-height: 0;
}

.logo-footer-frame {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  box-shadow: inset 0 0 24px rgba(15, 22, 41, 0.9);
}

.logo--footer img {
  display: block;
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: brightness(1.12) contrast(1.05);
}

@supports not (mix-blend-mode: screen) {
  .logo--footer img {
    mix-blend-mode: normal;
    filter: brightness(1.2);
  }
}

@media (min-width: 768px) {
  .logo img,
  .logo video {
    height: 67px;
    max-width: 224px;
  }

  .logo .js-header-logo-video {
    height: 68px;
    max-width: 248px;
  }
}

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-desktop a:hover { color: var(--text-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: rgba(34, 211, 238, 0.08);
  color: var(--text-primary);
}

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

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 2;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  grid-template-rows: 0fr;
  background: rgba(10, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color var(--transition),
    box-shadow var(--transition);
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.nav-mobile[aria-hidden="false"] {
  pointer-events: auto;
}

.nav-mobile.open {
  grid-template-rows: 1fr;
  border-bottom-color: var(--border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.nav-mobile-inner {
  min-height: 0;
  overflow: hidden;
}

.nav-mobile.open .nav-mobile-inner {
  max-height: min(70vh, 480px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-mobile ul {
  list-style: none;
  padding: 0.5rem 1.25rem 1.25rem;
}

.nav-mobile li { border-bottom: 1px solid var(--border); }
.nav-mobile li:last-child { border-bottom: none; }

.nav-mobile a {
  display: block;
  padding: 0.875rem 0;
  color: var(--text-primary);
  font-size: 1.0625rem;
  font-weight: 500;
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 0.75rem;
  text-align: center;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  top: calc(var(--header-h) + var(--ticker-h));
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

.news-ticker {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: var(--ticker-h);
  z-index: 1080;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.12));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.55);
}

.news-ticker-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.news-ticker-track span {
  position: absolute;
  top: 50%;
  left: 0;
  white-space: nowrap;
  padding-right: 2rem;
  transform: translateY(-50%);
  will-change: left;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + var(--ticker-h) + 3rem) 0 4rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 .gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(7, 11, 20, 0.4));
  pointer-events: none;
}

.hero-image--flow .hero-flow-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-image--flow .hero-flow-layer::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 8%;
  width: 44%;
  height: 72%;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.12), rgba(129, 140, 248, 0.08)),
    repeating-linear-gradient(
      180deg,
      rgba(125, 211, 252, 0.06) 0 8px,
      rgba(0, 0, 0, 0) 8px 16px
    );
  border: 1px solid rgba(125, 211, 252, 0.18);
  box-shadow: inset 0 0 24px rgba(34, 211, 238, 0.12);
  animation: heroPanelGlow 4.2s ease-in-out infinite;
}

.hero-image--flow .hero-flow-layer::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 8%;
  width: 44%;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(103, 232, 249, 0.9), rgba(34, 211, 238, 0));
  box-shadow: 0 0 8px rgba(103, 232, 249, 0.65);
  animation: heroPanelScan 4.2s linear infinite;
  opacity: 0.5;
}

.hero-image--flow .hero-flow-dot {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

.hero-image--flow .hero-flow-dot--one {
  top: 10%;
  right: 10%;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.hero-image--flow .hero-flow-dot--one::before,
.hero-image--flow .hero-flow-dot--one::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-image--flow .hero-flow-dot--one::before {
  border: 1px solid rgba(103, 232, 249, 0.6);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.45);
  animation: heroOrbRingPulse 2.1s ease-out infinite;
}

.hero-image--flow .hero-flow-dot--one::after {
  display: none;
}

.hero-image--flow .hero-flow-dot--two {
  top: 79%;
  left: 11%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  display: block;
}

.hero-image--flow .hero-flow-dot--two::before,
.hero-image--flow .hero-flow-dot--two::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-image--flow .hero-flow-dot--two::before {
  border: 1px solid rgba(103, 232, 249, 0.55);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.38);
  animation: heroOrbRingPulse 2.4s ease-out infinite;
}

.hero-image--flow .hero-flow-dot--two::after {
  inset: -14px;
  border: 1px solid rgba(129, 140, 248, 0.32);
  animation: heroOrbRingPulse 2.4s ease-out infinite;
  animation-delay: 0.8s;
}

.hero-image--flow .hero-flow-dot--three {
  top: 47%;
  left: 24%;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  display: block;
}

.hero-image--flow .hero-flow-dot--three::before,
.hero-image--flow .hero-flow-dot--three::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  pointer-events: none;
}

.hero-image--flow .hero-flow-dot--three::before {
  border: 1px solid rgba(103, 232, 249, 0.48);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.32);
  animation: heroOrbRingPulse 2.2s ease-out infinite;
}

.hero-image--flow .hero-flow-dot--three::after {
  inset: -13px;
  border: 1px solid rgba(129, 140, 248, 0.28);
  animation: heroOrbRingPulse 2.2s ease-out infinite;
  animation-delay: 0.6s;
}

@keyframes heroPanelGlow {
  0%, 100% { opacity: 0.55; filter: brightness(1); }
  50% { opacity: 0.95; filter: brightness(1.18); }
}

@keyframes heroPanelScan {
  0% { top: 10%; opacity: 0.25; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: calc(10% + 72% - 2px); opacity: 0.2; }
}

@keyframes heroOrbPulse {
  0%, 100% { transform: scale(1); filter: brightness(1.05); }
  50% { transform: scale(1.25); filter: brightness(1.45); }
}

@keyframes heroOrbRingPulse {
  0% { transform: scale(0.9); opacity: 0.85; }
  70% { transform: scale(1.55); opacity: 0.1; }
  100% { transform: scale(1.7); opacity: 0; }
}


@media (prefers-reduced-motion: reduce) {
  .hero-image--flow .hero-flow-layer,
  .hero-image--flow .hero-flow-dot {
    animation: none !important;
    opacity: 0.35;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

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

/* Sections */
section { padding: 5rem 0; }

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

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p { color: var(--text-secondary); font-size: 1.0625rem; }

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

html.js-animate .service-card:not(.visible),
html.js-animate .feature-item:not(.visible) {
  opacity: 0;
  transform: translateY(20px);
}

.service-card,
.feature-item {
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}

html.js-animate .service-card.visible,
html.js-animate .feature-item.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js-animate .service-card:not(.visible),
  html.js-animate .feature-item:not(.visible) {
    opacity: 1;
    transform: none;
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-image img { transform: scale(1.05); }

.service-card-body { padding: 1.5rem; }

.service-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-card-body p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-features {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 10px;
  color: var(--accent);
  font-size: 1.25rem;
}

.feature-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature-item p { font-size: 0.875rem; color: var(--text-secondary); }

/* CTA */
.cta-section {
  padding: 4rem 0;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: var(--accent-gradient);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.contact-item:last-child { margin-bottom: 0; }

.contact-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

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

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

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

.form-row {
  display: grid;
  gap: 1.25rem;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-checkbox input { width: auto; margin-top: 0.25rem; accent-color: var(--accent); }

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* Legal pages */
.page-hero {
  padding: calc(var(--header-h) + var(--ticker-h) + 3rem) 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

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

.admin-section {
  padding-bottom: 4rem;
}

.admin-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(20, 28, 47, 0.9);
  box-shadow: var(--shadow);
}

.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.admin-hint {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.admin-form {
  display: grid;
  gap: 0.8rem;
}

.admin-form textarea {
  min-height: 180px;
  resize: vertical;
}

.admin-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 1.6rem 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

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

.legal-content h3 {
  font-size: 1.0625rem;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }

.impressum-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.impressum-card > div {
  width: 100%;
  text-align: left;
}

.impressum-photo-wrap {
  display: block;
  width: auto;
  flex-shrink: 0;
}

.impressum-photo {
  display: block;
  width: 160px;
  height: 160px;
  margin: 0;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid var(--border-hover);
}

.impressum-card h2 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.impressum-role { color: var(--accent); font-weight: 500; margin-bottom: 1rem; }

/* Footer */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.9375rem; }
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-admin-link {
  color: var(--text-secondary);
}

.footer-admin-link:hover {
  color: var(--text-primary);
}

.visitor-count {
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.55;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

/* Responsive */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .impressum-card {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 2rem;
  }

  .impressum-card > div {
    width: auto;
  }

  .impressum-photo-wrap {
    padding-top: 1rem;
  }
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .nav-desktop { display: block; }
  .nav-mobile,
  .nav-overlay { display: none !important; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  section { padding: 6rem 0; }
}

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

@media (max-width: 767px) {
  :root {
    --ticker-h: 36px;
  }

  .news-ticker-track {
    font-size: 0.82rem;
  }

  .news-ticker-track span {
    padding-right: 1.5rem;
  }
}

/* Cookie- & Datenschutz-Banner */
.cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

.cookie-banner__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
}

.cookie-banner__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.cookie-banner__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.cookie-banner__box h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.cookie-banner__box p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.cookie-banner__box p a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-banner__accept {
  width: 100%;
  font-size: 1.0625rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 6px 28px rgba(14, 165, 233, 0.45);
}

.cookie-banner__decline {
  width: 100%;
  padding: 0.625rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.cookie-banner__decline:hover {
  color: var(--text-secondary);
  border-color: var(--text-muted);
}

.cookie-banner__hint {
  margin-bottom: 0 !important;
  margin-top: 1rem !important;
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
}

@media (min-width: 480px) {
  .cookie-banner__actions {
    flex-direction: column-reverse;
  }

  .cookie-banner__accept {
    order: -1;
  }
}

/* Floating action buttons */
.fab-stack--left {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  background: rgba(20, 28, 47, 0.95);
  backdrop-filter: blur(12px);
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.25);
  color: var(--text-primary);
}

.fab-phone-wrap {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  width: 52px;
  height: 52px;
}

.fab-phone-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, 0.55);
  pointer-events: none;
  animation: fab-phone-ring 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.fab-phone-ring--delay {
  animation-delay: 1.1s;
}

.fab--phone {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  border-color: transparent;
  color: #fff;
  animation: fab-phone-pulse 2.2s ease-in-out infinite;
}

.fab-icon--phone {
  animation: fab-phone-shake 2.2s ease-in-out infinite;
  transform-origin: center;
}

.fab-phone-wrap:hover .fab--phone,
.fab-phone-wrap:focus-within .fab--phone {
  animation-play-state: paused;
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 14px 40px rgba(14, 165, 233, 0.55);
}

.fab-phone-wrap:hover .fab-icon--phone,
.fab-phone-wrap:focus-within .fab-icon--phone {
  animation-play-state: paused;
}

.fab-phone-wrap:hover .fab-phone-ring,
.fab-phone-wrap:focus-within .fab-phone-ring {
  animation-play-state: paused;
  opacity: 0;
}

.fab--phone:hover {
  color: #fff;
}

@keyframes fab-phone-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 12px 36px rgba(14, 165, 233, 0.55);
  }
}

@keyframes fab-phone-ring {
  0% {
    transform: scale(1);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@keyframes fab-phone-shake {
  0%, 100%, 50% { transform: rotate(0deg); }
  5% { transform: rotate(-8deg); }
  10% { transform: rotate(8deg); }
  15% { transform: rotate(-6deg); }
  20% { transform: rotate(6deg); }
  25% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .fab--phone,
  .fab-icon--phone,
  .fab-phone-ring {
    animation: none !important;
  }
}

.fab--audio.is-muted {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--border);
}

.fab-icon {
  width: 22px;
  height: 22px;
}

.fab--audio .fab-icon--off {
  display: none;
}

.fab--audio.is-muted .fab-icon--on {
  display: none;
}

.fab--audio.is-muted .fab-icon--off {
  display: block;
}

@media (max-width: 480px) {
  .fab-stack--left,
  .fab-phone-wrap {
    bottom: 1rem;
  }

  .fab-stack--left {
    left: 1rem;
  }

  .fab-phone-wrap {
    right: 1rem;
  }

  .fab {
    width: 48px;
    height: 48px;
  }
}
