/*
  Gramsch IT OnePager
  Reines HTML/CSS, ohne Framework.
  Schrift: Inter vorgesehen. Aus Lizenz-/Distributiongründen sind keine Fontdateien enthalten.
  Für lokales Hosting: Inter als WOFF2 in /assets/fonts/ ablegen und @font-face unten aktivieren.
*/

/*
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
*/

:root {
  color-scheme: light dark;
  --blue: #6a84a0;
  --blue-dark: #36506a;
  --navy: #0f2237;
  --navy-soft: #18314d;
  --amber: #f2a900;
  --amber-dark: #df9b00;
  --anthracite: #343b42;
  --text: #111827;
  --muted: #5f6b7a;
  --page: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-soft: #eef4fa;
  --line: rgba(106, 132, 160, 0.22);
  --shadow: 0 24px 70px rgba(45, 67, 95, 0.14);
  --shadow-soft: 0 16px 44px rgba(45, 67, 95, 0.1);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --max: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #f8fafc;
    --muted: #c0cad7;
    --page: #0f172a;
    --surface: rgba(15, 23, 42, 0.82);
    --surface-solid: #121d31;
    --surface-soft: #16243a;
    --line: rgba(148, 163, 184, 0.22);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
    --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.2);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 12% 6%, rgba(106, 132, 160, 0.22), transparent 28rem),
    radial-gradient(circle at 90% 12%, rgba(242, 169, 0, 0.1), transparent 24rem),
    var(--page);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 999;
  border-radius: 999px;
  background: var(--amber);
  color: white;
  padding: 0.8rem 1rem;
  font-weight: 800;
}

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

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

@media (prefers-color-scheme: dark) {
  .site-header {
    border-bottom-color: rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.82);
  }
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  min-width: max-content;
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.brand-text strong {
  display: block;
  color: var(--text);
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.4rem);
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 750;
}

.main-nav a {
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--navy);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.social-icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(242, 169, 0, 0.45);
  background: rgba(242, 169, 0, 0.12);
}

@media (prefers-color-scheme: dark) {
  .social-link {
    background: rgba(255, 255, 255, 0.06);
    color: white;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid transparent;
  padding: 0.85rem 1.15rem;
  font-weight: 850;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--amber);
  color: white;
  box-shadow: 0 16px 32px rgba(242, 169, 0, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--amber-dark);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(45, 67, 95, 0.08);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(106, 132, 160, 0.55);
  box-shadow: 0 16px 36px rgba(45, 67, 95, 0.12);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: white;
  }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(244, 247, 251, 0.98) 0%, rgba(244, 247, 251, 0.88) 36%, rgba(244, 247, 251, 0.08) 64%),
    url("assets/hero-image.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(to top, var(--page), transparent);
}

@media (prefers-color-scheme: dark) {
  .hero::before {
    background:
      linear-gradient(115deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.86) 38%, rgba(15, 23, 42, 0.24) 70%),
      url("assets/hero-image.png") center right / cover no-repeat;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  align-items: center;
  padding-block: clamp(5.5rem, 9vw, 9rem) 8rem;
}

.hero-copy {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  color: var(--amber-dark);
  font-size: 0.95rem;
  font-weight: 850;
}

.eyebrow::before {
  content: "";
  width: 46px;
  height: 3px;
  border-radius: 99px;
  background: var(--amber);
}

.hero h1 {
  max-width: 650px;
  color: var(--text);
  font-size: clamp(3.1rem, 7.6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 930;
}

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

@media (prefers-color-scheme: dark) {
  .hero h1 span {
    color: #8faac7;
  }
}

.hero-text {
  max-width: 540px;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}


.services-wrap {
  position: relative;
  z-index: 5;
  margin-top: -4.4rem;
}

.services-panel {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 1rem;
}

.service-card {
  position: relative;
  min-height: 190px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.58);
  padding: 1.5rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  right: -0.3rem;
  width: 1px;
  height: 56%;
  background: var(--line);
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

@media (prefers-color-scheme: dark) {
  .service-card {
    background: rgba(255, 255, 255, 0.04);
  }

  .service-card:hover {
    background: rgba(255, 255, 255, 0.07);
  }
}

.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 18px;
  background: rgba(106, 132, 160, 0.12);
  color: var(--blue-dark);
}

