/* ==================================================
   1. ALLGEMEINE STYLES
================================================== */

/* ------------------------------
   Fonts
------------------------------ */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/SourceSerif4-VariableFont_opsz,wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-VariableFont_wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------
   Variablen
------------------------------ */

:root {
  /* Farben */
  --color-light-gray: #d8d2ce;
  --color-off-white: #f3eee8;
  --color-dark-brown: #43372c;
  --color-light-brown: #9d5c2a;
  --color-light-brown-soft: #ccb19d;
  --color-light-blue: #669299;
  --color-light-blue-soft: #bfd0d4;
  --color-dark-blue: #2f4f52;
  --color-dark-blue-soft: #8f9ea0;
  --color-black: #000000;
  --color-white: #ffffff;

  /* Schriften */
  --font-serif: "Source Serif 4", serif;
  --font-sans: "Source Sans 3", sans-serif;

  /* Typografie */
  --display-1: 120px;
  --display-2: 96px;
  --display-3: 48px;

  --h1: 32px;
  --h2: 28px;
  --h3: 20px;

  --p-large: 32px;
  --p-base: 20px;
  --p-small: 14px;

  /* Zeilenhöhen */
  --lh-tight: 0.95;
  --lh-heading: 1.15;
  --lh-body: 1.3;
  --lh-body-loose: 1.4;

  /* Abstände */
  --space-xxs: 8px;
  --space-xs: 16px;
  --space-sm: 24px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 64px;
  --space-xxl: 96px;
  --space-section: 120px;

  /* Layout */
  --container-width: 1200px;
  --radius-pill: 999px;
}

/* ------------------------------
   Reset / Base
------------------------------ */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--p-base);
  line-height: var(--lh-body-loose);
  color: var(--color-black);
  background: var(--color-light-gray);
}

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

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

/* ------------------------------
   Typografie
------------------------------ */

.display-1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: var(--display-1);
  line-height: 1;
  letter-spacing: -0.04em;
}

.display-2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--display-2);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}

.display-3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--display-3);
  line-height: var(--lh-tight);
}

h1,
.heading-1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--h1);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}

h2,
.heading-2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--h2);
  line-height: var(--lh-heading);
  letter-spacing: 0;
}

h3,
.heading-3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--h3);
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  font-family: var(--font-sans);
  font-size: var(--p-base);
  line-height: var(--lh-body);
  margin-bottom: var(--space-sm);
}

.p-large {
  font-family: var(--font-serif);
  font-size: var(--p-large);
  line-height: 1.15;
}

