/* GvAmedia – Startseite. Mobil zuerst, Umbrüche bei 600, 700, 900 und 1000 px. */

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --orange: #EE7C32;
  --orange-hell: #F4955A;
  --ink: #1F2123;
  --anthrazit: #232527;
  --grund: #FFFFFF;
  --verlauf-ende: #F2F2EF;
  --text: #3A3D40;
  --grau: #63666A;
  --linie: #D5D5D1;
  --hell-auf-dunkel: #B4B7BA;
  --rand: 20px;
  --kopf: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf) + 16px);
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--ink);
  font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--orange); }
.symbol { flex: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 500; text-wrap: balance; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hero :focus-visible,
.dunkel :focus-visible,
.fuss :focus-visible { outline-color: #FFFFFF; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--rand);
}

.skip {
  position: absolute;
  left: var(--rand);
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #FFFFFF;
}
.skip:focus { top: 12px; }

/* Kopf */

.kopf {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--grund);
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: calc(var(--kopf) - 5px);
}
.logo { display: inline-flex; align-items: center; min-height: 48px; }
.logo img { height: 42px; width: auto; }
.js .kopf__innen { flex-wrap: nowrap; }
@media (max-width: 359px) {
  .logo img { height: 34px; }
  .js .menue-knopf { padding: 0 12px; }
}

.menue-knopf { display: none; }
.js .menue-knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}
.menue-knopf__icon { position: relative; width: 18px; height: 10px; }
.menue-knopf__icon::before,
.menue-knopf__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}
.menue-knopf__icon::before { top: 0; }
.menue-knopf__icon::after { bottom: 0; }
.menue-knopf[aria-expanded="true"] .menue-knopf__icon::before { transform: translateY(4px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] .menue-knopf__icon::after { transform: translateY(-4px) rotate(-45deg); }

.nav { width: 100%; padding-bottom: 12px; }
.js .nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  max-height: calc(100vh - var(--kopf));
  max-height: calc(100dvh - var(--kopf));
  overflow-y: auto;
  padding: 4px var(--rand) 28px;
  background: var(--grund);
  border-bottom: 1px solid var(--linie);
  box-shadow: 0 24px 32px rgba(31, 33, 35, 0.12);
}
.js .nav.ist-offen { display: block; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a {
  display: flex;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--linie);
  font-size: 1.25rem;
}
.nav__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 24px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  gap: 9px;
  transition: background-color 0.15s ease;
}
.nav__tel:hover { background: var(--orange-hell); color: var(--ink); }
.nav__tel .symbol { width: 18px; height: 18px; }

/* Bausteine */

.ueberzeile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  color: var(--grau);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-wrap: wrap;
}
.ueberzeile::before {
  content: "";
  flex: none;
  width: 32px;
  height: 2px;
  margin-top: 0.7em;
  background: var(--orange);
}

