/* Goppel Holding GmbH – Stylesheet (system fonts only, no external resources) */

:root {
  --navy: #0f1f33;
  --navy-2: #172d48;
  --navy-3: #22405f;
  --brass: #c9a86e;
  --brass-dark: #7a5b2a;
  --ink: #18222f;
  --muted: #4a5563;
  --line: #e2ddd3;
  --bg: #ffffff;
  --bg-alt: #f6f3ed;
  --focus: #7a5b2a;
  --radius: 14px;
  --shadow: 0 18px 40px -24px rgba(15, 31, 51, 0.45);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --header-h: 68px;
}

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

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
  font-weight: 650;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brass-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

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

address {
  font-style: normal;
}

.container {
  width: min(1160px, 100% - 2.5rem);
  margin-inline: auto;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--brass);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 31, 51, 0.97);
  border-bottom: 1px solid rgba(201, 168, 110, 0.25);
  --focus: #e3c891;
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgba(15, 31, 51, 0.9);
    backdrop-filter: blur(8px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
}

.brand:hover {
  color: #fff;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-suffix {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.site-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.9rem;
  color: #e9edf2;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  border-radius: 8px;
}

.site-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar {
  top: 50%;
  margin-top: -1px;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary:hover {
  background: #dcc08d;
  color: var(--navy);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.eyebrow-dark {
  color: var(--brass-dark);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(201, 168, 110, 0.18), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(34, 64, 95, 0.9), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  --focus: #e3c891;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 90%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 110, 0.28);
  box-shadow:
    0 0 0 60px rgba(201, 168, 110, 0.04),
    0 0 0 61px rgba(201, 168, 110, 0.16);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-block: clamp(4rem, 3rem + 5vw, 7.5rem);
}

.hero h1 {
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  margin-bottom: 1.25rem;
}

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  color: #d5dde7;
  max-width: 40rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-card {
  position: relative;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(201, 168, 110, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 2rem;
  width: 64px;
  height: 3px;
  background: var(--brass);
  border-radius: 0 0 3px 3px;
}

.hero-card dl {
  margin: 0;
  display: grid;
  gap: 1.15rem;
}

.hero-card dl > div {
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card dl > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-card dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.2rem;
}

.hero-card dd {
  margin: 0;
  font-size: 1.08rem;
  color: #fff;
}

/* Sections */
.section {
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 44rem;
  margin-bottom: 2.75rem;
}

.section-head p:last-child {
  color: var(--muted);
}

/* Cards */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  position: relative;
  padding: 1.75rem 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brass), var(--navy-3));
}

.card-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--brass-dark);
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.note {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--brass);
  background: var(--bg-alt);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text > p {
  color: var(--ink);
  max-width: 42rem;
}

.purpose {
  margin: 2rem 0 0;
  padding: 1.5rem 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.purpose figcaption {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 0.75rem;
}

.purpose blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
}

.purpose blockquote p {
  margin: 0;
}

.facts {
  margin: 0;
  padding: 1.75rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
  --focus: #e3c891;
}

.facts > div {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.facts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.facts dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.facts dd {
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact > div:first-child p {
  color: var(--muted);
  max-width: 34rem;
}

.contact-card {
  padding: 2rem;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-card h3 {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dark);
}

.contact-card address {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Legal sections */
.section-legal {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 2.25rem + 3vw, 4.5rem);
}

.section-legal + .section-legal {
  background: var(--bg-alt);
}

.legal {
  max-width: 820px;
}

.legal h2 {
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  margin-bottom: 1.25rem;
}

.legal h3 {
  font-size: 1.02rem;
  margin: 1.75rem 0 0.4rem;
  color: var(--navy);
}

.legal p {
  color: var(--ink);
  font-size: 1rem;
}

.legal-date {
  margin-top: 2rem;
  color: var(--muted) !important;
  font-size: 0.92rem !important;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #c9d2dd;
  padding-top: 3rem;
  --focus: #e3c891;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.footer-brand p:last-child {
  margin: 0;
}

.footer-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #fff;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--brass);
}

.footer-legal {
  padding-block: 1.5rem 2rem;
  font-size: 0.9rem;
}

.footer-legal p {
  margin: 0 0 0.5rem;
}

.footer-legal p:last-child {
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-inner,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-card {
    max-width: 520px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--navy);
    border-bottom: 1px solid rgba(201, 168, 110, 0.25);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, 0.6);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: min(1160px, 100% - 2.5rem);
    margin-inline: auto;
    padding-block: 0.5rem 1rem;
  }

  .site-nav a {
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
  }

  .site-nav li:last-child a {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-card,
  .contact-card,
  .facts {
    padding: 1.5rem;
  }

  .purpose {
    padding: 1.25rem;
  }

  .brand-name {
    font-size: 1.3rem;
  }

  .brand-suffix {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
}