.p-small {
  font-family: var(--font-sans);
  font-size: var(--p-small);
  line-height: 1.4;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ------------------------------
   Layout / Utilities
------------------------------ */

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

.section {
  padding-block: var(--space-section);
}

.section-small {
  padding-block: var(--space-xl);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.stack-sm > * + * {
  margin-top: var(--space-sm);
}

.stack-md > * + * {
  margin-top: var(--space-md);
}

.stack-lg > * + * {
  margin-top: var(--space-lg);
}

.content-narrow {
  max-width: 980px;
}

/* ------------------------------
   Header allgemein
------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-dark-brown);
  transition: transform 0.35s ease, background-color 0.3s ease;
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 60px;
}

.site-logo img {
  height: 60px;
  width: auto;
}

.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-item {
  position: relative;
}

.site-nav a {
  color: var(--color-off-white);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1;
  display: block;
}

.site-nav a:hover {
  opacity: 0.8;
}

/* Dropdown */
.site-nav .nav-item--dropdown {
  position: relative;
}

.site-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  background: var(--color-dark-brown);
}

.site-nav .dropdown li {
  margin: 0;
  padding: 0;
}

.site-nav .dropdown a {
  display: block;
  padding: 0.6rem 1.2rem;
  white-space: nowrap;
}

.site-nav .nav-item--dropdown:hover .dropdown {
  display: block;
}

/* ------------------------------
   Buttons allgemein
------------------------------ */

:root {
  --button-min-width: 220px;
  --button-height: 56px;
  --button-padding-x: 32px;
}

.button,
.button:link,
.button:visited,
.button-light,
.button-dark,
.btn-primary,
.btn.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: auto;
  min-width: var(--button-min-width);
  max-width: 100%;
  min-height: var(--button-height);
  padding: 0 var(--button-padding-x);

  border: 0;
  border-radius: var(--radius-pill);

  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;

  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Heller Button */
.button--light,
.button-light,
.btn-primary,
.btn.btn-light {
  background: var(--color-off-white);
  color: var(--color-dark-brown);
}

.button--light:hover,
.button-light:hover,
.btn-primary:hover,
.btn.btn-light:hover {
  background: var(--color-white);
}

/* Dunkler Button */
.button--brown,
.button-dark {
  background: var(--color-dark-brown);
  color: var(--color-white);
}

.button--brown:hover,
.button-dark:hover {
  background: var(--color-light-brown);
}

/* Outline Button */
.button--outline {
  border: 1px solid var(--color-dark-brown);
  background: transparent;
  color: var(--color-dark-brown);
}

.button--outline:hover {
  background: var(--color-dark-brown);
  color: var(--color-off-white);
}

/* ------------------------------
   Cards allgemein
------------------------------ */

.card {
  background: var(--color-white);
  overflow: hidden;
}

.card__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card__body {
  padding: var(--space-sm);
}

.card__title {
  margin-bottom: var(--space-xs);
}

.card__text {
  margin-bottom: var(--space-sm);
}

/* ------------------------------
   Footer allgemein
------------------------------ */

.footer {
  background: var(--color-light-gray);
  padding: 120px 0 80px;
  color: var(--color-dark-brown);
}

.footer,
.footer p,
.footer a {
  color: var(--color-dark-brown);
}

.footer a {
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 70px 120px;
  align-items: start;
}

.footer__logo img {
  width: 170px;
}

.footer__title {
  grid-column: 2 / 4;
  justify-self: end;
}

.footer__title img {
  width: 420px;
  height: auto;
}

.footer__claim {
  grid-column: 1 / 3;
  max-width: 560px;
}

.footer__claim p {
  margin: 0;
  font-size: var(--p-large);
  line-height: 1.2;
}

.footer__address {
  grid-column: 1;
  grid-row: 3;
}

.footer__address p {
  margin: 0 0 8px;
  font-size: var(--p-base);
  line-height: 1.4;
}

.footer__contact {
  grid-column: 1;
  grid-row: 4;
}

.footer__contact p,
.footer__contact a {
  display: block;
  margin: 0 0 8px;
  font-size: var(--p-base);
  line-height: 1.4;
}

.footer__links {
  grid-column: 3;
  grid-row: 3 / span 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-self: end;
  text-align: left;
}

.footer__links a {
  text-decoration: none;
  font-size: var(--p-base);
}

.footer__copyright {
  grid-column: 1;
  grid-row: 5;
  margin-top: 30px;
  font-size: var(--p-small);
  line-height: 1.4;
}

/* ==================================================
   2. STARTSEITE
================================================== */

/* ------------------------------
   Hero
------------------------------ */

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(67, 55, 44, 0.49);
}

.hero__inner {
  position: relative;
  z-index: 3;
  min-height: 860px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 20px;
}

.hero__content {
  max-width: 700px;
  padding-left: 80px;
  padding-right: 80px;
  padding-bottom: 20px;
}

.hero__title {
  color: var(--color-light-gray);
  white-space: nowrap;
  line-height: 1.05;
}

.hero__text {
  max-width: 420px;
  margin-bottom: var(--space-md);
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.15;
  color: var(--color-light-gray);
}

/* ------------------------------
   Angebot-Teaser
------------------------------ */

.angebot-teaser {
  position: relative;
  min-height: 1280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.angebot-teaser__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.angebot-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.angebot-teaser__bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--color-dark-brown);
  padding: 85px 0 115px;
}

.angebot-teaser__grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 110px;
  align-items: start;
}

.angebot-teaser__label {
  padding-top: 10px;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.2;
  color: var(--color-light-gray);
}

.angebot-teaser__main {
  max-width: 760px;
}

.angebot-teaser__title {
  margin: 0 0 56px 0;
  font-family: var(--font-serif);
  font-size: 82px;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-light-gray);
}

.angebot-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.angebot-link:hover {
  opacity: 0.7;
}

.angebot-teaser__title span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

/* ------------------------------
   Referenzen-Teaser
------------------------------ */

.referenzen-teaser {
  background: rgba(67, 55, 44, 0.49);
  padding: 120px 0 110px;
  text-align: center;
}

