/* Nuclea Consulting – Brand: Petrol #006991, Gold #D2A416, Weiß */

:root {
  --petrol: #006991;
  --petrol-dark: #00506f;
  --petrol-light: #e6f0f4;
  --gold: #d2a416;
  --gold-dark: #b08a0c;
  --ink: #12333f;
  --muted: #5a7682;
  --line: #e2eaee;
  --bg: #ffffff;
  --radius: 10px;
  --maxw: 720px;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Avenir Next", "Avenir", "Segoe UI", system-ui, -apple-system,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

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

.page {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 56px 24px 40px;
}

.content {
  flex: 1 0 auto;
  padding: 40px 24px 64px;
}

/* ---------- Logo ---------- */

.logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero .logo { animation: rise .7s ease-out both; }

/* ---------- Claim ---------- */

.claim {
  width: 100%;
  max-width: 560px;
  margin: 34px auto 0;
  animation: rise .7s .1s ease-out both;
}

/* Der Claim steht garantiert in einer Zeile: das SVG skaliert mit der Breite,
   textLength haelt die Zeile exakt auf Containerbreite. */
.claim svg {
  display: block;
  width: 100%;
  height: auto;
}

.claim text {
  font-family: inherit;
  font-size: 34px;
  font-weight: 600;
  fill: var(--petrol);
}

.claim--en {
  margin-top: 14px;
  animation-delay: .18s;
}

.claim--en text {
  font-size: 30px;
  font-weight: 500;
  fill: var(--gold);
}

.rule {
  width: 56px;
  height: 3px;
  border: 0;
  margin: 40px auto 0;
  background: var(--gold);
  animation: rise .7s .26s ease-out both;
}

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

.actions {
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 340px;
  animation: rise .7s .34s ease-out both;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--petrol);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease,
              color .18s ease, transform .18s ease;
}

.btn:hover { border-color: var(--petrol); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--petrol);
  border-color: var(--petrol);
  color: #fff;
}

.btn--primary:hover { background: var(--petrol-dark); border-color: var(--petrol-dark); }

.btn svg { flex: none; width: 20px; height: 20px; fill: currentColor; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.footer {
  flex: none;
  padding: 28px 24px 34px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer a:hover { color: var(--petrol); border-bottom-color: var(--petrol); }
.footer .sep { color: var(--gold); padding: 0 8px; }
.footer .company { display: block; margin-bottom: 6px; color: var(--ink); font-weight: 600; }

/* ---------- Inhaltsseiten (Impressum / Datenschutz) ---------- */

.topbar {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.topbar .logo { max-width: 200px; margin: 0; }

h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--petrol);
}

h2 {
  margin: 40px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--petrol);
}

h2::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 14px;
}

.subtitle {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

p { margin: 0 0 14px; }

.content a { color: var(--petrol); text-decoration: none; border-bottom: 1px solid var(--petrol-light); }
.content a:hover { border-bottom-color: var(--petrol); }

.label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.block { margin: 0 0 20px; }

.todo {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  background: #fdf5e0;
  border: 1px dashed var(--gold);
  color: var(--gold-dark);
  font-size: 0.85rem;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 44px;
  color: var(--petrol);
  text-decoration: none;
  font-weight: 600;
  border: 0 !important;
}

.back:hover { color: var(--petrol-dark); }

.small { font-size: 0.86rem; color: var(--muted); }

/* ---------- Motion ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 560px) {
  .actions { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
  .btn { flex: 0 1 auto; }
}
