/* ============================================================
   Adam Montagen – Website
   Umsetzung von veloryn-designs.com
   Design: Porzellan · Petrol/Teal · Kupfer · Schiefer-Ink
   ============================================================ */

:root {
  /* Palette */
  --porcelain:   #FFFFFF;
  --porcelain-2: #F4F6F8;
  --ink:         #2B2F33;
  --teal:        #0B1F3A;
  --teal-deep:   #07172B;
  --copper:      #E8832E;
  --copper-soft: #F0A45A;
  --eco:         #2F6F9F;
  --steel:       #66717D;
  --line:        rgba(43, 47, 51, .12);
  --line-soft:   rgba(43, 47, 51, .07);
  --white:       #FFFFFF;

  /* Type */
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body:    "Inter", ui-sans-serif, system-ui, sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.75rem);
  --sec-pad: clamp(4.5rem, 9vw, 8rem);
  --radius: 16px;
  --radius-lg: 26px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--porcelain);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography helpers ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.06; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1.15rem;
}
.eyebrow-line { width: 30px; height: 1.5px; background: var(--copper); display: inline-block; }
.eyebrow-light { color: var(--copper-soft); }
.eyebrow-light .eyebrow-line { background: var(--copper-soft); }

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 3.15rem);
  max-width: 15ch;
}
.section-lead {
  margin-top: 1.1rem;
  max-width: 52ch;
  color: var(--steel);
  font-size: 1.08rem;
}

.section { padding-block: var(--sec-pad); }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: .98rem;
  padding: .95rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

.btn-primary { background: var(--teal); color: var(--white); box-shadow: 0 10px 26px -12px rgba(12,84,96,.8); }
.btn-primary:hover { background: var(--teal-deep); box-shadow: 0 16px 34px -12px rgba(12,84,96,.9); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s, backdrop-filter .3s;
}
/* transparent state over the dark hero → light text */
.site-header:not(.scrolled) .nav > a { color: #fff; }
.site-header:not(.scrolled) .nav-toggle { border-color: rgba(255,255,255,.35); }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }

.site-header.scrolled {
  background: color-mix(in srgb, var(--porcelain) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -20px rgba(14,28,30,.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}

/* Logo oben links – Rahmen schneidet den transparenten Rand von logo.png frei */
.brand {
  display: block;
  flex: none;
  width: clamp(168px, 17vw, 250px);
  aspect-ratio: 1208 / 358;
  overflow: hidden;
}
.brand-logo {
  width: 127.152%;                 /* 1536 / 1208 */
  max-width: none;
  height: auto;
  display: block;
  margin: -22.848% 0 0 -13.659%;   /* -276 / 1208 , -165 / 1208 */
}

.nav { display: flex; gap: 2rem; }
.nav a {
  font-size: .96rem;
  color: var(--ink);
  position: relative;
  padding: .25rem 0;
  transition: color .25s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--teal); }
.nav a:hover::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: .75rem; }

.header-cta .btn-phone { order: 1; }
.header-cta .nav-toggle { order: 2; }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--ink);
  color: var(--white);
  padding: .55rem 1.1rem;
  border-radius: 999px;
  line-height: 1.1;
  transition: transform .35s var(--ease), background .3s;
}
.btn-phone:hover { transform: translateY(-2px); background: var(--teal-deep); }
.btn-phone-label { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-soft); display: block; }
.btn-phone-num { font-family: var(--display); font-weight: 600; font-size: .95rem; display: block; }
.btn-phone > span:not(.pulse) { display: flex; flex-direction: column; }

/* Pulse dot */
.pulse {
  width: 9px; height: 9px; border-radius: 50%;
  background: #35D07F;
  position: relative;
  flex: none;
  box-shadow: 0 0 0 0 rgba(53,208,127,.6);
  animation: pulse 2.4s infinite;
}
.pulse-lg { width: 12px; height: 12px; }
.pulse-light { background: var(--copper-soft); box-shadow: 0 0 0 0 rgba(217,140,95,.6); animation: pulse-light 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(53,208,127,.55); }
  70% { box-shadow: 0 0 0 11px rgba(53,208,127,0); }
  100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); }
}
@keyframes pulse-light {
  0% { box-shadow: 0 0 0 0 rgba(217,140,95,.55); }
  70% { box-shadow: 0 0 0 12px rgba(217,140,95,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,140,95,0); }
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: 12px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (clean full-bleed) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -12% 0;               /* Überhöhe für Parallax ohne Kanten */
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg,
      rgba(8,20,22,.60) 0%,
      rgba(8,20,22,.42) 42%,
      rgba(8,20,22,.85) 100%),
    radial-gradient(120% 90% at 50% 30%, transparent 35%, rgba(8,20,22,.4) 100%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  padding-block: clamp(7rem, 14vh, 10rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow { justify-content: center; }
.hero-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.hero-tagline {
  margin-top: 1.4rem;
  max-width: 46ch;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; justify-content: center; }

.btn-ghost-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.55);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.hero-scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 20px;
  display: flex; justify-content: center;
}
.hero-scroll span {
  width: 4px; height: 8px; border-radius: 3px;
  background: #fff; margin-top: 7px;
  animation: scrollcue 1.8s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { opacity: 0; transform: translateY(-4px); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(11px); }
}

