/* =============================================
   FONTS (lokal, DSGVO-konform)
   ============================================= */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/barlow-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/barlow-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/barlow-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --c-red:     #E8150F;  /* Regal Red – Markenakzent */
  --c-black:   #111111;  /* Fast-Schwarz – Footer, Stamps */
  --c-dark:    #1C1C1C;  /* Dunkelgrau – Sektionshintergründe */
  --c-grey:    #5E5E5E;  /* Grau – Fließtext (WCAG AA auf Weiß) */
  --c-white:   #FFFFFF;  /* Weiß */
  --c-bg:      #F2F2F2;  /* Heller Seitenhintergrund */
  --c-bg-alt:  #E2E2E2;  /* Alternativer Hintergrund */
  --c-border:  #D0D0D0;  /* Rahmenfarbe */

  --font-main:   'Barlow', system-ui, sans-serif;

  --radius:    3px;
  --nav-h:     68px;
  --trans:     0.3s ease;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.12);
  --shadow-md: 0 8px 32px rgba(0,0,0,.18);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.22);
}

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

html { scroll-behavior: smooth; background: #F2F2F2; }

/* Nav-Offset beim Anker-Sprung, damit Headings nicht hinter der Nav liegen */
section[id], [id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Sichtbarer Tastatur-Fokus */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--c-red);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* Skip-Link: unsichtbar bis Fokus (Tastatur) */
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 200;
  background: var(--c-black);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  transition: top var(--trans);
}
.skip-link:focus { top: 12px; }

/* Respekt für reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  font-family: var(--font-main);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--c-black);
  background: var(--c-bg);
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.section-label--light {
  color: rgba(232,21,15,.85);
}

.section-title {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--c-black);
}
.section-title--light {
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-main);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--trans);
  border: 2px solid transparent;
  border-radius: var(--radius);
}

.btn--gold {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red);
}
.btn--gold:hover {
  background: #C4100B;
  border-color: #C4100B;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,21,15,.4);
}

.btn--wire {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.btn--wire:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

.btn--dark {
  background: var(--c-black);
  color: #fff;
  border-color: var(--c-black);
}
.btn--dark:hover {
  background: var(--c-dark);
  border-color: var(--c-dark);
  transform: translateY(-2px);
}


/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--trans), box-shadow var(--trans);
}

.nav.scrolled {
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}

.nav__wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity var(--trans);
}

/* Auf dunklem Hintergrund (Hero): hellere Logo-Variante */
.nav__logo--dark  { display: block; }
.nav__logo--light { display: none; }

/* Nach Scrollen (weißer Hintergrund): dunklere Logo-Variante */
.nav.scrolled .nav__logo--dark  { display: none; }
.nav.scrolled .nav__logo--light { display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--trans), background var(--trans);
}
.nav__link:hover { color: #fff; background: rgba(255,255,255,.1); }

.nav.scrolled .nav__link       { color: var(--c-black); }
.nav.scrolled .nav__link:hover { color: var(--c-dark); background: rgba(0,0,0,.07); }

.nav__link--cta {
  background: var(--c-red);
  color: #fff !important;
  padding: 9px 22px;
}
.nav__link--cta:hover {
  background: #C4100B !important;
  color: #fff !important;
}


/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Full-bleed photo background */
.hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}

/* Diagonal panel – angled dark-to-transparent */
.hero__panel {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    rgba(17, 17, 17, 0.97) 0%,
    rgba(17, 17, 17, 0.94) 40%,
    rgba(17, 17, 17, 0.60) 58%,
    rgba(17, 17, 17, 0.0) 72%
  );
}

/* Red accent line */
.hero__panel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56%;
  width: 3px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(232,21,15,.0) 5%,
    rgba(232,21,15,.9) 30%,
    rgba(232,21,15,1)  50%,
    rgba(232,21,15,.9) 70%,
    rgba(232,21,15,.0) 95%,
    transparent 100%
  );
  transform: rotate(7deg);
  transform-origin: center;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 32px;
  max-width: 680px;
  margin-left: max(32px, calc(50vw - 600px + 32px));
}