.referenzen-teaser__inner {
  max-width: 600px;
  margin: 0 auto;
}

.referenzen-teaser__title {
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1.1;
  color: var(--color-black);
}

.referenzen-teaser__text {
  margin-bottom: 40px;
  font-size: 16px;
  line-height: 1.4;
}

/* ==================================================
   3. ANGEBOT
================================================== */

.angebot-page {
  background-color: var(--color-dark-brown);
  color: var(--color-off-white);
}

.angebot-content {
  background-color: var(--color-dark-brown);
  color: var(--color-off-white);
  padding: 80px 0;
}

.angebot-content h2,
.angebot-content p,
.angebot-content a {
  color: var(--color-off-white);
}

/* ------------------------------
   Angebot Leistungen
------------------------------ */

.angebot-leistungen {
  background-color: var(--color-dark-brown);
  color: var(--color-off-white);
  padding: 120px 0 140px;
}

.angebot-leistungen__intro {
  max-width: 1200px;
  margin-bottom: 80px;
}

.angebot-leistungen__intro p {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 40px;
}

.angebot-leistungen__list {
  border-top: 1px solid rgba(243, 238, 232, 0.45);
}

.angebot-leistung {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid rgba(243, 238, 232, 0.45);
}

.angebot-leistung__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.angebot-leistung__icon img {
  max-width: 100%;
  width: 360px;
  height: auto;
}

.angebot-leistung__content {
  max-width: 720px;
}

.angebot-leistung__content h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  line-height: 1.15;
  color: var(--color-off-white);
  margin: 0 0 24px;
}

.angebot-leistung__content p {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 1.35;
  color: var(--color-off-white);
  margin: 0 0 28px;
}

.angebot-leistung__content a {
  font-family: var(--font-sans);
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-off-white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.angebot-leistung__content a:hover {
  opacity: 0.8;
}

/* ------------------------------
   CTA Angebot
------------------------------ */

.cta {
  display: grid;
  grid-template-columns: 420px auto;
  column-gap: 80px;
  align-items: center;
  justify-content: start;
  padding: 120px 0 40px;
}

.cta__text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 28px;
  line-height: 1.2;
  color: var(--color-off-white);
  text-align: left;
}

.cta .button,
.cta .button-light,
.cta .btn-primary,
.cta .btn.btn-light {
  width: var(--button-width);
  justify-self: start;
}

/* ==================================================
   4. UNTERSEITEN ALLGEMEIN
================================================== */

.hero--subpage {
  position: relative;
  min-height: 980px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero--subpage .hero__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero--subpage .hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero--subpage .hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(67, 55, 44, 0.18);
  z-index: 2;
}

.hero--subpage .hero__inner {
  position: relative;
  z-index: 3;
  min-height: 980px;
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding: 0 60px 70px;
}

.hero--subpage .hero__content {
  width: 100%;
}

.hero--subpage .hero__title {
  color: var(--color-light-gray);
  margin: 0;
}

/* Allgemeine Unterseiten-Inhalte */
.section--light-brown {
  background: var(--color-light-brown-soft);
  padding: 90px 0 110px;
  color: var(--color-dark-brown);
}

.section--brown {
  background: var(--color-light-brown);
  padding: 70px 0 90px;
  color: var(--color-off-white);
}

.section--light-blue {
  background-color: var(--color-dark-blue-soft);
  padding: 90px 0 110px;
  color: var(--color-black);
}

.section--dark-blue {
  background-color: var(--color-dark-blue);
  padding: 70px 0 90px;
  color: var(--color-off-white);
}

.section--projektierung-light {
  background-color: var(--color-light-blue-soft);
  padding: 90px 0 110px;
  color: var(--color-dark-brown);
}

.section--projektierung-dark {
  background-color: #729ba3;
  padding: 70px 0 90px;
  color: var(--color-off-white);
}

.section--dark-brown {
  background-color: var(--color-dark-brown);
  padding: 90px 0 120px;
  color: var(--color-off-white);
}

.section--light-brown p,
.section--light-blue p,
.section--projektierung-light p {
  color: inherit;
  max-width: 980px;
}

.section--brown p,
.section--dark-blue p,
.section--projektierung-dark p,
.section--dark-brown p {
  color: inherit;
}