/* ---------- Spec / trust bar ---------- */
.specbar { background: var(--ink); color: var(--porcelain); }
.specbar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: clamp(2.4rem, 4vw, 3.4rem);
}
.spec-item { position: relative; padding-left: 1.4rem; }
.spec-item::before {
  content: ""; position: absolute; left: 0; top: .35rem; bottom: .35rem;
  width: 2px; background: var(--copper); border-radius: 2px;
}
.spec-num { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3.5vw, 2.7rem); display: block; letter-spacing: -.02em; }
.spec-cap { color: color-mix(in srgb, var(--porcelain) 70%, transparent); font-size: .92rem; }

/* ---------- Services: pipe list (signature) ---------- */
.pipe-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  position: relative;
}
.svc {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem 1.75rem;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .3s;
  overflow: hidden;
}
.svc::before { /* copper joint node – signature pipe motif */
  content: "";
  position: absolute; top: 1.55rem; right: 1.55rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--porcelain-2);
  border: 2px solid var(--copper);
  transition: background .3s, transform .3s;
}
.svc:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -35px rgba(8,54,59,.55);
  border-color: color-mix(in srgb, var(--teal) 40%, var(--line));
}
.svc:hover::before { background: var(--copper); transform: scale(1.15); }
.svc-idx {
  font-family: var(--display);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--copper);
}
.svc h3 { font-size: 1.32rem; margin: .55rem 0 .6rem; display: flex; align-items: center; gap: .5rem; }
.svc p { color: var(--steel); font-size: .98rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.15rem; }
.svc-tags li {
  font-size: .78rem;
  font-family: var(--display);
  padding: .28rem .7rem;
  border-radius: 999px;
  background: var(--porcelain);
  border: 1px solid var(--line-soft);
  color: var(--teal);
}
.svc-emergency { background: var(--teal-deep); color: var(--porcelain); border-color: transparent; }
.svc-emergency::before { background: var(--teal); border-color: var(--copper-soft); }
.svc-emergency .svc-idx { color: var(--copper-soft); }
.svc-emergency p { color: color-mix(in srgb, var(--porcelain) 78%, transparent); }
.svc-call { display: inline-block; margin-top: 1.15rem; font-family: var(--display); font-weight: 500; color: var(--copper-soft); transition: gap .3s, color .3s; }
.svc-call:hover { color: var(--white); }

/* ---------- About / Betrieb ---------- */
.about-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 40px 80px -45px rgba(8,54,59,.55);
}
.about-badge {
  position: absolute; right: -16px; bottom: 30px;
  background: var(--copper);
  color: var(--white);
  padding: 1rem 1.3rem;
  border-radius: 16px;
  box-shadow: 0 24px 50px -26px rgba(190,110,67,.7);
}
.about-badge-num { font-family: var(--display); font-weight: 700; font-size: 1.4rem; display: block; line-height: 1; }
.about-badge-cap { font-size: .8rem; opacity: .9; }

.about-copy p { color: var(--steel); margin-top: 1.1rem; max-width: 54ch; }
.values { margin-top: 2.2rem; display: grid; gap: 1.4rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; }
.value-mark {
  flex: none; margin-top: .35rem;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--copper);
  position: relative;
}
.value-mark::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--teal); }
.values strong { font-family: var(--display); font-size: 1.08rem; }
.values p { margin-top: .15rem; font-size: .95rem; }

/* ---------- Nachhaltigkeit / Ökologie ---------- */
.eco { background: var(--porcelain-2); }
.eyebrow-eco { color: var(--eco); }
.eyebrow-eco .eyebrow-line { background: var(--eco); }
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.eco-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem 1.6rem;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.eco-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -35px rgba(48,110,80,.5); }
.eco-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: color-mix(in srgb, var(--eco) 14%, #fff);
  color: var(--eco);
  margin-bottom: 1rem;
}
.eco-ico svg { width: 24px; height: 24px; }
.eco-stat {
  display: block;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -.02em;
  color: var(--eco);
  line-height: 1;
}
.eco-card h3 { font-size: 1.1rem; margin: .55rem 0 .5rem; }
.eco-card p { color: var(--steel); font-size: .95rem; }

