/* styles.css – gemeinsames Design für alle drei Seiten */

:root {
  --accent: #22c55e;
  --bg: #0f172a;
  --bg-soft: #111827;
  --bg-card: #020617;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
  color: var(--text);
  min-height: 100vh;
}

/* Themenfarben pro Seite */
body.theme-webservices {
  --accent: #22c55e;
}

body.theme-event {
  --accent: #f97316;
}

body.theme-senia {
  --accent: #ec4899;
}

/* Layout-Basics */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.4));
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f9fafb, var(--accent) 52%, #111827 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.85), 0 0 26px rgba(34, 197, 94, 0.5);
  font-size: 0.9rem;
  font-weight: 700;
}

.logo-text-main {
  font-weight: 600;
  font-size: 0.95rem;
}

.logo-text-sub {
  font-size: 0.8rem;
  color: var(--muted);
}

nav {
  display: flex;
  gap: 1.2rem;
}

nav a {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.18s ease;
}

nav a:hover {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.7);
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
  nav {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* Hero */

.hero {
  padding: 3.5rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
}

.hero h1 {
  margin: 0.8rem 0 0.6rem;
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
}

.hero-sub {
  max-width: 32rem;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.btn {
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: radial-gradient(circle at 20% 0, #bbf7d0, var(--accent) 55%, #14532d 100%);
  color: #022c22;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.55);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--muted);
  background: rgba(15, 23, 42, 0.8);
}

.btn-outline:hover {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 1);
  background: rgba(15, 23, 42, 0.95);
}

/* Hero Media-Karte */

.hero-card {
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), #020617 55%);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.hero-media-placeholder {
  border-radius: 1.2rem;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 1.1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(15, 23, 42, 0.85);
}

.hero-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

/* Sektionen */

section {
  padding: 2.5rem 0 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: 1.35rem;
}

.section-heading p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Karten */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
}

@media (max-width: 880px) {
  .grid-3,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.card {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.12), #020617 50%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.1rem 1.2rem 1.2rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--muted);
}

/* Media-Bereiche */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 880px) {
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.media-tile {
  border-radius: 1rem;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  padding: 0.6rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
}

.media-tile span {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.media-tile strong {
  font-size: 0.82rem;
}

/* Video-Wrapper – 16:9 */

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px dashed rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617 70%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-placeholder-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.86rem;
  color: var(--muted);
  padding: 0 1rem;
  text-align: center;
}

/* Listen */

.bullet-list {
  list-style: none;
  padding-left: 0;
  margin: 0.4rem 0 0;
}

.bullet-list li {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  display: flex;
  gap: 0.5rem;
}

.bullet-list li::before {
  content: "•";
  color: var(--accent);
  margin-top: 0.1rem;
}

/* Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.4rem;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-details p {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 0.7rem;
}

.contact-form label {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

/* Footer */

footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.2rem 0 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: underline;
}
