/* ==========================================================
   Unterweger & Partner – Website 2026
   Mobile-first · lokal eingebundene Schriften (keine externen Anfragen)
   Cormorant Garamond (Überschriften) + Figtree (Text)
   ========================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Figtree";
  font-weight: 300 900; font-style: normal; font-display: swap;
  src: url("fonts/figtree-var.woff2") format("woff2");
}

:root {
  --ink: #22302a;
  --ink-soft: #6a8577;
  --forest: #2e4f41;
  --forest-deep: #24473a;
  --paper: #f6f6f0;
  --white: #fff;
  --gold: #c2a46c;          /* Champagner */
  --gold-light: #e6d5ae;
  --teal: #4f7a68;          /* Mineral / Sage */

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --gutter: clamp(1.4rem, 5vw, 5rem);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;            /* 18 px */
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.br-m { display: none; }

/* sanftes Einblenden (nur mit JavaScript) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: .1s; }
.js .reveal[data-d="2"] { transition-delay: .2s; }
.js .reveal[data-d="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.site-header::before {            /* weicher Schatten für Lesbarkeit über Fotos */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 36, 29, .42), rgba(20, 36, 29, 0));
  transition: opacity .35s ease;
}
.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(246, 246, 240, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(29, 43, 38, .08);
}
.site-header.is-scrolled::before,
.site-header.menu-open::before { opacity: 0; }

.brand { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.brand__logo { height: 30px; width: auto; }
.brand__logo--dark { display: none; }
.is-scrolled .brand__logo--light,
.menu-open .brand__logo--light { display: none; }
.is-scrolled .brand__logo--dark,
.menu-open .brand__logo--dark { display: block; }

.brand__text {
  display: flex; flex-direction: column; line-height: 1.3;
  align-items: flex-start; text-align: left;
}
.brand__text strong { font-size: .76rem; letter-spacing: .14em; font-weight: 600; }
.brand__text small { font-size: .58rem; letter-spacing: .16em; font-weight: 400; opacity: .85; }

/* Burger */
.nav-toggle {
  width: 44px; height: 44px; margin-right: -10px;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  padding: 0; background: none; border: 0; color: inherit; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), opacity .2s ease; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.main-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  background: rgba(246, 246, 240, .98);
  box-shadow: 0 24px 40px rgba(15, 40, 30, .16);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s var(--ease), visibility .3s;
}
.menu-open .main-nav { visibility: visible; opacity: 1; transform: none; }
.main-nav a {
  display: block; padding: 1.1rem var(--gutter);
  font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border-top: 1px solid rgba(29, 43, 38, .08);
}

/* ---------- Gemeinsame Bausteine ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow span { width: 3rem; height: 1px; background: var(--gold); }
.eyebrow--gold { color: var(--gold-light); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.eyebrow--gold span { background: var(--gold-light); }

/* ---------- 01 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 6rem;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(22, 40, 32, .6) 0%, rgba(22, 40, 32, .34) 38%, rgba(22, 40, 32, 0) 72%),
    linear-gradient(90deg, rgba(22, 40, 32, .3) 0%, rgba(22, 40, 32, .1) 50%, rgba(22, 40, 32, 0) 80%),
    url("images/hero.jpg") 48% center / cover no-repeat;
  background-color: #3b5a45;
}
.hero__inner { max-width: 40rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 11vw, 6.6rem);
  line-height: .95;
  letter-spacing: -.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .3);
}
.hero__lead {
  margin-top: 2rem; max-width: 27rem;
  font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-weight: 400; line-height: 1.55;
  text-shadow: 0 1px 3px rgba(10, 24, 18, .5), 0 2px 18px rgba(10, 24, 18, .5);
}
.hero__tags {
  margin-top: 2.2rem; display: flex; align-items: center; gap: 1rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(10, 24, 18, .55), 0 2px 16px rgba(10, 24, 18, .55);
}
.hero__tags::before { content: ""; flex: none; width: 3rem; height: 1px; background: var(--gold-light); }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; margin-left: -22px;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  animation: nudge 2.8s ease-in-out infinite;
}
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .hero__scroll { animation: none; } }
.hero__scroll svg, .btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 02 Werte ---------- */
.werte { background: var(--paper); display: flex; flex-direction: column; }
.werte__text { padding: 4.5rem var(--gutter) 2rem; }
.werte__claim {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.5rem, 7.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.01em;
  color: var(--forest);
}
.werte__sub {
  margin-top: 1.8rem;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.7rem, 4.2vw, 2.5rem); line-height: 1.12;
  color: var(--ink);
}
.werte__list { margin-top: 1.6rem; font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.5; color: var(--ink); font-weight: 400; }
.werte__list--small { margin-top: 1.1rem; font-size: clamp(1.1rem, 1.8vw, 1.25rem); font-weight: 400; color: #46604f; max-width: 36rem; }
.werte__tags {
  margin-top: 2.2rem; display: flex; align-items: center; gap: 1rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--forest);
}
.werte__tags::before { content: ""; flex: none; width: 3rem; height: 1px; background: var(--gold); }
.werte__image {
  min-height: 17rem; flex: 1;
  background: url("images/palais-dach.jpg") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 38%);
}