.subpage-title-light {
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 40px;
  font-weight: 600;
  color: inherit;
}

.angebot-liste {
  margin: 0;
  padding-left: 1.4rem;
  color: inherit;
}

.angebot-liste li {
  margin-bottom: 10px;
}

.subpage-image {
  position: relative;
  width: 100%;
  height: 760px;
  overflow: hidden;
}

.subpage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subpage-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 96px;
  font-weight: 400;
  line-height: 0.95;
  color: var(--color-off-white);
}

/* ==================================================
   5. HOLZBAU
================================================== */

.page-holzbau .site-header {
  background-color: var(--color-light-brown) !important;
}

.page-holzbau .dropdown {
  background: var(--color-light-brown);
}

/* ==================================================
   6. BAUMEISTERARBEITEN
================================================== */

.page-baumeisterarbeiten .site-header {
  background-color: var(--color-dark-blue) !important;
}

.page-baumeisterarbeiten .dropdown {
  background: var(--color-dark-blue);
}

/* ==================================================
   7. PROJEKTIERUNG
================================================== */

.page-projektierung .site-header {
  background-color: var(--color-light-blue) !important;
}

.page-projektierung .dropdown {
  background: var(--color-light-blue);
}

.page-projektierung .hero__overlay {
  background: rgba(255, 255, 255, 0.18);
}

.page-projektierung .hero__title {
  color: var(--color-off-white);
}

/* ==================================================
   8. ÜBER UNS
================================================== */

.page-ueber-uns {
  background-color: var(--color-off-white);
}

.subpage-hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.subpage-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.subpage-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 60px 70px;
}

.subpage-hero--ueber-uns {
  background-image: url("../images/hero-ueber-uns.jpg");
}

.ueber-uns-section {
  background-color: var(--color-dark-brown);
  color: var(--color-off-white);
  padding: 90px 0 120px;
}

.ueber-uns-intro {
  max-width: 980px;
  margin-bottom: 48px;
}

.ueber-uns-intro h2 {
  margin: 0 0 40px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-off-white);
}

.ueber-uns-intro p {
  margin: 0 0 28px;
  max-width: 980px;
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-off-white);
}

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

.ueber-uns-cta {
  margin-top: 72px;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 80px;
  align-items: center;
  justify-content: start;
}

.ueber-uns-cta__question {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-off-white);
}

.ueber-uns-cta .button,
.ueber-uns-cta .button-light,
.ueber-uns-cta .btn-primary,
.ueber-uns-cta .btn.btn-light {
  width: var(--button-width);
  justify-self: start;
}

.ueber-uns-cta__question {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-off-white);
}

/* ==================================================
   9. KONTAKT
================================================== */

.page-kontakt {
  background-color: var(--color-off-white);
}

.subpage-hero--kontakt {
  position: relative;
  min-height: 760px;
  background-image: url("../images/hero-kontakt.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.subpage-hero--kontakt .subpage-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.subpage-hero--kontakt .subpage-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 70px;
}

.kontakt-section {
  background-color: var(--color-dark-brown);
  color: var(--color-off-white);
  padding: 90px 0 120px;
}

.kontakt-intro {
  max-width: 980px;
  margin-bottom: 48px;
}

.kontakt-intro p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.15;
  color: var(--color-off-white);
}

.kontakt-map-wrap {
  width: 100%;
  margin-bottom: 48px;
}

.kontakt-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #d9d9d9;
}

.kontakt-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: start;
}

.kontakt-company,
.kontakt-hours-title {
  margin: 0 0 18px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-off-white);
}

.kontakt-left p,
.kontakt-right p,
.kontakt-person p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.3;
  color: var(--color-off-white);
}

.kontakt-person {
  margin-top: 34px;
}

.kontakt-left a,
.kontakt-right a {
  color: var(--color-off-white);
  text-decoration: none;
}

.kontakt-left a:hover,
.kontakt-right a:hover {
  text-decoration: underline;
}

.kontakt-right {
  padding-top: 2px;
}

/* ==================================================
   REFERENZEN – ÜBERSICHT
================================================== */

.page-referenzen {
  background-color: var(--color-light-gray);
}

/* HERO */
.subpage-hero--referenzen {
  position: relative;
  min-height: 980px;
  overflow: hidden;
}

