/*
Theme Name: FRAMEWERK
Theme URI: https://soccer-youngsters.de/
Author: FRAMEWERK
Description: Maßgeschneidertes WordPress-Theme für FRAMEWERK Wohnmobil-Regalsysteme.
Version: 2.0.1
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hz-regalsysteme
*/

:root {
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Helvetica Neue", Arial, sans-serif;
  --ink: #151713;
  --soft-ink: #40443d;
  --cream: #f3f0eb;
  --paper: #fbfaf7;
  --line: #d7d5cc;
  --lime: #dd6b00;
  --lime-dark: #b85400;
  --silver: #dfe2df;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

img {
  display: block;
}

.site-header {
  align-items: center;
  background: rgba(250, 249, 245, 0.93);
  border-bottom: 1px solid rgba(21, 23, 19, 0.1);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  height: 84px;
  padding: 0 clamp(22px, 4vw, 72px);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 11px;
  justify-self: start;
}

.brand-logo {
  height: auto;
  max-height: 66px;
  object-fit: contain;
  object-position: left center;
  width: clamp(240px, 26vw, 390px);
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 50%;
  color: var(--lime);
  display: inline-flex;
  font-family: var(--font-display), sans-serif;
  font-size: 21px;
  font-weight: 800;
  height: 45px;
  justify-content: center;
  letter-spacing: -0.08em;
  width: 45px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name strong {
  font-family: var(--font-display), sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-name small {
  color: #767a72;
  font-size: 10px;
  letter-spacing: 0.12em;
  margin-top: 3px;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 34px;
}

nav a {
  font-size: 13px;
  font-weight: 650;
}

nav a:hover {
  color: var(--lime-dark);
}

.header-cta {
  background: var(--ink);
  border-radius: 999px;
  color: white;
  font-size: 13px;
  font-weight: 700;
  justify-self: end;
  padding: 12px 19px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  background: #34372f;
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  min-height: calc(100vh - 84px);
}

.hero-copy {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 130px) clamp(28px, 6vw, 105px);
}

.eyebrow {
  align-items: center;
  color: var(--lime-dark);
  display: flex;
  font-size: 11px;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.16em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--lime-dark);
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display), Arial, sans-serif;
}

h1 {
  font-size: clamp(58px, 7.1vw, 112px);
  letter-spacing: -0.075em;
  line-height: 0.89;
  margin-bottom: 38px;
}

h1 em {
  color: var(--lime);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-lead {
  color: var(--soft-ink);
  font-size: clamp(18px, 1.5vw, 23px);
  line-height: 1.55;
  max-width: 620px;
}

.hero-actions {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-top: 20px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 24px;
  justify-content: space-between;
  padding: 15px 20px 15px 23px;
  transition: transform 0.2s ease;
}

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

.button-primary {
  background: var(--lime);
  color: white;
  min-width: 226px;
}

.button-primary span:last-child {
  font-size: 18px;
}

.text-link {
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 4px;
}

.hero-proof {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(58px, 8vw, 105px);
  padding-top: 24px;
  width: 100%;
}

.hero-proof div {
  display: flex;
  flex-direction: column;
}

.hero-proof strong {
  font-family: var(--font-display), sans-serif;
  font-size: 24px;
}

.hero-proof span {
  color: #777b73;
  font-size: 11px;
}

.hero-visual {
  min-height: 670px;
  overflow: hidden;
  position: relative;
}

.hero-visual::after {
  background: linear-gradient(180deg, transparent 57%, rgba(18, 20, 16, 0.72));
  content: "";
  inset: 0;
  position: absolute;
}

.hero-visual img {
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
  position: absolute;
  inset: 0;
  transition: transform 0.7s ease;
  width: 100%;
}

.hero-visual:hover img {
  transform: scale(1.015);
}

.hero-note {
  bottom: 36px;
  color: white;
  display: flex;
  flex-direction: column;
  left: 38px;
  position: absolute;
  z-index: 2;
}

.hero-note span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: var(--font-display), sans-serif;
  font-size: 22px;
}

.ticker {
  align-items: center;
  background: var(--ink);
  color: white;
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: space-around;
  letter-spacing: 0.13em;
  min-height: 67px;
  padding: 16px 4vw;
  text-transform: uppercase;
}