/* ---------- 03 Beratung ---------- */
.wrap { max-width: 1320px; margin: 0 auto; }
.beratung { padding: 5rem var(--gutter) 6rem; background: var(--paper); }
.beratung h2 {
  margin-top: 1.6rem;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.7rem, 7.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.012em;
  color: var(--ink);
}
.beratung__intro {
  margin-top: 1.8rem; max-width: 36rem;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.7; font-weight: 400; color: #435a4d;
}

.cards { margin-top: 3rem; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.card {
  position: relative;
  background: var(--white);
  border-radius: 1.4rem;
  padding: 1.7rem 1.6rem 1.9rem;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(29, 43, 38, .04), 0 18px 40px -22px rgba(31, 69, 54, .28);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::after {                      /* feine Goldlinie */
  content: ""; position: absolute; left: 1.6rem; top: 0; width: 2.4rem; height: 2px; background: var(--gold);
  transition: width .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(29, 43, 38, .04), 0 28px 50px -22px rgba(31, 69, 54, .4); }
.card:hover::after { width: 4.5rem; }
.card__no { font-family: var(--serif); font-weight: 500; font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; font-size: 2.6rem; line-height: 1; color: var(--gold); }
.card h3 {
  margin-top: .9rem;
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.5rem, 7.4vw, 2rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; color: var(--ink); overflow-wrap: break-word;
}
.card p { margin-top: 1rem; font-size: 1.125rem; line-height: 1.6; font-weight: 400; color: #4d6757; }

/* ---------- 04 Green Energy ---------- */
.green {
  position: relative; color: var(--white);
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 13rem) var(--gutter) 3rem;
  background:
    linear-gradient(180deg,
      rgba(30, 64, 50, 0) 0%,
      rgba(30, 64, 50, .26) 32%,
      rgba(34, 70, 56, .72) 54%,
      rgba(34, 70, 56, .88) 100%),
    url("images/green-energy.jpg") 66% top / cover no-repeat;
  background-color: var(--forest-deep);
}
.green__inner { width: 100%; max-width: 1320px; margin: 0 auto; }
.pill {
  display: inline-block; padding: .6rem 1.4rem; border-radius: 99px;
  background: var(--teal);
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.green h2 {
  margin-top: 1.3rem;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3.2rem, 11vw, 6rem); line-height: .96; letter-spacing: -.012em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .35);
}
.green__lead {
  margin-top: 1.5rem; max-width: 36rem;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 400; line-height: 1.6;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}
.features { margin-top: 1.8rem; display: grid; grid-template-columns: 1fr; }
.features li { display: flex; align-items: center; gap: 1.1rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, .35); }
.icon {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 50%; background: var(--teal);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.features h3 { font-family: var(--sans); font-size: .86rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.35; }
.features p { margin-top: .25rem; font-size: 1.05rem; line-height: 1.45; font-weight: 400; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }

.btn {
  margin-top: 1.7rem;
  display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.05rem 1.8rem; border-radius: 99px;
  background: var(--teal); color: #fff;
  font-size: .92rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: background .3s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover { background: #5f8d79; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .32); }
.btn:hover svg { transform: translateX(4px); }

/* ---------- 05 Kontakt ---------- */
.kontakt {
  position: relative; color: var(--white);
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 16rem);
  background:
    linear-gradient(180deg,
      rgba(46, 82, 67, 0) 0%,
      rgba(46, 82, 67, .36) 28%,
      rgba(46, 82, 67, .8) 46%,
      rgba(40, 74, 60, .92) 100%),
    url("images/kontakt.jpg") 58% top / cover no-repeat;
  background-color: var(--forest);
}
.kontakt__panel { width: 100%; max-width: 1320px; margin: 0 auto; padding: 2rem var(--gutter) 3rem; }
.kontakt h2 {
  margin-top: 1.1rem;
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3rem, 10.5vw, 4.4rem); line-height: 1; letter-spacing: -.01em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, .35);
}
.kontakt__names { margin-top: 1.7rem; font-family: var(--serif); font-size: 1.75rem; font-weight: 600; line-height: 1.3; }
.kontakt__list { margin-top: 1.8rem; display: grid; gap: 1.1rem; font-size: 1.1rem; }
.kontakt__list li { display: flex; align-items: center; gap: 1.1rem; }
.kontakt__list svg { flex: none; width: 26px; height: 26px; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kontakt__list address { font-style: normal; display: flex; flex-direction: column; line-height: 1.45; }
.kontakt__list strong { font-weight: 600; }
.kontakt__list span { font-size: 1.02rem; font-weight: 400; opacity: .95; }
.kontakt__list a { text-decoration: none; }
.kontakt__list a strong { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.kontakt__list a:hover strong { background-size: 100% 1px; }

.site-footer {
  padding: 1.3rem var(--gutter);
  background: #2f5446;
  color: rgba(255, 255, 255, .62);
  font-size: .72rem; letter-spacing: .08em;
}

/* ==========================================================
   Tablet & Desktop
   ========================================================== */
@media (min-width: 900px) {
  :root { --header-h: 88px; }

  .brand__logo { height: 44px; }
  .brand__text strong { font-size: 1rem; }
  .brand__text small { font-size: .68rem; }

  body { font-size: 1.1875rem; }

  .hero {
    padding-bottom: 7rem;
    background:
      radial-gradient(ellipse 52% 50% at 14% 58%, rgba(22, 40, 32, .34), rgba(22, 40, 32, 0) 72%),
      linear-gradient(90deg, rgba(22, 40, 32, .36) 0%, rgba(22, 40, 32, .14) 42%, rgba(22, 40, 32, 0) 68%),
      linear-gradient(0deg, rgba(22, 40, 32, .16) 0%, rgba(22, 40, 32, 0) 32%),
      url("images/hero.jpg") 48% center / cover no-repeat;
    background-color: #3b5a45;
  }
  .hero__inner { margin-top: 2rem; }
  .hero__lead { max-width: 34rem; }
  .hero__scroll { display: none; }

  .werte { flex-direction: row; min-height: 100vh; min-height: 100svh; align-items: stretch; }
  .werte__text {
    flex: 0 0 48%; display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 2rem) 2rem 4rem var(--gutter);
    position: relative; z-index: 1;
  }
  .werte__image {
    flex: 1; min-height: 0; margin-left: -14%; background-position: left center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
    mask-image: linear-gradient(to right, transparent 0%, #000 30%);
  }

  .beratung { padding: 8rem var(--gutter) 7rem; }
  .beratung__intro { margin-left: auto; margin-top: 1.4rem; max-width: 36rem; }
  .cards { margin-top: 4rem; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 3rem); }
  .card { min-height: 24rem; padding: clamp(2rem, 3.2vw, 3.6rem) clamp(1.6rem, 3vw, 3.4rem); border-radius: 2.4rem; }
  .card::after { left: clamp(1.6rem, 3vw, 3.4rem); width: 3rem; }
  .card:hover::after { width: 6rem; }
  .card__no { font-size: clamp(2.6rem, 4vw, 3.8rem); }
  .card h3 { margin-top: auto; padding-top: 2.4rem; font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
  .card p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); min-height: 6.4em; }

  .green {
    padding: calc(var(--header-h) + 7rem) var(--gutter) 4rem;
    background:
      linear-gradient(90deg, rgba(28, 60, 47, .52) 0%, rgba(28, 60, 47, .2) 55%, rgba(28, 60, 47, 0) 85%),
      linear-gradient(180deg, rgba(28, 60, 47, 0) 45%, rgba(28, 60, 47, .45) 100%),
      url("images/green-energy.jpg") center / cover no-repeat;
    background-color: var(--forest-deep);
  }
  .green h2 br.br-m { display: none; }
  .green h2 { max-width: 9em; }
  .green__lead { max-width: 48rem; margin-top: 2.2rem; }
  .features { margin-top: 3.6rem; max-width: 64rem; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
  .features li { padding: 1.5rem 0; align-items: flex-start; }
  .features h3 { font-size: .95rem; }
  .features p { font-size: 1.12rem; }
  .btn { margin: -3.6rem 0 0 auto; width: fit-content; padding: 1.15rem 2.4rem; }

  .kontakt {
    min-height: max(100vh, 78vw);       /* Foto bleibt in voller Höhe sichtbar – das Palais wirkt imposant */
    padding-top: 0;
    background:
      linear-gradient(180deg,
        rgba(88, 134, 113, 0) 0%,
        rgba(88, 134, 113, 0) 46%,
        rgba(88, 134, 113, .4) 62%,
        rgba(78, 124, 104, .74) 76%,
        rgba(70, 116, 97, .9) 90%,
        rgb(66, 110, 92) 100%),
      url("images/kontakt.jpg") center top / cover no-repeat;
    background-color: #426e5c;
  }
  .kontakt__panel {
    max-width: none; margin: 0;
    padding: 3.6rem var(--gutter) 3.8rem;
    display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 2rem; row-gap: 1.3rem;
    background: none;
  }
  .kontakt__panel > .eyebrow,
  .kontakt__panel > h2,
  .kontakt__panel > .kontakt__names,
  .kontakt__panel > .kontakt__list { grid-column: 1 / -1; }
  .kontakt h2 { margin-top: 0; font-size: clamp(2.8rem, 4.8vw, 4.2rem); text-shadow: 0 2px 24px rgba(10, 40, 28, .45); }
  .kontakt h2 br.br-m { display: none; }
  .kontakt__names { margin-top: .3rem; font-size: 2rem; }
  .kontakt__list { margin-top: 1.4rem; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; align-items: start; }
  .kontakt__list li:nth-child(2) { justify-content: center; }
  .kontakt__list li:nth-child(3) { justify-content: flex-end; }
}

@media (min-width: 900px) {
  .site-footer { background: #426e5c; border-top: 1px solid rgba(255, 255, 255, .14); }
}

@media (max-width: 899px) {
  .green h2 br.br-m, .kontakt h2 br.br-m { display: inline; }
}
@media (max-width: 560px) {
  .brand__text strong { font-size: .71rem; letter-spacing: .12em; }
  .brand__text small { font-size: .54rem; letter-spacing: .12em; }
  .hero__tags, .werte__tags { letter-spacing: .14em; gap: .7rem; font-size: .72rem; }
  .hero__tags::before, .werte__tags::before { width: 1.8rem; }
}
@media (max-width: 359px) {
  .brand { gap: .7rem; }
  .brand__logo { height: 22px; }
  .brand__text small { display: none; }
  .brand__text strong { font-size: .62rem; letter-spacing: .08em; }
}
@media (min-width: 360px) and (max-width: 380px) {
  .brand__logo { height: 27px; }
  .brand__text strong { font-size: .66rem; letter-spacing: .09em; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 3.1rem; }
}
@media (min-width: 1500px) {
  html { font-size: 17px; }
}

.site-header.is-scrolled .main-nav a { text-shadow: none; }

/* ---------- Sprachumschalter DE / EN ---------- */
.main-nav .lang {
  display: flex; align-items: center; gap: .15rem;
  padding: .9rem calc(var(--gutter) - .5rem);
  border-top: 1px solid rgba(29, 43, 38, .08);
}
.main-nav .lang a {
  display: inline-block; padding: .5rem .55rem; border: 0;
  font-size: .78rem; letter-spacing: .16em; font-weight: 500; opacity: .6;
}
.main-nav .lang a[aria-current] { opacity: 1; font-weight: 700; }
.main-nav .lang span { opacity: .4; font-size: .78rem; }
@media (min-width: 1280px) {
  .main-nav ul { align-items: center; }
  .main-nav .lang {
    padding: 0 0 0 clamp(1rem, 2.2vw, 2.2rem); border: 0; margin-left: .2rem;
    border-left: 1px solid currentColor; border-left-color: rgba(255, 255, 255, .45);
  }
  .site-header.is-scrolled .main-nav .lang { border-left-color: rgba(29, 43, 38, .25); }
  .main-nav .lang a { padding: .5rem .35rem; font-size: clamp(.76rem, .86vw, .9rem); }
  .main-nav .lang a::after { display: none; }
  .main-nav .lang a:hover { opacity: 1; }
}

/* Englisch: längere Wörter ("Entrepreneurs") */
html[lang="en"] .card h3, html[lang="it"] .card h3 { font-size: clamp(1.35rem, 6.6vw, 1.9rem); letter-spacing: .03em; }
@media (min-width: 900px) {
  html[lang="en"] .card h3, html[lang="it"] .card h3 { font-size: clamp(1.25rem, 2.05vw, 2.2rem); letter-spacing: .025em; }
}

/* Ausgeschriebene Navigation erst ab 1280 px, darunter Burger-Menü */
@media (min-width: 1280px) {
  :root { --header-h: clamp(100px, 7.8vw, 128px); }
  .brand { gap: clamp(1.1rem, 1.5vw, 1.6rem); }
  .brand__logo { height: clamp(54px, 4.5vw, 72px); transition: height .35s var(--ease); }
  .brand__text strong { font-size: clamp(.9rem, 1.08vw, 1.2rem); letter-spacing: .12em; }
  .brand__text small { font-size: clamp(.64rem, .78vw, .8rem); letter-spacing: .14em; }
  .site-header { transition: background .35s ease, color .35s ease, box-shadow .35s ease, height .35s var(--ease); }
  .site-header.is-scrolled { height: 84px; }
  .site-header.is-scrolled .brand__logo { height: 46px; }
  .nav-toggle { display: none; }

  .main-nav { position: static; visibility: visible; opacity: 1; transform: none; background: none; box-shadow: none; transition: none; }
  .main-nav ul { display: flex; gap: clamp(1rem, 1.7vw, 2.6rem); }
  .main-nav a {
    position: relative; padding: .5rem 0; border: 0; text-shadow: 0 1px 3px rgba(10, 24, 18, .55), 0 2px 14px rgba(10, 24, 18, .5);
    font-size: clamp(.76rem, .88vw, .95rem); font-weight: 500; letter-spacing: .14em; color: inherit;
  }
  .main-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
  }
  .main-nav a:hover::after { transform: scaleX(1); }
}

/* ---------- Desktop: größere Beschreibungstexte (nur ab 1024 px) ---------- */
@media (min-width: 1024px) {
  .hero__lead { font-size: clamp(1.45rem, 1.95vw, 1.9rem); max-width: 31rem; }
  .werte__list { font-size: clamp(1.5rem, 2vw, 1.95rem); }
  .werte__list--small { font-size: clamp(1.28rem, 1.6vw, 1.5rem); max-width: 40rem; }
  .beratung__intro { font-size: clamp(1.3rem, 1.75vw, 1.7rem); }
  .card p { font-size: clamp(1.15rem, 1.5vw, 1.42rem); min-height: 7.6em; }
  .green__lead { font-size: clamp(1.3rem, 1.75vw, 1.65rem); max-width: 40rem; }
  .features h3 { font-size: clamp(.98rem, 1.1vw, 1.1rem); }
  .features p { font-size: clamp(1.2rem, 1.4vw, 1.4rem); }
  .kontakt__list { font-size: clamp(1.25rem, 1.5vw, 1.45rem); }
  .kontakt__list span { font-size: clamp(1.15rem, 1.35vw, 1.3rem); }
  .kontakt__names { font-size: clamp(2.1rem, 2.5vw, 2.5rem); }
}

/* ---------- Desktop-Feinjustierung einzelner Texte (ab 1024 px) ---------- */
@media (min-width: 1024px) {
  /* Hero */
  .hero__lead { font-size: clamp(1.7rem, 2.3vw, 2.25rem); max-width: 37rem; line-height: 1.5; }
  .hero__tags { font-size: clamp(.88rem, 1vw, 1.05rem); }
  /* Werte */
  .werte__sub { font-size: clamp(2.1rem, 2.7vw, 2.8rem); }
  .werte__list { font-size: clamp(1.7rem, 2.3vw, 2.25rem); }
  .werte__list--small { font-size: clamp(1.45rem, 1.85vw, 1.75rem); max-width: 46rem; }
  .werte__tags { font-size: clamp(.88rem, 1vw, 1.05rem); }
  /* Green Energy */
  .green__lead { font-size: clamp(1.5rem, 2vw, 1.95rem); max-width: 46rem; }
  .features h3 { font-size: clamp(1.05rem, 1.25vw, 1.25rem); }
  .features p { font-size: clamp(1.35rem, 1.6vw, 1.6rem); line-height: 1.4; }
  .btn { font-size: clamp(.98rem, 1.1vw, 1.1rem); }
}
@media (min-width: 1024px) {
  .btn { margin: 2.4rem 0 0 auto; }              /* Button unter den Features statt daneben */
  .werte__list--small { text-wrap: balance; }
}

/* Karten: Überschriften auf einer Linie, Text darunter (auch bei längeren Texten) */
@media (min-width: 900px) {
  .card { min-height: 0; }
  .card h3 { margin-top: clamp(2.6rem, 5vw, 5rem); padding-top: 0; }
  .card p { min-height: 0; }
}
