/* GT Business GmbH — gtbusiness.de
   Farben aus der GT-Signatur (BB24/Unternehmen/IT/E-Mail-Signatur-GT), Schriften lokal gehostet. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/hanken-grotesk-latin.woff2") format("woff2");
}

:root {
  --navy: #14213d;
  --navy-deep: #0e182e;
  --navy-soft: #1d2d52;
  --blue: #2f6fed;
  --blue-light: #8fb0f7;
  --text: #3a4560;
  --muted: #8a93a6;
  --line: #e3e7ef;
  --paper: #f7f5f0;
  --white: #ffffff;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  font-optical-sizing: auto;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Kopf ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--navy);
}

.monogram {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--navy);
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.monogram::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.42rem;
  height: 2px;
  background: var(--blue);
}

.brand-name {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  font-size: 0.95rem;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--text);
}

.site-nav a:not(.btn):hover {
  color: var(--navy);
}

.site-nav .nav-link {
  display: none;
}

@media (min-width: 52rem) {
  .site-nav .nav-link {
    display: inline;
  }
}

/* ---------- Schaltflächen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.4rem;
  border: 1px solid var(--navy);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--white);
}

.btn-small {
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.9rem;
}

.btn .arrow {
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-light {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.btn-light:hover {
  background: var(--paper);
  transform: translateY(-1px);
}

/* ---------- Einstieg ---------- */

.hero {
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}

.hero .wrap {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 62rem) {
  .hero .wrap {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.8rem;
  height: 2px;
  background: var(--blue);
}

.hero h1 {
  font-size: clamp(2.7rem, 7.2vw, 5.6rem);
  line-height: 1.0;
}

.hero h1 .accent {
  color: var(--blue);
}

.hero .lead {
  max-width: 34rem;
  margin-top: 1.8rem;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.4rem;
}

.overview {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(47, 111, 237, 0.28) 0%, rgba(47, 111, 237, 0) 60%),
    var(--navy);
  color: var(--white);
}

.overview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3.5rem),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 3.5rem);
  pointer-events: none;
}

.overview > * {
  position: relative;
}

