/* Visioteon — reines HTML/CSS, kein JavaScript.
   Fonts: Dateien nach /fonts/ legen (Roboto Serif + Roboto von fonts.google.com).
   Alle Schriftgrößen sind absolute px-Werte; die Breakpoints unten
   verkleinern sie stufenweise für Tablet und Smartphone. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-v26-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-v26-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-v51-latin-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url("fonts/roboto-v51-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #2D4B4B;
  --secondary: #F4F0E8;
  --muted-on-dark: #F4F0E8;
  --body-on-light: #3D5658;
  --muted-on-light: #5C7876;
  --pad-x: 96px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--secondary);
  color: var(--primary);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted-on-dark); }
::selection { background: var(--primary); color: var(--secondary); }

h1, h2 {
  font-family: "Newsreader", Georgia, serif;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.wrap { max-width: 1240px; margin: 0 auto; }

/* Hero */

.hero {
  background: linear-gradient(160deg, #2D4B4B 0%, var(--primary) 52%, #1E3C3C 100%);
  color: var(--secondary);
  min-height: 80vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 36px var(--pad-x);
}

.hero__top {
  min-height: 96px;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  width: 200px;
  height: auto;
  display: block;
}

.badge {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  border-bottom: 1px solid rgba(143, 166, 163, 0.45);
  padding-bottom: 2px;
}

.hero__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 0;
}

.eyebrow {
  margin: 0 0 36px;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
  padding-bottom: 2px;
}

.hero h1 {
  font-weight: 300;
  font-size: 60px;
  line-height: 1.2;
  margin: 0;
  max-width: 30ch;
}

.hero__lead {
  font-size: 21px;
  line-height: 1.6;
  margin: 32px 0 0;

  color: #C8D3D1;
}

.hero__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(244, 240, 232, 0.22);
  padding-top: 28px;
}

.contact {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  font-size: 18px;
}

.contact a {
  border-bottom: 1px solid rgba(244, 240, 232, 0.35);
  padding-bottom: 2px;
}

.hero__tel {
  font-size: 18px;
  border-bottom: 1px solid rgba(244, 240, 232, 0.35);
  padding-bottom: 2px;
}

/* Über */

.about { padding: 140px var(--pad-x); }

.about h2 {
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 24px;
}

.about p {
  font-size: 21px;
  line-height: 1.6;
  margin: 0;
  color: var(--body-on-light);
}

/* Impressum */

.imprint {
  scroll-margin-top: 24px;
  background: var(--secondary);
  border-top: 1px solid rgba(39, 65, 67, 0.18);
  padding: 88px var(--pad-x) 64px;
}

.imprint h2 {
  font-weight: 400;
  font-size: 26px;
  margin: 0 0 44px;
}

.imprint__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 64px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body-on-light);
}

.imprint__grid p { margin: 0; }

.label {
  margin: 0 0 8px !important;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-light);
}

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

.copyright {
  margin: 64px 0 0;
  font-size: 15px;
  color: var(--muted-on-light);
}

/* Tablet */

@media (max-width: 1000px) {
  :root { --pad-x: 48px; }
  .hero h1 { font-size: 60px; }
  .hero__lead { font-size: 19px; }
  .eyebrow { font-size: 14px; margin-bottom: 28px; }
  .hero__body { padding: 64px 0; }
  .about { padding: 96px var(--pad-x); }
  .about h2 { font-size: 30px; }
  .about p { font-size: 19px; }
  .imprint { padding: 72px var(--pad-x) 56px; }
}

/* Smartphone */

@media (max-width: 620px) {
  :root { --pad-x: 24px; }
  .logo { width: 150px; }
  .hero__top { min-height: 0; gap: 16px; }
  .badge { font-size: 14px; }
  .hero h1 { font-size: 40px; line-height: 1.1; }
  .hero__lead { font-size: 17px; margin-top: 24px; }
  .eyebrow { font-size: 10px; margin-bottom: 24px; }
  .hero__body { padding: 48px 0; }
  .contact { font-size: 17px; gap: 24px; }
  .hero__tel { font-size: 17px; }
  .about { padding: 72px var(--pad-x); }
  .about h2 { font-size: 26px; }
  .about p { font-size: 18px; }
  .imprint { padding: 56px var(--pad-x) 40px; }
  .imprint h2 { font-size: 24px; margin-bottom: 32px; }
  .imprint__grid { grid-template-columns: 1fr; gap: 32px; font-size: 16px; }
  .copyright { margin-top: 48px; font-size: 14px; }
}
