/* Velanova Holding GmbH – Visitenkarte
   Bewusst ohne externe Ressourcen: keine Webfonts, keine Skripte, keine Cookies. */

:root {
  --navy: #0b223b;       /* Logo-Blau */
  --gold: #c0a46e;       /* Logo-Gold */
  --gold-text: #77623b;  /* Gold, dunkel genug für kleine Schrift */
  --text: #46525f;
  --muted: #6b7480;
  --line: #e6e8eb;
  --field: #8a949f;      /* Rahmen der Formularfelder, gut erkennbar auf Weiß */
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: var(--text);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover { text-decoration-thickness: 2px; }
a[href^="mailto:"] { white-space: nowrap; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

/* Kleine Navigationszeilen (Fußzeile, Rücklink) – angelehnt an die Unterzeile des Logos */
footer nav,
.page-head nav {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
footer nav a,
.page-head nav a {
  display: inline-block;
  padding: 8px 0;
  color: var(--muted);
  text-decoration: none;
}
footer nav a:hover,
.page-head nav a:hover,
footer nav a[aria-current] { color: var(--navy); }

footer { padding: 20px 28px 28px; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 36px; }

/* ---------- Startseite: die Visitenkarte ---------- */

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 28px 32px;
  text-align: center;
}
.card h1 { margin: 0; }
.card h1 img { display: block; width: min(380px, 78vw); height: auto; }
.card h1::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin: 44px auto 36px;
  background: var(--gold);
}
.card address {
  color: var(--muted);
  font-size: 15px;
  font-style: normal;
  line-height: 1.9;
  letter-spacing: .03em;
}

@media (prefers-reduced-motion: no-preference) {
  .card > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .card > address { animation-delay: .15s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(8px); }
  }
}

/* ---------- Impressum und Datenschutz ---------- */

.page-head,
.legal {
  width: min(760px, 100% - 56px);
  margin-inline: auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 40px;
}
.page-head .logo { display: block; }
.page-head .logo img { display: block; width: 190px; height: auto; }

.legal { flex: 1; padding: 72px 0 64px; }
.legal h1 {
  margin: 0;
  color: var(--navy);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.legal .intro { max-width: 34em; margin: 14px 0 44px; color: var(--muted); }

.legal section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.legal h2,
.form label {
  margin: 0;
  padding-top: 5px;
  color: var(--gold-text);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.legal p { margin: 0; }
.legal p + p { margin-top: 12px; }
.legal strong { color: var(--navy); font-weight: 600; }

/* ---------- Kontaktformular ---------- */

.form { padding-top: 32px; border-top: 1px solid var(--line); }
.form .row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0 32px;
  margin-bottom: 18px;
}
.form label { padding-top: 15px; }
.form input,
.form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--field);
  border-radius: 2px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}
.form textarea { min-height: 190px; resize: vertical; }
.form input:focus-visible,
.form textarea:focus-visible {
  border-color: var(--navy);
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}
.form .actions { grid-column: 2; padding-top: 6px; }
.form button {
  padding: 16px 34px;
  border: 0;
  border-radius: 2px;
  background: var(--navy);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
}
.form button:hover { background: #17365a; }
.form button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.form .note { margin-top: 20px; color: var(--muted); font-size: 14px; }

/* Spamschutz-Feld: für Menschen unsichtbar, siehe kontakt.html */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 640px) {
  footer nav { gap: 0 22px; }
  .form { padding-top: 24px; }
  .form .row { grid-template-columns: 1fr; gap: 8px; }
  .form label { padding-top: 0; }
  .form .actions { grid-column: 1; }
  .page-head { padding-top: 28px; }
  .page-head .logo img { width: 160px; }
  .legal { padding: 48px 0 40px; }
  .legal h1 { font-size: 28px; }
  .legal .intro { margin-bottom: 32px; }
  .legal section { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .legal h2 { padding-top: 0; }
  .legal p {
    hyphens: auto;
    hyphenate-limit-chars: 10 4 4;
    -webkit-hyphenate-limit-before: 4;
    -webkit-hyphenate-limit-after: 4;
  }
}