.hero__eyebrow {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-red);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--c-red);
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: .02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__sub {
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  font-weight: 400;
  color: rgba(255,255,255,.78);
  margin-bottom: 44px;
  line-height: 1.65;
  max-width: 420px;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  transition: color var(--trans), transform var(--trans);
  z-index: 1;
  animation: heroDown 2.4s ease-in-out infinite;
}
.hero__down:hover { color: rgba(255,255,255,.9); }

@keyframes heroDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}


/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--c-white);
  background-image: radial-gradient(circle, rgba(0,0,0,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* Vertical "years" stamp on the image */
.about__years {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--c-black);
  color: #fff;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.about__years-num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: var(--c-red);
  line-height: 1;
}
.about__years-label {
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

.about__body {
  padding-top: 8px;
  position: relative;
}

/* Ghost-Wort als dekoratives Hintergrundelement */
.about__body::before {
  content: 'HOLZ';
  position: absolute;
  top: -24px;
  right: -24px;
  font-size: clamp(7rem, 12vw, 11rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
  color: rgba(0,0,0,.055);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  overflow: hidden;
}

.about__body > * {
  position: relative;
  z-index: 1;
}

.about__body .section-title {
  margin-bottom: 20px;
  margin-top: 8px;
}

.about__quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--c-grey);
  border-left: 3px solid var(--c-red);
  padding-left: 20px;
  margin-bottom: 28px;
}

.about__body p {
  color: var(--c-grey);
  margin-bottom: 14px;
  font-size: .95rem;
}

.about__quals {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about__quals li {
  font-size: .875rem;
  font-weight: 500;
  color: var(--c-black);
  display: flex;
  align-items: center;
  gap: 10px;
}
.about__quals li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--c-red);
  flex-shrink: 0;
}

/* =============================================
   SERVICES
   ============================================= */
.services {
  background: var(--c-dark);
  background-image:
    repeating-linear-gradient(
      -55deg,
      transparent 0px,
      transparent 22px,
      rgba(255,255,255,.04) 22px,
      rgba(255,255,255,.04) 23px
    );
  border-top: 3px solid var(--c-red);
}

.services__head {
  margin-bottom: 64px;
}
.services__head .section-title {
  margin-top: 8px;
}
.services__intro {
  margin-top: 16px;
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  max-width: 540px;
}
.services__more {
  margin-top: 56px;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .95rem;
  font-style: italic;
}

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

.service-card {
  padding: 40px 36px 40px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
  transition: background var(--trans);
}
.service-card:hover {
  background: rgba(255,255,255,.04);
}

/* vertical divider between columns */
.service-card:not(:nth-child(3n+1)) {
  padding-left: 36px;
  border-left: 1px solid rgba(255,255,255,.12);
}

.svc-num {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-red);
  margin-bottom: 18px;
}

.svc-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.svc-body p {
  font-size: .875rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio {
  background: var(--c-bg-alt);
}
.portfolio .section-header {
  text-align: left;
  margin-bottom: 48px;
}
.portfolio .section-label { color: var(--c-red); }
.portfolio .section-title { color: var(--c-black); }

/* Portfolio grid – uniform 4:3 tiles */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.portfolio__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  counter-increment: portfolio-counter;
  aspect-ratio: 4 / 3;
}

.portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s cubic-bezier(.25,.46,.45,.94);
  filter: saturate(.88);
}
.portfolio__item:hover img {
  transform: scale(1.06);
  filter: saturate(1.12);
}

/* Index number – always visible, subtle */
.portfolio__item::after {
  content: counter(portfolio-counter, decimal-leading-zero);
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.75);
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