@media (prefers-color-scheme: dark) {
  .icon-box {
    color: #a4bed9;
  }
}

.service-card h3 {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 890;
}

.service-card p {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.section-head {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--amber-dark);
  font-size: 0.95rem;
  font-weight: 850;
}

.section-kicker::before,
.section-kicker::after {
  content: "";
  width: 32px;
  height: 3px;
  border-radius: 99px;
  background: var(--amber);
}

.section h2 {
  color: var(--text);
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  font-weight: 930;
}

.section-head p {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 3.2rem;
}

.benefit-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 1.6rem;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(106, 132, 160, 0.18), rgba(242, 169, 0, 0.1));
  color: var(--blue-dark);
}

@media (prefers-color-scheme: dark) {
  .benefit-icon {
    color: #a4bed9;
  }
}

.benefit-card h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  font-weight: 900;
}

.benefit-card p {
  margin-top: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 12%, rgba(242, 169, 0, 0.18), transparent 19rem),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  box-shadow: var(--shadow);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-copy .eyebrow {
  color: #ffd36a;
}

.contact-copy h2 {
  max-width: 590px;
  color: white;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 930;
}

.contact-copy p {
  max-width: 570px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.09rem;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.1rem;
}

.contact-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  color: white;
}

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.contact-list {
  display: grid;
  gap: 1.35rem;
  color: white;
}

.contact-list-simple {
  gap: 1.05rem;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  color: white;
}

.contact-line-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffd36a;
}

.contact-line-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-line strong,
.contact-line a {
  display: inline-block;
  padding-top: 0.45rem;
  color: white;
  font-size: 1.06rem;
  font-weight: 720;
  line-height: 1.45;
}

.contact-line a:hover {
  color: #ffd36a;
}

.contact-card .social-row {
  margin-top: 1.8rem;
}

.contact-card .social-link {
  width: 52px;
  height: 52px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-solid);
}

.footer-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--amber);
}

.legal-page {
  min-height: 100vh;
  padding-block: 4rem;
}

.legal-card {
  max-width: 900px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.legal-card h1 {
  color: var(--text);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 930;
}

.legal-card h2 {
  margin-top: 2.4rem;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1.25;
}

.legal-card h3 {
  margin-top: 1.7rem;
  color: var(--text);
  font-size: 1.12rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.78;
}

.legal-card p {
  margin-top: 1rem;
}

.legal-card ul {
  margin-top: 1rem;
  padding-left: 1.3rem;
}

.legal-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

@media (prefers-color-scheme: dark) {
  .legal-card a {
    color: #a4bed9;
  }
}

.back-home {
  display: inline-flex;
  margin-bottom: 1.4rem;
  color: var(--amber-dark);
  font-weight: 850;
}

@media (max-width: 1080px) {
  .main-nav,
  .header-actions {
    display: none;
  }

  .hero-inner {
    min-height: 620px;
  }

  .services-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:not(:last-child)::after {
    display: none;
  }

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

@media (max-width: 740px) {
  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-text strong {
    font-size: 1.35rem;
  }

  .brand-text span {
    display: none;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(244, 247, 251, 0.99) 0%, rgba(244, 247, 251, 0.91) 44%, rgba(244, 247, 251, 0.24) 100%),
      url("assets/hero-image.png") center bottom / cover no-repeat;
  }

  @media (prefers-color-scheme: dark) {
    .hero::before {
      background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.99) 0%, rgba(15, 23, 42, 0.9) 48%, rgba(15, 23, 42, 0.42) 100%),
        url("assets/hero-image.png") center bottom / cover no-repeat;
    }
  }

  .hero-inner {
    min-height: 760px;
    align-items: start;
    padding-block: 4.4rem 12rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }


  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-wrap {
    margin-top: 1rem;
  }

  .services-panel,
  .benefits-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1.6rem;
  }
}