.subpage-hero--referenzen .subpage-hero__image {
  position: relative;
  width: 100%;
  height: 100%;
}

.subpage-hero--referenzen .subpage-hero__image img {
  display: block;
  width: 100%;
  height: 980px;
  object-fit: cover;
}

.subpage-hero--referenzen .subpage-hero__content {
  position: absolute;
  left: 4.5rem;
  bottom: 3.5rem;
  z-index: 2;
}

.subpage-hero--referenzen .subpage-hero__title {
  margin: 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(4.5rem, 8vw, 7rem);
  line-height: 0.95;
  font-weight: 400;
  color: #f3eee8;
}

/* BRAUNE SEKTION */
.section-brown {
  background-color: #43372c;
  color: #f3eee8;
  padding: 6rem 0 8rem;
}

.section-brown .subpage-title-light {
  margin: 0 0 3.5rem 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 400;
  color: #f3eee8;
}

/* GRID */
.referenzen-overview .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4.5rem;
}

.referenzen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 6rem;
}

.referenz-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background-color: #6b5a4c;
  cursor: pointer;
  appearance: none;
  text-align: left;
}

.referenz-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.referenz-card span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(1.8rem, 2.3vw, 2.6rem);
  font-weight: 400;
  color: #f3eee8;
  z-index: 2;
}

.referenz-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(67, 55, 44, 0.22);
  z-index: 1;
  transition: background 0.35s ease;
}

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

.referenz-card:hover::after {
  background: rgba(67, 55, 44, 0.35);
}

/* CTA */
.referenzen-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 2rem;
  padding-top: 4rem;
}

.referenzen-cta__text {
  display: flex;
  justify-content: flex-start;
}

.referenzen-cta__text p {
  margin: 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.2;
  color: #f3eee8;
}

.referenzen-cta__button {
  display: flex;
  justify-content: center;
}

.btn.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  min-height: 56px;
  border-radius: 999px;
  background-color: #f3eee8;
  color: #43372c;
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn.btn-light:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

.btn.btn-light:hover {
  background-color: #ffffff;
  transform: translateY(-1px);
}

/* ==================================================
   REFERENZEN – MODAL MIT GALERIE
================================================== */

body.modal-open {
  overflow: hidden;
}

.referenz-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.referenz-modal.is-open {
  display: block;
}

.referenz-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.referenz-modal__content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 3rem));
  margin: 4vh auto;
  background: #f3eee8;
  color: #43372c;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  max-height: 92vh;
  overflow: hidden;
}

.referenz-modal__main-image-wrap {
  background: #d8d2ce;
  min-height: 620px;
}

.referenz-modal__main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.referenz-modal__text {
  padding: 3rem 2.5rem;
  overflow-y: auto;
}

.referenz-modal__text h3 {
  margin: 0 0 1.2rem 0;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 400;
  color: #43372c;
}

.referenz-modal__text p {
  margin: 0 0 1rem 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #43372c;
}

.referenz-modal__details {
  font-weight: 600;
  margin-bottom: 2rem;
}

.referenz-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.referenz-modal__thumb {
  padding: 0;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
}

.referenz-modal__thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.referenz-modal__thumb.is-active {
  border-color: #43372c;
}

.referenz-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  z-index: 3;
  background: transparent;
  border: 0;
  font-size: 2.2rem;
  line-height: 1;
  color: #43372c;
  cursor: pointer;
}

.referenz-modal__close:hover {
  opacity: 0.7;
}