.portfolio__cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 18px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.82));
  color: #fff;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  z-index: 2;
  transition: padding .4s ease;
}
.portfolio__item:hover .portfolio__cap {
  padding-bottom: 20px;
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--c-dark);
  padding: 96px 0;
  border-top: 3px solid var(--c-red);
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Left: headline + CTA */
.contact__headline .section-title {
  margin-top: 8px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
}

.contact__sub {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 380px;
}

/* Right: contact detail items in 2×2 grid */
.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}

.cdt {
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity var(--trans);
}
a.cdt:hover { opacity: .75; }

.cdt__label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-red);
}

.cdt__val {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
}

/* =============================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================= */
.legal-hero {
  background: var(--c-black);
  padding: calc(var(--nav-h) + 56px) 0 56px;
  border-bottom: 3px solid var(--c-red);
}

.legal-hero .section-label {
  margin-bottom: 12px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  line-height: 1.1;
}

.legal-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-grey);
  text-transform: uppercase;
  margin-bottom: 52px;
  transition: color var(--trans);
}
.legal-back:hover { color: var(--c-black); }

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-black);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}

.legal-content h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-black);
  margin: 24px 0 8px;
}

.legal-content p {
  font-size: .925rem;
  color: var(--c-grey);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 8px 0 14px 20px;
  list-style: disc;
}
.legal-content ul li {
  font-size: .925rem;
  color: var(--c-grey);
  line-height: 1.7;
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--c-black);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--c-red); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--c-black);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer p { font-size: .82rem; color: rgba(255,255,255,.7); }

.footer__links {
  display: flex;
  gap: 24px;
}
.footer__links a {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  transition: color var(--trans);
}
.footer__links a:hover { color: #fff; }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-in {
  animation: fadeIn .9s ease both;
  animation-delay: .1s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .about__grid         { grid-template-columns: 1fr; gap: 48px; }
  .about__img-col      { max-width: 480px; }
  .services__grid      { grid-template-columns: repeat(2, 1fr); }
  /* fix borders for 2-column */
  .service-card:nth-child(3n+1) { padding-left: 0; border-left: none; }
  .service-card:not(:nth-child(2n+1)) {
    padding-left: 36px;
    border-left: 1px solid rgba(255,255,255,.12);
  }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }

  /* Nav: halbtransparent über Hero, weiß beim Scrollen */
  .nav { background: rgba(17,17,17,.7) !important; box-shadow: none !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .nav.scrolled { background: var(--c-white) !important; box-shadow: var(--shadow-sm) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav__links li:not(:last-child) { display: none; }

  /* ── Mobile Hero: bild oben, text unten ── */
  .hero {
    align-items: flex-end;
  }
  .hero__photo {
    background-image: url('../img/kramper_mobile.webp') !important;
    background-position: center center;
  }
  .hero__panel {
    background: linear-gradient(
      to top,
      rgba(17, 17, 17, 0.97) 0%,
      rgba(17, 17, 17, 0.90) 45%,
      rgba(17, 17, 17, 0.40) 72%,
      rgba(17, 17, 17, 0.05) 100%
    );
  }
  .hero__panel::after { display: none; }
  .hero__content {
    margin-left: 0;
    max-width: 100%;
    padding: 0 24px 88px;
    width: 100%;
  }
  .hero__title { font-size: clamp(3rem, 14vw, 5rem); }
  .hero__sub   { max-width: 100%; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card   { padding: 32px 0; border-left: none !important; padding-left: 0 !important; }

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

  /* Contact stacks vertically */
  .contact__inner   { grid-template-columns: 1fr; gap: 48px; }
  .contact__details { grid-template-columns: 1fr 1fr; }

  .about__body::before { display: none; }
  .legal-content { padding: 48px 20px 72px; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 540px) {
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  .hero__btns .btn  { flex: 1; text-align: center; }
  .about__img-col   { max-width: 100%; }
  .contact__details { grid-template-columns: 1fr; gap: 28px; }
}