/* ---------- Process / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 2rem 1.5rem 1.7rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--porcelain);
  border: 1.5px solid var(--copper);
  font-family: var(--display); font-weight: 700; font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.step p { color: var(--steel); font-size: .95rem; }

/* ---------- Emergency band ---------- */
.emergency-band {
  background:
    radial-gradient(120% 140% at 85% 0%, var(--teal) 0%, var(--teal-deep) 55%, #062a2e 100%);
  color: var(--porcelain);
  position: relative;
  overflow: hidden;
}
.emergency-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 15% 0%, rgba(190,110,67,.22), transparent 60%);
}
.emergency-inner {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 5rem);
}
.emergency-title { font-size: clamp(1.7rem, 3.4vw, 2.7rem); max-width: 18ch; }
.emergency-lead { margin-top: .9rem; max-width: 46ch; color: color-mix(in srgb, var(--porcelain) 78%, transparent); }
.btn-emergency {
  background: var(--copper);
  color: var(--white);
  padding: 1.1rem 1.8rem;
  border-radius: 16px;
  gap: .9rem;
  box-shadow: 0 24px 50px -22px rgba(190,110,67,.8);
}
.btn-emergency:hover { background: var(--copper-soft); transform: translateY(-3px); }
.be-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; display: block; opacity: .9; }
.be-num { font-family: var(--display); font-weight: 700; font-size: 1.4rem; display: block; }
.btn-emergency > span { display: flex; flex-direction: column; }

/* ---------- Quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.6rem;
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--display);
  font-size: 4.2rem; line-height: 1;
  color: var(--copper);
  opacity: .35;
  position: absolute; top: .4rem; left: 1.2rem;
}
.quote blockquote { font-size: 1.05rem; margin-top: 1.6rem; }
.quote figcaption { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote figcaption strong { font-family: var(--display); display: block; }
.quote figcaption span { font-size: .85rem; color: var(--steel); }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-list { margin-top: 2.2rem; display: grid; gap: 1.1rem; }
.contact-list li {
  display: flex; flex-direction: column;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.ci-label { font-family: var(--display); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: .25rem; }
.contact-list a, .contact-list li > span:last-child { font-size: 1.15rem; font-family: var(--display); }
.contact-list a:hover { color: var(--teal); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 40px 80px -50px rgba(8,54,59,.5);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-family: var(--display); font-size: .82rem; font-weight: 500; margin-bottom: .4rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit;
  padding: .8rem .95rem;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--porcelain);
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s, background .25s;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(12,84,96,.12);
}
.form-note {
  margin-top: 1rem; padding: .85rem 1rem;
  background: color-mix(in srgb, var(--teal) 12%, var(--white));
  border-radius: 11px; color: var(--teal-deep);
  font-family: var(--display); font-weight: 500; font-size: .95rem;
}
.form-hint { margin-top: .9rem; font-size: .8rem; color: var(--steel); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--porcelain); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.75rem;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand .brand-mark { display: inline-flex; }
.footer-brand strong { font-family: var(--display); display: block; }
.footer-brand span { font-size: .85rem; color: color-mix(in srgb, var(--porcelain) 65%, transparent); }
.footer-nav { display: flex; gap: 1.6rem; }
.footer-nav a { color: color-mix(in srgb, var(--porcelain) 80%, transparent); font-size: .95rem; transition: color .25s; }
.footer-nav a:hover { color: var(--copper-soft); }
.footer-meta { display: flex; flex-direction: column; text-align: right; font-size: .85rem; color: color-mix(in srgb, var(--porcelain) 65%, transparent); gap: .2rem; }
.footer-credit { color: var(--copper-soft); }

/* ---------- Reveal animation (Fallback ohne GSAP) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* GSAP übernimmt: CSS-Fallback neutralisieren */
.gsap-on .reveal { opacity: 1; transform: none; transition: none; }
/* Transform gehört GSAP (magnetische Buttons) – CSS glättet nur Farben */
.gsap-on .btn, .gsap-on .btn-phone {
  transition-property: background, color, border-color, box-shadow;
}