.h2 {
  font-size: clamp(2rem, 1.3rem + 3.2vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.text { max-width: 35rem; color: var(--text); }
.text--oben { margin-top: 28px; }

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: var(--orange);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.knopf:hover { background: var(--orange-hell); color: var(--ink); }

.abschnitt { padding-top: clamp(88px, 12vw, 160px); }
.abschnitt--verlauf {
  padding-bottom: clamp(88px, 12vw, 160px);
  background: linear-gradient(to bottom, var(--grund) 0%, var(--verlauf-ende) 100%);
}

.teiler { display: grid; gap: 36px; align-items: center; }
.teiler__bild img { width: 100%; max-width: 280px; }

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--anthrazit);
  color: #FFFFFF;
}
.hero__bild,
.hero__bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bild { z-index: -2; }
.hero__bild img { max-width: none; object-fit: cover; object-position: center 60%; }
.hero__schatten {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(27, 28, 30, 0.68);
}
.hero__innen { padding-block: 64px 24px; }
.hero h1 {
  max-width: 1080px;
  font-size: clamp(2.25rem, 1.2rem + 5vw, 5.625rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero .ueberzeile { color: #E8E8E6; margin-bottom: 28px; }
.hero__zeile { margin-top: 32px; }
.hero__text { max-width: 34rem; color: #E8E8E6; font-size: 1.125rem; line-height: 1.5; }
.hero__aktionen { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; }
.hero__aktionen .knopf { width: 100%; }
.hero__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  color: #FFFFFF;
  font-weight: 500;
}
.hero__link:hover { color: var(--orange); }
.hero__themen {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 56px 0 0;
  padding: 18px 0 0;
  border-top: 2px solid var(--orange);
  list-style: none;
  color: #E8E8E6;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

/* Agentur */

.aussage {
  font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Webentwicklung */

.dunkel {
  margin-top: 0;
  padding-block: clamp(80px, 11vw, 128px);
  background: var(--anthrazit);
  color: var(--grund);
}
.dunkel .ueberzeile { color: var(--orange); }
.web__kopf { display: flex; flex-direction: column; gap: 32px; }
.web__kopf h2 {
  font-size: clamp(2.125rem, 1.2rem + 4.6vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.web__kopf img { width: 240px; }
.web__aussage { max-width: 920px; margin-top: 40px; }
.karten { display: grid; gap: 36px 32px; margin-top: 56px; }
.karte { padding-top: 20px; border-top: 2px solid var(--orange); }
.karte h3 { margin-bottom: 12px; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.015em; }
.karte p { color: var(--hell-auf-dunkel); font-size: 1rem; }

/* Zeilen (Print, weitere Leistungen) */

.zeilen { margin-top: 48px; }
.zeile {
  display: grid;
  gap: 8px;
  padding: 26px 0;
  border-top: 1px solid var(--linie);
}
.zeile:first-child { border-top: 2px solid var(--orange); }
.zeile:last-child { border-bottom: 1px solid var(--linie); }
.zeile h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; hyphens: auto; }
.zeile p { max-width: 40rem; color: var(--text); }
.zeile__nr { color: var(--grau); font-size: 0.875rem; font-variant-numeric: tabular-nums; }

.leistungen__kopf { display: grid; gap: 16px; }
.leistungen__kopf p { max-width: 26rem; color: var(--grau); }

/* Fragen */

.fragen { display: grid; gap: 40px; }
.fragen__liste details { border-top: 1px solid var(--linie); }
.fragen__liste details:first-child { border-top: 2px solid var(--orange); }
.fragen__liste details:last-child { border-bottom: 1px solid var(--linie); }
.fragen__liste summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 16px 0;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.fragen__liste summary::-webkit-details-marker { display: none; }
.fragen__liste summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}
.fragen__liste details[open] summary::after { transform: rotate(45deg); }
.fragen__liste details p { max-width: 42rem; padding-bottom: 28px; color: var(--text); }

/* Kontakt */

.kontakt { display: grid; gap: 44px; padding-bottom: clamp(88px, 11vw, 144px); }
.kontakt__weg {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--linie);
}
.kontakt__weg .symbol { width: 30px; height: 30px; color: var(--orange); }
.kontakt__text { display: grid; gap: 6px; min-width: 0; }
.kontakt__weg:first-child { border-top: 2px solid var(--orange); }
.kontakt__weg:last-child { border-bottom: 1px solid var(--linie); }
.kontakt__art { color: var(--grau); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; }
.kontakt__wert {
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Fuß */

.fuss { border-top: 4px solid var(--orange); background: var(--anthrazit); color: var(--hell-auf-dunkel); font-size: 0.875rem; }
.fuss__innen { display: grid; gap: 14px; padding-block: 36px; }
.fuss__marke { color: var(--grund); font-size: 1.125rem; font-weight: 600; }
.fuss__adresse { font-style: normal; }
.fuss__marke span { color: var(--orange); }
.fuss__links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.fuss__links a { display: inline-flex; align-items: center; min-height: 46px; color: var(--grund); }
.fuss__links a:hover { color: var(--orange); }

/* Impressum und Datenschutzerklärung */

.recht { padding-block: clamp(56px, 9vw, 112px) clamp(88px, 11vw, 144px); }
.recht__innen { max-width: 46rem; }
.recht h1 { margin-bottom: 40px; font-size: clamp(2.125rem, 1.3rem + 3.6vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; hyphens: manual; }
.recht h2 { margin: 56px 0 18px; padding-top: 22px; border-top: 2px solid var(--orange); font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.02em; }
.recht h3 { margin: 32px 0 10px; font-size: 1.1875rem; font-weight: 600; line-height: 1.3; }
.recht p, .recht ul { margin: 0 0 16px; color: var(--text); }
.recht ul { padding-left: 1.2em; }
.recht h4 { margin: 22px 0 6px; font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.recht a { overflow-wrap: anywhere; font-weight: 600; }
.recht a.knopf { font-weight: 600; }
.recht__zurueck { margin-top: 48px; }

/* Ab 600 px */

@media (min-width: 600px) {
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__aktionen { flex-direction: row; align-items: center; gap: 12px 28px; }
  .hero__aktionen .knopf { width: auto; }
}

/* Ab 700 px */

@media (min-width: 700px) {
  :root { --rand: 32px; --kopf: 84px; }
  .logo img { height: 52px; }
  .hero__innen { padding-block: 96px 32px; }
  .hero__text { font-size: 1.25rem; }
  .hero__themen { margin-top: 96px; justify-content: space-between; }
  .teiler__bild img { max-width: 360px; }
  .web__kopf img { width: 320px; }
  .fuss__innen { grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 40px; }
  .fuss__adresse { text-align: center; }
}

/* Ab 900 px */

@media (min-width: 900px) {
  .hero__innen { padding-block: 128px 36px; }
  .hero__zeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-top: 72px; }
  .hero__aktionen { margin-top: 0; flex: none; }
  .hero__themen { margin-top: 112px; }

  .teiler { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
  .teiler--text-links { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .teiler__bild img { max-width: 460px; }
  .teiler--text-links .teiler__bild img { margin-left: auto; max-width: 380px; }

  .web__kopf { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 64px; }
  .web__kopf img { width: 420px; }
  .web__aussage { margin-top: 64px; }
  .karten { margin-top: 96px; }

  .zeilen { margin-top: 72px; }
  .zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: baseline; padding: 36px 0; }
  .zeile--nr { grid-template-columns: 72px minmax(0, 5fr) minmax(0, 7fr); }
  .zeile h3 { font-size: 1.75rem; }

  .leistungen__kopf { grid-template-columns: 1fr auto; align-items: baseline; gap: 64px; }
  .fragen { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; align-items: start; }
  .kontakt { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 96px; align-items: end; }
  .kontakt__weg { gap: 24px; }
  .kontakt__weg .symbol { width: 38px; height: 38px; }
}

/* Ab 1000 px: Navigation in einer Zeile */

@media (min-width: 1000px) {
  .kopf__innen { flex-wrap: nowrap; }
  .js .menue-knopf { display: none; }
  .nav,
  .js .nav {
    display: flex;
    position: static;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 0 0 0 32px;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav ul { display: flex; gap: 32px; margin-inline: auto; }
  .nav li a { min-height: 46px; border: 0; font-size: 0.9375rem; }
  .nav__tel { min-height: 46px; margin: 0; padding: 0 18px; font-size: 0.9375rem; }
  .nav__tel .symbol { width: 16px; height: 16px; }
  .karten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