@media (max-width: 1100px) {
  .referenzen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .referenzen-cta {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .referenzen-cta__text,
  .referenzen-cta__button {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .referenz-modal__content {
    grid-template-columns: 1fr;
    width: min(95vw, 720px);
    max-height: 92vh;
  }

  .referenz-modal__main-image-wrap {
    min-height: 320px;
  }

  .referenz-modal__text {
    padding: 2rem 1.5rem;
  }

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

@media (max-width: 700px) {
  .referenzen-overview .container {
    padding: 0 1.5rem;
  }

  .subpage-hero--referenzen {
    min-height: 680px;
  }

  .subpage-hero--referenzen .subpage-hero__image img {
    height: 680px;
  }

  .subpage-hero--referenzen .subpage-hero__content {
    left: 1.5rem;
    bottom: 2rem;
  }

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

  .section-brown {
    padding: 4rem 0 5rem;
  }
}

/* ==================================================
   10. RESPONSIVE
================================================== */

@media (max-width: 1100px) {
  :root {
    --display-1: 96px;
    --display-2: 76px;
    --display-3: 40px;
    --h1: 30px;
    --h2: 24px;
    --space-section: 96px;
  }

  .hero,
  .hero__inner {
    min-height: 720px;
  }

  .hero__text {
    font-size: 26px;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .angebot-teaser {
    min-height: 820px;
  }

  .angebot-teaser__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }

  .angebot-teaser__main {
    max-width: 100%;
  }

  .angebot-teaser__title {
    font-size: 64px;
  }

  .footer__grid {
    gap: 48px 64px;
  }

  .footer__claim p {
    font-size: 26px;
  }

  .hero--subpage,
  .hero--subpage .hero__inner {
    min-height: 760px;
  }

  .hero--subpage .hero__inner {
    padding: 0 40px 48px;
  }

  .subpage-image {
    height: 560px;
  }

  .subpage-hero--ueber-uns,
  .subpage-hero--kontakt,
  .subpage-hero {
    min-height: 620px;
  }

  .subpage-title {
    font-size: 76px;
  }

  .ueber-uns-intro h2 {
    font-size: 24px;
  }

  .ueber-uns-cta {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 56px;
  }

  .kontakt-intro p {
    font-size: 24px;
  }

  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --display-1: 72px;
    --display-2: 56px;
    --display-3: 34px;
    --h1: 28px;
    --h2: 22px;
    --h3: 18px;
    --p-large: 24px;
    --p-base: 17px;
    --p-small: 14px;
    --space-section: 72px;
  }

  .site-header {
    background: var(--color-dark-brown);
  }

  .site-header__inner {
    padding-top: 18px;
    padding-bottom: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-logo img {
    height: 44px;
  }

  .site-nav .nav-list {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .hero,
  .hero__inner {
    min-height: 620px;
  }

  .hero__content {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 72px;
  }

  .hero__title {
    white-space: normal;
  }

  .hero__text {
    max-width: 320px;
    font-size: 22px;
  }

  .angebot-teaser {
    min-height: 680px;
  }

  .angebot-teaser__bottom {
    padding: 56px 0 72px;
  }

  .angebot-teaser__label {
    font-size: 20px;
  }

  .angebot-teaser__title {
    margin-bottom: 36px;
    font-size: 46px;
    line-height: 1;
  }

  .footer {
    padding: 64px 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer__logo,
  .footer__title,
  .footer__claim,
  .footer__contact,
  .footer__address,
  .footer__links,
  .footer__copyright {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    max-width: 100%;
  }

  .footer__title {
    justify-self: start;
  }

  .footer__title img {
    width: 220px;
  }

  .footer__claim p,
  .footer__contact p,
  .footer__address p,
  .footer__links a {
    font-size: 17px;
    line-height: 1.4;
  }

  .footer__links {
    gap: 12px;
    justify-self: start;
    text-align: left;
  }

  .footer__copyright {
    margin-top: 0;
    font-size: var(--p-small);
    line-height: 1.4;
  }
}

@media (max-width: 700px) {
  .hero--subpage,
  .hero--subpage .hero__inner {
    min-height: 620px;
  }

  .hero--subpage .hero__inner {
    padding: 0 24px 32px;
  }

  .section--light-brown,
  .section--brown,
  .section--light-blue,
  .section--dark-blue,
  .section--projektierung-light,
  .section--projektierung-dark,
  .section--dark-brown {
    padding: 56px 0;
  }

  .subpage-title-light {
    font-size: 20px;
    line-height: 1.2;
  }

  .subpage-image {
    height: 360px;
  }

  .subpage-hero,
  .subpage-hero--ueber-uns,
  .subpage-hero--kontakt {
    min-height: 520px;
    background-position: center;
  }

  .subpage-hero__inner,
  .subpage-hero--ueber-uns .subpage-hero__inner,
  .subpage-hero--kontakt .subpage-hero__inner {
    padding-left: 24px;
    padding-right: 24px;
    padding-bottom: 40px;
  }

  .subpage-title {
    font-size: 56px;
  }

  .ueber-uns-section,
  .kontakt-section {
    padding: 60px 0 80px;
  }

  .ueber-uns-intro {
    margin-bottom: 32px;
  }

  .ueber-uns-intro h2 {
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 28px;
  }

  .ueber-uns-intro p {
    font-size: 17px;
  }

  .ueber-uns-cta {
    margin-top: 40px;
    gap: 24px;
  }

  .ueber-uns-cta__question {
    font-size: 18px;
  }

  .kontakt-intro {
    margin-bottom: 32px;
  }

  .kontakt-intro p {
    font-size: 20px;
    line-height: 1.2;
  }

  .kontakt-map-wrap {
    margin-bottom: 32px;
  }

  .kontakt-company,
  .kontakt-hours-title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  .kontakt-left p,
  .kontakt-right p,
  .kontakt-person p {
    font-size: 17px;
  }

  .kontakt-person {
    margin-top: 26px;
  }
}

@media (max-width: 480px) {
  :root {
    --display-1: 52px;
    --display-2: 36px;
    --display-3: 28px;
    --h1: 24px;
    --h2: 20px;
    --space-section: 56px;
  }

  .container {
    width: min(100% - 32px, var(--container-width));
  }

  .hero,
  .hero__inner {
    min-height: 540px;
  }

  .hero__content {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 56px;
  }

  .hero__text {
    font-size: 20px;
  }

  .button,
  .button:link,
  .button:visited,
  .button-light,
  .button-dark,
  .btn-primary {
    height: 44px;
    padding: 0 20px;
    font-size: 13px;
  }

  .angebot-teaser__title {
    font-size: 40px;
  }

  .footer__logo img {
    width: 140px;
  }

  .footer__title img {
    width: 180px;
  }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .referenzen-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .referenzen-cta {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .referenzen-cta__text,
  .referenzen-cta__button {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .referenzen-overview .container {
    padding: 0 1.5rem;
  }

  .subpage-hero--referenzen {
    min-height: 680px;
  }

  .subpage-hero--referenzen .subpage-hero__image img {
    height: 680px;
  }

  .subpage-hero--referenzen .subpage-hero__content {
    left: 1.5rem;
    bottom: 2rem;
  }

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

  .section-brown {
    padding: 4rem 0 5rem;
  }
}

/* ==================================================
   REFERENZEN – POPUP GALERIE
================================================== */

body.modal-open {
  overflow: hidden;
}

.referenz-gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.referenz-gallery-modal.is-open {
  display: block;
}

.referenz-gallery-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.referenz-gallery-modal__content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 3rem));
  max-height: 86vh;
  margin: 4vh auto;
  padding: 2.5rem;
  overflow-y: auto;
  background: #f3eee8;
  color: #43372f;
}

.referenz-gallery-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: 0;
  background: none;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
  color: #43372f;
}

.referenz-gallery-modal__header {
  margin-bottom: 2rem;
  padding-right: 3rem;
}

.referenz-gallery-modal__header h3 {
  margin: 0 0 0.8rem;
  font-family: 'Source Serif 4', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
}

.referenz-gallery-modal__header p {
  margin: 0 0 0.6rem;
}

.referenz-gallery-modal__details {
  font-weight: 600;
}

.referenz-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.referenz-gallery-grid__item {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.referenz-gallery-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.referenz-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}

.referenz-lightbox.is-open {
  display: block;
}

.referenz-lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.referenz-lightbox__content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 2rem));
  height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.referenz-lightbox__content img {
  max-width: calc(100% - 10rem);
  max-height: 85vh;
  object-fit: contain;
}

.referenz-lightbox__close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

.referenz-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(243, 238, 232, 0.18);
  color: #ffffff;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.referenz-lightbox__nav:hover {
  background: rgba(243, 238, 232, 0.3);
}