.overview-title {
  margin-bottom: 1.2rem;
  color: var(--blue-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.overview ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.overview li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.overview li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.overview a {
  display: grid;
  grid-template-columns: 2.4rem 1fr auto;
  align-items: baseline;
  padding: 0.85rem 0;
  color: var(--white);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  transition: padding-left 0.25s ease;
}

.overview a:hover {
  padding-left: 0.35rem;
}

.overview .num {
  color: var(--blue-light);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.overview .go {
  color: var(--blue-light);
  font-family: var(--sans);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.overview a:hover .go {
  opacity: 1;
}

.overview-note {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: no-preference) {
  .overview li {
    animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .overview li:nth-child(1) { animation-delay: 0.1s; }
  .overview li:nth-child(2) { animation-delay: 0.17s; }
  .overview li:nth-child(3) { animation-delay: 0.24s; }
  .overview li:nth-child(4) { animation-delay: 0.31s; }
  .overview li:nth-child(5) { animation-delay: 0.38s; }
  .overview li:nth-child(6) { animation-delay: 0.45s; }
}

/* Nur Bewegung, keine Deckkraft: Wenn die Animation nicht läuft (Hintergrund-Tab,
   Vorschau-Renderer), bleibt die Liste trotzdem vollständig sichtbar. */
@keyframes rise {
  from {
    transform: translateY(12px);
  }
  to {
    transform: none;
  }
}

/* ---------- Abschnitte ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

@media (min-width: 62rem) {
  .section-head {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: end;
    gap: 4rem;
  }
}

.section-head h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
}

.section-head p {
  max-width: 36rem;
}

/* Hauptleistungen: Vermittlung und Beratung */

.feature {
  display: grid;
  gap: 1rem 2rem;
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
  border-top: 1px solid var(--line);
}

.feature:last-child {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 52rem) {
  .feature {
    grid-template-columns: 6rem minmax(0, 4fr) minmax(0, 6fr);
    align-items: start;
  }
}

.feature .big-num {
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.feature h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.feature p + p {
  margin-top: 0.9rem;
}

/* Marketing für Studios */

.sub-head {
  margin: clamp(3rem, 7vw, 5rem) 0 1.6rem;
}

.sub-head h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.sub-head p {
  max-width: 38rem;
  margin-top: 0.8rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 46rem) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  padding: 1.6rem 1.5rem 1.7rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-top-color: var(--blue);
  transform: translateY(-2px);
}

.card .num {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.card h4 {
  margin: 0 0 0.6rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
}

.card p {
  font-size: 1rem;
}

/* Für Anbieter */

.band {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
}

.band::before {
  content: "GT";
  position: absolute;
  right: -0.06em;
  bottom: -0.32em;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--serif);
  font-size: clamp(14rem, 34vw, 28rem);
  line-height: 1;
  pointer-events: none;
}

.band .wrap {
  position: relative;
  display: grid;
  gap: 2rem;
}

@media (min-width: 62rem) {
  .band .wrap {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    gap: 4rem;
  }
}

.band .eyebrow {
  color: var(--blue-light);
}

.band h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3.3rem);
}

.band p {
  max-width: 36rem;
  margin-top: 1.2rem;
}

.band-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
}

@media (min-width: 62rem) {
  .band-action {
    align-items: flex-end;
  }
}

/* Kontakt */

.contact {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.contact h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
}

.contact .intro {
  max-width: 34rem;
  margin-top: 1rem;
}

.mail-link {
  display: inline-block;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 6.4vw, 4.4rem);
  line-height: 1.1;
  text-decoration: none;
  overflow-wrap: anywhere;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 2px;
  transition: background-size 0.3s ease, color 0.2s ease;
}

.mail-link:hover {
  color: var(--blue);
  background-size: 100% 4px;
}

.contact-meta {
  display: grid;
  gap: 1.6rem;
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

@media (min-width: 46rem) {
  .contact-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

address {
  font-style: normal;
}

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

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

.site-footer nav {
  display: flex;
  gap: 1.5rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Rechtstexte ---------- */

.legal {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal .wrap {
  max-width: 48rem;
}

.legal h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  margin-bottom: 2.2rem;
}

.legal h2 {
  margin: 2.6rem 0 0.8rem;
  font-size: 1.55rem;
}

.legal p,
.legal ul {
  margin: 0 0 1rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.3rem;
}

.legal a {
  color: var(--navy);
  text-decoration-color: var(--blue);
  text-underline-offset: 3px;
}

.legal .stand {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
}

.back-link:hover {
  color: var(--navy);
}

/* ---------- 404 ---------- */

.not-found {
  padding: clamp(5rem, 14vw, 10rem) 0;
}

.not-found h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.not-found p {
  margin: 1.2rem 0 2rem;
}

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

.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 62rem) {
  .contact-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }

  .contact-grid .contact-meta {
    grid-template-columns: 1fr;
  }
}

.contact-grid .mail-link {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

.kontakt-karte {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
}

.kontakt-form .feld {
  min-width: 0;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}

.kontakt-form label,
.kontakt-form legend {
  display: block;
  margin-bottom: 0.35rem;
  padding: 0;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}

.optional {
  margin-left: 0.3rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.kontakt-form input,
.kontakt-form select,
.kontakt-form textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cfd5e1;
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.15s ease;
}

.kontakt-form select {
  padding-right: 2.2rem;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314213d' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}

.kontakt-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.kontakt-form input:hover,
.kontakt-form select:hover,
.kontakt-form textarea:hover {
  border-color: var(--muted);
}

.kontakt-form input:focus,
.kontakt-form select:focus,
.kontakt-form textarea:focus {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 0;
}

.telefon-zeile {
  display: grid;
  grid-template-columns: minmax(0, 10.5rem) minmax(0, 1fr);
  gap: 0.5rem;
}

@media (max-width: 26rem) {
  .telefon-zeile {
    grid-template-columns: 1fr;
  }
}

.form-hinweis {
  margin: 0.2rem 0 1.3rem;
  font-size: 0.88rem;
}

.form-hinweis a {
  color: var(--navy);
  text-decoration-color: var(--blue);
  text-underline-offset: 3px;
}

.kontakt-form .btn {
  width: 100%;
}

@media (min-width: 36rem) {
  .kontakt-form .btn {
    width: auto;
  }
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fehler-liste {
  margin: 0 0 2rem;
  padding: 1rem 1.2rem 1rem 2.2rem;
  border-left: 3px solid #b42318;
  background: #fdf3f2;
  color: #7a1a12;
}

.nachricht-kopie {
  margin: 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