.ticker i {
  background: var(--lime);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.section {
  padding: clamp(90px, 11vw, 165px) clamp(25px, 7vw, 120px);
}

.section-tight {
  margin: 0 clamp(20px, 4vw, 70px);
}

.intro {
  display: grid;
  gap: 8vw;
  grid-template-columns: 1.08fr 0.92fr;
}

h2 {
  font-size: clamp(43px, 5.3vw, 80px);
  letter-spacing: -0.06em;
  line-height: 0.98;
  margin-bottom: 0;
}

.intro-copy {
  align-self: end;
  color: var(--soft-ink);
  font-size: 18px;
  max-width: 600px;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.solution-card {
  aspect-ratio: 0.95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 3.3vw, 54px);
  position: relative;
  transition: transform 0.25s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
}

.solution-card::after {
  background: linear-gradient(180deg, rgba(10, 12, 9, 0.18) 12%, rgba(10, 12, 9, 0.9) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.solution-card > *:not(.solution-media) {
  position: relative;
  z-index: 2;
}

.solution-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.55s ease;
  width: 100%;
}

.solution-card:hover .solution-media {
  transform: scale(1.045);
}

.dark-card {
  background: var(--ink);
  color: white;
}

.light-card {
  background: var(--silver);
  color: white;
}

.accent-card {
  background: var(--lime);
  color: white;
}

.solution-number {
  align-items: center;
  background: var(--lime);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.12em;
  width: 43px;
}

.solution-card h3 {
  font-size: clamp(31px, 3vw, 48px);
  letter-spacing: -0.055em;
  margin-bottom: 14px;
}

.solution-card p {
  font-size: 15px;
  margin-bottom: 0;
  max-width: 330px;
  opacity: 0.88;
}

.projects {
  background: var(--cream);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 10vw;
  grid-template-columns: 1fr minmax(250px, 450px);
  margin-bottom: 68px;
}

.section-heading > p {
  color: var(--soft-ink);
  margin-bottom: 4px;
}

.project-grid {
  display: grid;
  gap: 16px;
  grid-auto-rows: 280px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  background: #252821;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.project-card::after {
  background: linear-gradient(180deg, transparent 48%, rgba(13, 14, 12, 0.88));
  content: "";
  inset: 0;
  position: absolute;
}

.project-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 0.5s ease;
  width: 100%;
}

.project-card:hover img {
  transform: scale(1.04);
}

.project-tall {
  grid-row: span 2;
}

.project-wide {
  grid-column: span 1;
}

.project-card figcaption {
  bottom: 22px;
  color: white;
  display: flex;
  flex-direction: column;
  left: 24px;
  position: absolute;
  right: 24px;
  z-index: 2;
}

.project-card figcaption strong {
  font-family: var(--font-display), sans-serif;
  font-size: 19px;
}

.project-card figcaption span {
  font-size: 12px;
  opacity: 0.76;
}

.process {
  display: grid;
  gap: clamp(55px, 8vw, 130px);
  grid-template-columns: minmax(340px, 0.88fr) 1.12fr;
}

.process-image {
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.process-image::after {
  background: linear-gradient(180deg, transparent 65%, rgba(12, 13, 11, 0.75));
  content: "";
  inset: 0;
  position: absolute;
}

.process-image img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.admin-bar .site-header {
  top: 32px;
}

.image-label {
  bottom: 30px;
  color: white;
  display: flex;
  flex-direction: column;
  left: 30px;
  position: absolute;
  z-index: 2;
}

.image-label span {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-label strong {
  font-family: var(--font-display), sans-serif;
  font-size: 20px;
}

.process-copy {
  align-self: center;
}

.process-copy h2 {
  margin-bottom: 56px;
  max-width: 700px;
}

.steps {
  border-top: 1px solid var(--line);
}

.steps article {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 46px 1fr;
  padding: 23px 0;
}

.steps article > span {
  color: #7c8177;
  font-size: 11px;
  font-weight: 800;
}

.steps h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.steps p {
  color: #686c64;
  font-size: 14px;
  margin-bottom: 0;
  max-width: 540px;
}

.calculator {
  align-items: center;
  background: var(--lime);
  display: grid;
  gap: 10vw;
  grid-template-columns: 1fr 0.95fr;
  padding: clamp(55px, 7vw, 110px);
}

.calculator .eyebrow {
  color: white;
}

.calculator > div:first-child > p:last-child {
  margin-top: 28px;
  max-width: 560px;
}

.calculator-preview {
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(39, 46, 10, 0.13);
  padding: 29px;
}

.calculator-top,
.calculator-row,
.calculator-result {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.calculator-top {
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 22px;
}

.status-dot {
  background: #edf0e7;
  border-radius: 999px;
  color: #6a7062;
  font-family: var(--font-sans), sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  text-transform: uppercase;
}

.calculator-row {
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  padding: 19px 0;
}

.calculator-row span {
  color: #777c73;
}

.calculator-result {
  background: var(--ink);
  color: white;
  margin-top: 28px;
  padding: 20px;
}

.calculator-result span {
  font-size: 12px;
}

.calculator-result a {
  align-items: center;
  background: var(--lime);
  border-radius: 50%;
  color: var(--ink);
  display: flex;
  font-size: 20px;
  height: 43px;
  justify-content: center;
  width: 43px;
}

.faq {
  display: grid;
  gap: 9vw;
  grid-template-columns: 0.85fr 1.15fr;
}

.faq h2 {
  max-width: 580px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 650;
  justify-content: space-between;
  list-style: none;
  padding: 27px 0;
}

summary::-webkit-details-marker {
  display: none;
}

summary span {
  font-family: var(--font-sans), sans-serif;
  font-size: 25px;
  font-weight: 300;
  transition: transform 0.2s ease;
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  color: #666b62;
  max-width: 650px;
  padding: 0 50px 25px 0;
}

.contact {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 9vw;
  grid-template-columns: 1.1fr 0.9fr;
  padding: clamp(70px, 9vw, 145px);
}

.contact .eyebrow {
  color: var(--lime);
}

.contact-action {
  align-self: end;
}

.contact-action > p {
  color: #b7bbb2;
  max-width: 480px;
}

.phone-link {
  align-items: center;
  border-bottom: 1px solid #565a51;
  display: flex;
  font-family: var(--font-display), sans-serif;
  font-size: clamp(23px, 3.2vw, 48px);
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: -0.04em;
  margin: 32px 0 17px;
  padding-bottom: 16px;
}

.phone-link span:last-child {
  color: var(--lime);
}

.contact-action small {
  color: #858a80;
  font-size: 11px;
}

footer {
  align-items: center;
  background: var(--ink);
  border-top: 1px solid #33362f;
  color: white;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto 1fr;
  padding: 38px clamp(25px, 7vw, 120px);
}

.footer-brand .brand-mark {
  background: var(--lime);
  color: var(--ink);
}

.footer-wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display), Arial, sans-serif;
  line-height: 1;
}

.footer-wordmark strong {
  font-size: 25px;
  letter-spacing: 0.08em;
}

.footer-wordmark strong span {
  color: var(--lime);
}

.footer-wordmark small {
  color: #a4a89f;
  font-family: var(--font-sans), Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  margin-top: 7px;
  text-transform: uppercase;
}

footer p {
  color: #858a80;
  font-size: 11px;
  margin: 0;
}

footer > a:last-child {
  font-size: 12px;
  justify-self: end;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 700px;
  }

  .hero-visual {
    min-height: 680px;
  }

  .intro,
  .section-heading,
  .process,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .solution-grid {
    grid-template-columns: 1fr 1fr;
  }

  .solution-card:last-child {
    grid-column: span 2;
    min-height: 430px;
  }

  .process-image {
    min-height: 640px;
  }

  .calculator {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-bar .site-header {
    top: 46px;
  }
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .brand-name {
    display: none;
  }

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

  .header-cta {
    align-items: center;
    display: flex;
    font-size: 0;
    height: 42px;
    justify-content: center;
    padding: 0;
    width: 42px;
  }

  .header-cta::before {
    content: "☎";
    font-size: 17px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    min-height: 650px;
    padding: 75px 23px 55px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-proof {
    gap: 10px;
  }

  .hero-proof strong {
    font-size: 20px;
  }

  .hero-proof span {
    font-size: 9px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .ticker {
    flex-wrap: wrap;
    gap: 17px;
    justify-content: center;
    padding: 24px 18px;
  }

  .ticker span:nth-of-type(even),
  .ticker i:nth-of-type(even) {
    display: none;
  }

  .section {
    padding: 90px 23px;
  }

  .section-tight {
    margin: 0 14px;
  }

  .intro {
    gap: 40px;
  }

  h2 {
    font-size: 46px;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .solution-card:last-child {
    aspect-ratio: auto;
    grid-column: auto;
    min-height: 390px;
  }

  .section-heading {
    align-items: start;
    gap: 35px;
  }

  .project-grid {
    display: flex;
    flex-direction: column;
  }

  .project-card {
    min-height: 390px;
  }

  .project-tall {
    min-height: 560px;
  }

  .process {
    gap: 60px;
  }

  .process-image {
    min-height: 560px;
  }

  .calculator {
    padding: 65px 23px;
  }

  .calculator-preview {
    padding: 20px;
  }

  .faq {
    gap: 45px;
  }

  summary {
    font-size: 17px;
  }

  .contact {
    gap: 60px;
    padding: 75px 24px;
  }

  footer {
    grid-template-columns: 1fr auto;
    padding: 35px 23px;
  }

  footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
