@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans-VariableFont.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans-Italic-VariableFont.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/fonts/JetBrainsMono-VariableFont.woff2') format('woff2-variations');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #003399;
  --color-accent: #FFCC00;
  --color-accent-hover: #E6B800;
  --color-background: #F7F6F2;
  --color-surface: #FFFFFF;
  --color-border: #E5E7EB;
  --color-text: #1A1A2E;
  --color-text-muted: #6B7280;
  --color-success: #16A34A;
  --font-headline: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
}

a {
  color: inherit;
}

/* ── Layout ───────────────────────────────────── */
.layout {
  display: flex;
  min-height: 100vh;
}

/* ── Left: Branding ───────────────────────────────────── */
.branding {
  flex: 0 0 50%;
  background: linear-gradient(145deg, #002277 0%, #003399 55%, #0044CC 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.circle-1 { top: -80px; right: -80px; width: 320px; height: 320px; }
.circle-2 { top: -40px; right: -40px; width: 200px; height: 200px; border-color: rgba(255, 255, 255, 0.06); }
.circle-3 { bottom: 80px; left: -60px; width: 260px; height: 260px; border-color: rgba(255, 255, 255, 0.06); }

.glow {
  position: absolute;
  bottom: 160px;
  right: 40px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.06);
}

.stars {
  position: absolute;
  bottom: 48px;
  left: 3rem;
  right: 3rem;
  display: flex;
  gap: 6px;
}

.stars span {
  color: var(--color-accent);
  font-size: 10px;
  opacity: 0.6;
}

.logo {
  position: relative;
  z-index: 1;
}

.logo img {
  height: 36px;
  width: auto;
}

.slogan {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slogan-text {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 1.5rem;
}

.slogan-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin: 0;
}

.hosted {
  position: relative;
  z-index: 1;
  padding-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
}

.flag {
  font-size: 1em;
}

/* ── Right: Coming soon content ───────────────────────────────────── */
.content {
  flex: 1;
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem 7rem;
  position: relative;
}

.content-inner {
  max-width: 420px;
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 51, 153, 0.08);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 rgba(22, 163, 74, 0.5);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.headline {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.4vw, 2.375rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 0.875rem;
}

.accent {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.subtitle {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 2rem;
}

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

.feature-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 51, 153, 0.1);
  border-color: var(--color-accent);
}

.feature-card svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-row {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 1rem 0 0;
}

.contact-row a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-row a:hover {
  text-decoration: underline;
}

/* ── Contact form ───────────────────────────────────── */
.contact-form {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
}

.form-lead {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1rem;
}

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

.form-group {
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 4.5rem;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

.form-submit {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  height: 2.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background-color 150ms ease;
}

.form-submit:hover:not(:disabled) {
  background: var(--color-primary-hover, #002277);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: default;
}

.form-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  margin-top: 0.75rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-success);
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.content-footer {
  position: absolute;
  bottom: 2.25rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

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

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.dot {
  color: var(--color-border);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-family: var(--font-body);
  padding: 0;
}

.lang-toggle svg {
  color: var(--color-text-muted);
}

.lang-other {
  color: var(--color-primary);
}

@media (max-width: 768px) {
  .branding {
    display: none;
  }
  .features {
    grid-template-columns: 1fr;
  }
}

/* ── Legal page (Impressum) ───────────────────────────────────── */
.legal-page {
  background: var(--color-background);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--color-border);
}

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  margin-right: auto;
  margin-left: 2rem;
}

.nav-back:hover {
  color: var(--color-primary);
}

.legal-main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem 4rem;
}

.legal-card {
  max-width: 640px;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg, 12px);
  padding: 2.75rem;
}

.badge-static {
  margin-bottom: 1rem;
}

.legal-card h1 {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.legal-intro {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}

.translation-note {
  display: none;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  background: rgba(0, 51, 153, 0.06);
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  margin: 0 0 1.5rem;
}

.legal-card h2 {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.75rem 0 0.6rem;
}

.legal-card p,
.legal-card address {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 0.6rem;
  font-style: normal;
}

.legal-card a {
  color: var(--color-primary);
}

.legal-footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.legal-footer a {
  text-decoration: none;
  color: var(--color-text-muted);
}

.legal-footer a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .legal-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .nav-back {
    margin-left: 0;
    order: 3;
  }
  .legal-card {
    padding: 1.75rem;
  }
}