/* ---------- Intro-Overlay (nur mit GSAP sichtbar) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--ink);
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 1.3rem;
}
.gsap-on .intro { display: flex; }
.intro-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro-word {
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

/* ---------- Hero-Headline Split (von animations.js erzeugt) ---------- */
.hero-name .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;   /* Unterlängen nicht abschneiden */
  margin-bottom: -.08em;
}
.hero-name .c { display: inline-block; will-change: transform; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  padding-block: clamp(1.6rem, 3.5vw, 2.6rem);
  border-block: 1px solid var(--line);
  background: var(--porcelain);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  letter-spacing: -.01em;
  white-space: nowrap;
  padding-right: 2.5rem;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(14, 28, 30, .5);
}
.marquee-track span::after { content: " ·"; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Anker-Offset unter fixiertem Header ---------- */
section[id] { scroll-margin-top: 84px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 440px; }
  .contact-inner { grid-template-columns: 1fr; }
  .pipe-list, .quote-grid, .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .specbar-inner { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}

@media (max-width: 780px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-phone span.btn-phone-label { display: none; }
  .btn-phone-num { font-size: .9rem; }
  .btn-phone { padding: .6rem 1rem; }
}

@media (max-width: 560px) {
  .pipe-list, .quote-grid, .steps, .eco-grid { grid-template-columns: 1fr; }
  .footer-inner, .footer-meta { text-align: left; }
  .footer-meta { align-items: flex-start; }

  /* Header: kompakt – die Call-Leiste unten übernimmt den Anruf-CTA */
  .btn-phone { display: none; }

  /* Hero: mehr Wucht auf kleinen Screens */
  .hero-name { font-size: clamp(3.2rem, 15vw, 4.6rem); }
  .hero-tagline { font-size: 1.05rem; max-width: 34ch; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }
  .hero-actions .btn { width: 100%; }

  /* Formular: Felder untereinander */
  .field-row { grid-template-columns: 1fr; }

  /* Notdienst-Button volle Breite */
  .btn-emergency { width: 100%; }
  .emergency-inner > .reveal { width: 100%; }

  /* Badge nicht über den Rand */
  .about-badge { right: 10px; }
  .hero-status { left: 6px; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
}

/* ---------- Mobile-Menü (Vollbild, Kreis-Reveal vom Burger aus) ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background:
    radial-gradient(120% 120% at 85% 8%, var(--teal-deep) 0%, var(--ink) 62%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 118px var(--gutter) calc(30px + env(safe-area-inset-bottom));
  clip-path: circle(0% at calc(100% - 46px) 46px);
  visibility: hidden;
  pointer-events: none;
  transition: clip-path .6s var(--ease), visibility 0s linear .6s;
}
.mobile-menu.open {
  clip-path: circle(150% at calc(100% - 46px) 46px);
  visibility: visible;
  pointer-events: auto;
  transition: clip-path .6s var(--ease);
}
@media (min-width: 781px) { .mobile-menu { display: none; } }

.mm-links { display: flex; flex-direction: column; }
.mm-links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.9rem, 8vw, 2.5rem);
  letter-spacing: -.01em;
  color: var(--porcelain);
  padding: .42rem 0;
  display: flex;
  align-items: baseline;
  gap: .9rem;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mm-links a i {
  font-style: normal;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--copper-soft);
}
.mm-links a:active { color: var(--copper-soft); }
.mobile-menu.open .mm-links a:nth-child(1) { transition-delay: .16s; }
.mobile-menu.open .mm-links a:nth-child(2) { transition-delay: .22s; }
.mobile-menu.open .mm-links a:nth-child(3) { transition-delay: .28s; }
.mobile-menu.open .mm-links a:nth-child(4) { transition-delay: .34s; }
.mobile-menu.open .mm-links a:nth-child(5) { transition-delay: .40s; }
.mobile-menu.open .mm-links a:nth-child(6) { transition-delay: .46s; }
.mobile-menu.open .mm-links a { opacity: 1; transform: none; }

.mm-extra {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease) .5s, transform .5s var(--ease) .5s;
}
.mobile-menu.open .mm-extra { opacity: 1; transform: none; }
.mm-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--display); font-weight: 600; font-size: 1.35rem;
  color: var(--copper-soft);
}
.mm-mail { color: rgba(255,255,255,.85); font-size: .98rem; }
.mm-hours { color: rgba(255,255,255,.55); font-size: .85rem; }

/* Header über dem offenen Menü: transparent + helle Schrift */
.menu-open .site-header,
.menu-open .site-header.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.menu-open .site-header .brand-name { color: #fff; }
.menu-open .site-header .brand-sub { color: rgba(255,255,255,.72); }
.menu-open .site-header .nav-toggle { border-color: rgba(255,255,255,.35); }
.menu-open .site-header .nav-toggle span { background: #fff; }
.menu-open .site-header .btn-phone { opacity: 0; pointer-events: none; }

/* ---------- Mobile Call-Leiste ---------- */
.callbar {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.55);
  transform: translateY(150%);
  transition: transform .45s var(--ease);
}
.callbar.show { transform: none; }
.menu-open .callbar { transform: translateY(150%); }
.callbar-label {
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--copper-soft);
}
.callbar-num { font-family: var(--display); font-size: 1.08rem; font-weight: 600; }
@media (max-width: 780px) { .callbar { display: flex; } }

/* ---------- Touch-Feedback ---------- */
html { -webkit-tap-highlight-color: transparent; }
@media (pointer: coarse) {
  .btn:active, .callbar:active { transform: scale(.96); transition-duration: .12s; }
  .svc:active, .eco-card:active, .quote:active, .step:active { transform: scale(.985); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Markenauftritt ---------- */
.site-header:not(.scrolled) .nav > a { color: var(--ink); }
.site-header:not(.scrolled) .nav-toggle { border-color: var(--line); }
.site-header:not(.scrolled) .nav-toggle span { background: var(--ink); }

.hero {
  background: #eceff3;              /* Fallback, solange das Foto lädt */
  color: var(--ink);
}
/* Hintergrundfoto kommt aus index.html bzw. content.js via --bg-image */
.hero-bg {
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
}
/* Kein Schleier – das Foto liegt unverfälscht im Hero */
.hero-overlay { display: none; }
.hero-inner { max-width: 1040px; }
.hero-eyebrow { color: var(--steel); }
.hero-eyebrow .eyebrow-line { background: var(--teal); }

/* logo.png ist 1536x1024 mit viel transparentem Rand.
   Sichtbare Marke liegt bei x 165–1372 / y 276–633 → 1208x358.
   Der Rahmen schneidet exakt diesen Ausschnitt frei.
   (%-Margins beziehen sich auf die Rahmenbreite – auch margin-top.) */
.alp-hero-logo {
  width: min(90vw, 780px);
  aspect-ratio: 1208 / 358;
  overflow: hidden;
}
.alp-logo-hero-img {
  width: 127.152%;                 /* 1536 / 1208 */
  max-width: none;
  height: auto;
  display: block;
  margin: -22.848% 0 0 -13.659%;   /* -276 / 1208 , -165 / 1208 */
}
.alp-mountain {
  width: min(72vw, 460px);
  height: auto;
  margin-bottom: clamp(.4rem, 1.5vw, .9rem);
}
.alp-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.7rem, 1.8vw, 1.3rem);
}
.alp-symbols {
  display: inline-flex;
  align-items: center;
  gap: .28rem;
  transform: translateY(.08em);
}
.alp-symbols svg {
  width: clamp(1.25rem, 3vw, 2.05rem);
  height: clamp(1.25rem, 3vw, 2.05rem);
  flex: none;
}
.alp-subline {
  margin-top: clamp(.55rem, 1.2vw, .9rem);
  color: var(--steel);
  font-family: var(--display);
  font-size: clamp(.92rem, 1.9vw, 1.25rem);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-name {
  font-weight: 700;
  font-size: clamp(2.05rem, 6.3vw, 5.4rem);
  line-height: .96;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: var(--ink);
  text-shadow: none;
}
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.hero-tagline {
  margin-top: 1.8rem;
  max-width: 58ch;
  color: var(--steel);
}
.btn-ghost-light {
  background: #fff;
  color: var(--teal);
  border-color: rgba(11,31,58,.22);
  backdrop-filter: none;
}
.btn-ghost-light:hover {
  background: var(--porcelain-2);
  border-color: var(--teal);
}
.hero-scroll {
  border-color: rgba(11,31,58,.35);
}
.hero-scroll span {
  background: var(--teal);
}

/* Header-Logo: gleicher Freistell-Ausschnitt aus logo.png */
.header-logo {
  aspect-ratio: 1208 / 358;
  overflow: hidden;
}
.header-logo img {
  width: 127.152%;
  max-width: none;
  margin: -22.848% 0 0 -13.659%;
}

@media (max-width: 780px) {
  .brand-name { font-size: .82rem; }
  .header-logo {
    width: 132px;
  }
  .btn-phone {
    display: none;
  }
  .alp-title-row {
    display: grid;
    justify-items: center;
    gap: .65rem;
  }
  .alp-symbols { transform: none; }
}

@media (max-width: 1060px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 560px) {
  .hero-name { font-size: clamp(2rem, 10.5vw, 3.4rem); }
  .alp-hero-logo { width: min(92vw, 520px); }
  .alp-mountain { width: min(86vw, 360px); }
  .alp-subline {
    max-width: 26ch;
    line-height: 1.5;
    letter-spacing: .14em;
  }
}
