/* Datei: styles.css */
/* Projekt: FHS Hebezeug-Service GmbH Onepager */
/* Version: 1.0.0 */
/* Stand: 2026-06-21 21:57:11 Europe/Berlin */
:root {
  --bg: #f7f4ed;
  --surface: #ffffff;
  --surface-strong: #fff7d8;
  --text: #171717;
  --muted: #606166;
  --line: rgba(23, 23, 23, 0.12);
  --brand: #f2c100;
  --brand-dark: #9b7700;
  --dark: #111111;
  --dark-soft: #202020;
  --dark-text: #f8f8f8;
  --radius: 24px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

address {
  font-style: normal;
  font-size: 1.1rem;
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--dark);
  color: white;
  border-radius: 999px;
}

.skip-link:focus {
  left: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(247, 244, 237, 0.84);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  background: var(--brand);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: var(--muted);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(23, 23, 23, 0.78);
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(242, 193, 0, 0.22);
  color: var(--text);
}

.site-nav .nav-pill {
  background: var(--dark);
  color: white;
}

.site-nav .nav-pill:hover,
.site-nav .nav-pill.is-active {
  background: #2a2a2a;
  color: white;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
}

.hero::before {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  left: -280px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 0, 0.45), rgba(242, 193, 0, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  max-width: 670px;
  color: #393a3d;
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #141414;
  box-shadow: 0 12px 30px rgba(155, 119, 0, 0.24);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.trust-list {
  display: grid;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 650;
}

.trust-list li {
  position: relative;
  padding-left: 28px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 16px;
  height: 3px;
  background: var(--brand);
  border-radius: 999px;
}

.hero-card {
  position: relative;
  min-height: 520px;
  border-radius: calc(var(--radius) + 10px);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--dark);
  isolation: isolate;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.03));
  z-index: 1;
}

.hero-card-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 4px;
}

.hero-card-label span {
  color: var(--muted);
}

.intro-section,
.section,
.contact-section,
.legal-section {
  padding: 86px 0;
}

.intro-grid,
.split-grid,
.location-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: start;
}

.text-flow {
  color: #3e3f43;
  font-size: 1.08rem;
}

.section-muted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 810px;
  margin-bottom: 34px;
}

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

.cards {
  display: grid;
  gap: 18px;
}

.cards-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card,
.feature-panel,
.route-box,
.contact-card,
.legal-grid details {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.05);
}

.card {
  padding: 22px;
  min-height: 250px;
}

.card p,
.feature-panel p {
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 44px;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--brand-dark);
  font-weight: 950;
}

.feature-panel,
.route-box {
  padding: 30px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.62);
}

.section-dark {
  background: var(--dark);
  color: var(--dark-text);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-kicker-dark {
  color: var(--brand);
}

.feature-panel-dark {
  background: var(--dark-soft);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--dark-text);
  box-shadow: none;
}

.check-list-light li::before {
  box-shadow: inset 0 0 0 5px rgba(32, 32, 32, 0.62);
}

.split-grid-reverse {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.route-box {
  display: grid;
  gap: 12px;
}

.route-box details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.route-box details:last-child {
  border-bottom: 0;
}

.route-box summary {
  cursor: pointer;
  font-weight: 900;
  font-size: 1.06rem;
}

.route-box p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  background: linear-gradient(135deg, var(--brand), #ffe777);
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 34px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-list a {
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.contact-list a:hover {
  border-color: rgba(23, 23, 23, 0.24);
  transform: translateY(-1px);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.legal-section {
  padding-top: 54px;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.legal-grid details {
  padding: 22px 24px;
}

.legal-grid summary {
  cursor: pointer;
  font-weight: 950;
  font-size: 1.16rem;
}

.legal-content {
  margin-top: 18px;
  color: #3e3f43;
}

.legal-content h2 {
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.legal-content a {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-footer {
  padding: 28px 0;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.76);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a:hover {
  color: white;
}

@media (max-width: 1040px) {
  .cards-five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 24px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

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

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px 16px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-grid,
  .intro-grid,
  .split-grid,
  .split-grid-reverse,
  .location-grid,
  .contact-card,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .hero-card img {
    min-height: 360px;
  }

  .intro-section,
  .section,
  .contact-section,
  .legal-section {
    padding: 62px 0;
  }

  .contact-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .brand-text small {
    display: none;
  }

  h1 {
    font-size: clamp(2.7rem, 18vw, 4.8rem);
  }

  .cards-five {
    grid-template-columns: 1fr;
  }

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

  .button {
    width: 100%;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