.referenz-lightbox__nav--prev {
  left: 1rem;
}

.referenz-lightbox__nav--next {
  right: 1rem;
}

.referenz-lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .referenz-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .referenz-lightbox__content img {
    max-width: calc(100% - 6rem);
  }
}

@media (max-width: 640px) {
  .referenz-gallery-modal__content {
    width: min(100% - 1.5rem, 1000px);
    padding: 1.5rem;
  }

  .referenz-gallery-grid {
    grid-template-columns: 1fr;
  }

  .referenz-card span {
    font-size: 1.8rem;
  }

  .referenz-lightbox__nav {
    width: 3rem;
    height: 3rem;
    font-size: 2rem;
  }

  .referenz-lightbox__content img {
    max-width: calc(100% - 4.5rem);
  }
}


/* ==================================================
   11. GLOBAL OVERRIDES / MOBILE MENU
================================================== */

.site-header.hide,
.site-header.is-hidden {
  transform: translateY(-100%);
}

.hero,
.hero__inner,
.hero--subpage,
.hero--subpage .hero__inner,
.subpage-hero,
.subpage-hero--kontakt,
.subpage-hero--ueber-uns,
.subpage-hero--referenzen {
  min-height: 860px;
}

.hero__overlay,
.hero--subpage .hero__overlay,
.subpage-hero__overlay,
.subpage-hero--kontakt .subpage-hero__overlay {
  background: rgba(67, 55, 44, 0.32);
}

