/* TideOne Webvisitenkarte – Farben und Schriften nach CD-Manual v1.0 */

/* Schriften (lokal eingebunden, SIL Open Font License) */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic-latin-var.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}

:root {
  /* CD-Farben */
  --tiefsee: #14233a;
  --priel: #7e9cb9;
  --priel-dunkel: #4a6a8a;
  --priel-hell: #a3bbd2;
  --gischt: #f4f3ef;
  --nebel: #dde4ea;
  --leuchtfeuer: #d9a441;
  --weiss: #ffffff;

  --font-head: "Montserrat", Arial, sans-serif;
  --font-text: "Source Sans 3", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 27px;
  color: var(--tiefsee);
  background: var(--weiss);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--priel-dunkel);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--tiefsee);
}
:focus-visible {
  outline: 2px solid var(--leuchtfeuer);
  outline-offset: 3px;
}

/* Versal-Label nach CD: Montserrat SemiBold, 12 px, +16 % Laufweite */
.label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Startseite (Visitenkarte) ---------- */

.home {
  background: var(--tiefsee);
  color: var(--gischt);
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 16px 48px;
}

.card__title {
  margin: 0;
}

.card__logo {
  width: 300px;
  margin-bottom: 48px;
}

.card__status {
  margin: 0 0 40px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 32px;
  line-height: 40px;
  color: var(--weiss);
}
.card__status::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin: 0 auto 24px;
  background: var(--leuchtfeuer);
}

.card__contact {
  font-style: normal;
}
.card__contact .label {
  display: block;
  margin-bottom: 8px;
  color: var(--priel-hell);
}
.card__mail {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: var(--weiss);
  text-decoration-color: var(--priel);
}
.card__mail:hover {
  color: var(--priel-hell);
}

/* Produktbeschreibung: bewusst klein und zurückgenommen */
.card__about {
  max-width: 30em;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(126, 156, 185, 0.3);
  color: var(--priel);
}
.card__headline {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.02em;
  color: var(--priel-hell);
}
.card__lead {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */

.site-header {
  padding: 24px 16px;
  border-bottom: 1px solid var(--nebel);
}
.site-header__inner,
.content,
.site-footer__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.site-header__logo {
  display: inline-block;
}
.site-header__logo img {
  width: 200px;
}

.content {
  flex: 1;
  padding: 48px 16px 64px;
}
.content h1 {
  margin: 0 0 32px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 40px;
  line-height: 48px;
}
.content h2 {
  margin: 40px 0 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}
.content p,
.content ul,
.content address {
  margin: 0 0 16px;
}
.content address {
  font-style: normal;
}
.content .company {
  margin-bottom: 24px;
  font-weight: 600;
}
.content ul {
  padding-left: 1.25em;
}
.content .meta {
  margin-top: 48px;
  font-size: 14px;
  line-height: 22px;
  color: var(--priel-dunkel);
}

/* ---------- Fußzeile ---------- */

.site-footer {
  padding: 20px 16px;
  font-size: 14px;
  line-height: 22px;
  background: var(--gischt);
  color: var(--priel-dunkel);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer nav {
  display: flex;
  gap: 24px;
}

.home .site-footer {
  background: transparent;
  color: var(--priel-hell);
  border-top: 1px solid rgba(163, 187, 210, 0.2);
}
.home .site-footer a {
  color: var(--nebel);
}
.home .site-footer a:hover {
  color: var(--weiss);
}

@media (max-width: 480px) {
  .card__logo {
    width: 240px;
  }
  .card__status {
    font-size: 26px;
    line-height: 34px;
  }
  .content h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .site-header__logo img {
    width: 160px;
  }
}
