:root {
  --bg: #14120b;
  --bg-soft: #231d11;
  --bg-alt: #3a2f1b;
  --surface: rgba(35, 28, 16, 0.74);
  --text: #f5f6ef;
  --text-muted: #e2d7bf;
  --accent: #cda35a;
  --accent-strong: #e0c890;
  --line: rgba(224, 200, 144, 0.28);
  --header-height: 80px;
  --max-content: 1120px;
}

@font-face {
  font-family: 'Oswald';
  src: url('../fonts/Oswald-Variable.ttf') format('truetype');
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

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

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #6a5531 0%, var(--bg) 52%);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 2.5vw, 2.6rem);
  background: linear-gradient(180deg, rgba(20, 17, 10, 0.92), rgba(20, 17, 10, 0.44));
  backdrop-filter: blur(4px);
}

.brand {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-strong);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(78vw, 620px);
}

.site-nav {
  display: flex;
  gap: 1.2rem;
}

.site-nav a {
  font-size: 0.98rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
  background: var(--accent);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: rgba(10, 16, 12, 0.7);
  color: var(--text);
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  padding: clamp(6rem, 9vw, 8.5rem) clamp(1rem, 4vw, 4rem) clamp(3.5rem, 8vw, 6rem);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(7, 10, 8, 0.3) 20%, rgba(7, 10, 8, 0.82) 78%),
    url('../../images/background01.jpg') center/cover no-repeat;
  transform-origin: center;
  animation: heroScale 18s ease-out forwards;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: min(58ch, 100%);
  padding: clamp(1rem, 3vw, 2.2rem);
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, rgba(5, 8, 6, 0.66), rgba(5, 8, 6, 0.18));
}

.hero-eybrown{
    line-height: 0.8;
}
.eyebrow {
    margin: 0 0 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    color: var(--accent-strong);
    
}
.main-header{
    line-height: 1.0;
}
h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    line-height: 0.95;
    margin: 0;
    font-weight: 600;
    margin-bottom: 0.6em;
}

h1 {
  font-size: clamp(2rem, 6vw, 4.3rem);
  margin-bottom: 1rem;
}

.hero p {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text);
}

.hero-actions {
  margin-top: 1.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--accent);
  color: #241b0f;
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--accent-strong);
}

.btn-outline {
  border-color: var(--line);
  background: rgba(12, 17, 13, 0.65);
  color: var(--text);
}

.content-section,
.cta {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 3vw, 2rem);
}

.content-section.alt {
  background: linear-gradient(160deg, rgba(16, 24, 19, 0.95), rgba(12, 17, 14, 0.7));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-head {
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.1rem;
  margin-bottom: -0.6rem;
}

.section-head h2,
.cta h2,
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.text-columns {
  columns: 2 320px;
  column-gap: clamp(1.2rem, 2vw, 2.2rem);
}

.text-columns p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  break-inside: avoid;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

.image-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(1rem, 3vw, 2rem);
}

.image-strip figure {
  margin: 0;
  min-height: clamp(250px, 36vw, 460px);
  overflow: hidden;
}

.image-strip img {
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease;
}

.image-strip figure:hover img {
  transform: scale(1.06);
}

.cta {
  text-align: center;
  padding-top: clamp(2.2rem, 4vw, 4rem);
  padding-bottom: clamp(3.6rem, 7vw, 6rem);
}

.cta p {
  color: var(--text-muted);
  margin: 0.6rem auto 1.4rem;
  max-width: 42ch;
}

.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem) 2rem;
  color: var(--accent-strong);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.98em;
}

.footer-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent-strong);
}

.page-hero {
  padding: clamp(6rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 6vw, 4rem);
  min-height: 48vh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(6, 9, 8, 0.45), rgba(6, 9, 8, 0.88)), url('../../images/background01.jpg') center/cover no-repeat;
}

.page-hero .inner {
  position: relative;
  max-width: var(--max-content);
  margin: 0 auto;
  width: 100%;
}

.page-hero p {
  max-width: 56ch;
  color: var(--text-muted);
  font-size: clamp(1.03rem, 2vw, 1.2rem);
}

.portfolio-categories {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2.2vw, 1.8rem);
  padding-top: clamp(1rem, 2.2vw, 1.8rem);
  padding-bottom: clamp(2.8rem, 6vw, 5rem);
}

.portfolio-category-section {
  background: linear-gradient(160deg, rgba(16, 24, 19, 0.95), rgba(12, 17, 14, 0.7));
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.portfolio-category-section .gallery-grid {
  margin-top: 0.9rem;
}

.portfolio-wrap,
.impressum-wrap {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2rem) clamp(4rem, 6vw, 6rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: clamp(0.7rem, 1.8vw, 1rem);
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #0b100d;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item button {
  all: unset;
  cursor: zoom-in;
  display: block;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05);
  transition: transform 450ms ease, filter 450ms ease;
}

.gallery-item:hover img,
.gallery-item button:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.18);
}

.gallery-empty,
.gallery-loading {
  padding: 1rem;
  border: 1px solid var(--line);
  color: var(--text-muted);
  background: rgba(10, 14, 11, 0.7);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid var(--line);
  background: rgba(13, 19, 15, 0.85);
  color: var(--text);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

.impressum-block {
  background: rgba(31, 25, 15, 0.74);
  border: 1px solid var(--line);
  padding: clamp(1rem, 3vw, 1.6rem);
  margin-bottom: 1rem;
}

.impressum-block h2 {
  margin-bottom: 0.6rem;
}

.impressum-block p,
.impressum-block li {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroScale {
  from {
    transform: scale(1.07);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 72px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    flex-direction: column;
    min-width: 220px;
    padding: 0.9rem;
    background: rgba(7, 11, 9, 0.96);
    border: 1px solid var(--line);
    transform: scale(0.98);
    opacity: 0;
    visibility: hidden;
    transform-origin: top right;
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .site-header.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .text-columns {
    columns: 1;
  }

  .image-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
#kontakt{
    margin-bottom: 3em;
}