.subpage-hero,
.subpage-hero--kontakt,
.subpage-hero--ueber-uns,
.subpage-hero--referenzen {
  position: relative;
  overflow: hidden;
}

.subpage-hero--referenzen .subpage-hero__image,
.subpage-hero--referenzen .subpage-hero__image img {
  width: 100%;
  height: 100%;
}

.subpage-hero--referenzen .subpage-hero__image {
  position: absolute;
  inset: 0;
}

.subpage-hero--referenzen::after,
.subpage-hero--ueber-uns::after,
.subpage-hero--kontakt::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(67, 55, 44, 0.32);
  z-index: 1;
  pointer-events: none;
}

.subpage-hero--referenzen .subpage-hero__content,
.subpage-hero__inner {
  position: relative;
  z-index: 2;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--color-off-white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 8px;
  }

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

  .site-nav .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .site-nav .nav-item,
  .site-nav .nav-item--dropdown {
    width: 100%;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .site-nav .dropdown {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: transparent;
  }

  .site-nav .dropdown a {
    padding: 8px 0;
  }

  .hero,
  .hero__inner,
  .hero--subpage,
  .hero--subpage .hero__inner,
  .subpage-hero,
  .subpage-hero--kontakt,
  .subpage-hero--ueber-uns,
  .subpage-hero--referenzen {
    min-height: 620px;
  }

  .subpage-hero--referenzen .subpage-hero__image img {
    height: 100%;
  }
}

@media (max-width: 480px) {
  :root {
    --button-width: 100%;
    --button-height: 48px;
    --button-padding-x: 20px;
  }

  .button,
  .button:link,
  .button:visited,
  .button-light,
  .button-dark,
  .btn-primary,
  .btn.btn-light {
    font-size: 13px;
  }
}

/* ==================================================
   REFERENZEN – 4 KACHELN / 2 PRO ZEILE
================================================== */

.referenzen-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.referenz-card {
  aspect-ratio: 4 / 3;
}

.referenz-card span {
  font-size: clamp(2rem, 3vw, 3.4rem);
}

/* Etwas mehr Raum für die grössere Übersicht */
.referenzen-grid {
  margin-bottom: 6rem;
}

/* Responsive: auf Mobile wieder einspaltig */
@media (max-width: 700px) {
  .referenzen-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .referenz-card {
    aspect-ratio: 4 / 3;
  }

  .referenz-card span {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
}

/* Rechtliches / Impressum & Datenschutz */

.rechtliches-section {
  background-color: #463629;
  color: #f5f0e9;
  padding: 180px 0 120px;
}

.rechtliches-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.rechtliches-content {
  max-width: 980px;
}

.rechtliches-content h1 {
  color: #f5f0e9;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  font-weight: 600;
  margin: 0 0 80px 0;
}

.rechtliches-content h2 {
  color: #f5f0e9;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  margin: 90px 0 32px 0;
}

.rechtliches-content h3 {
  color: #f5f0e9;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 600;
  margin: 56px 0 18px 0;
}

.rechtliches-content p,
.rechtliches-content li {
  color: #f5f0e9;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}

.rechtliches-content p {
  margin: 0 0 32px 0;
}

.rechtliches-content ul {
  margin: 0 0 36px 24px;
  padding: 0;
}

.rechtliches-content li {
  margin-bottom: 8px;
}

.rechtliches-content a {
  color: #f5f0e9;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rechtliches-content a:hover {
  opacity: 0.75;
}