/* ── Schriften ── */
@font-face {
  font-family: 'Graebenbach';
  src: url('schriften/Graebenbach-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Graebenbach';
  src: url('schriften/Graebenbach-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Graebenbach';
  src: url('schriften/Graebenbach-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Rosart';
  src: url('schriften/Rosart-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Rosart';
  src: url('schriften/Rosart-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-black:   #0d0d0d;
  --c-dark:    #1a1a1a;
  --c-mid:     #555;
  --c-light:   #f5f4f2;
  --c-white:   #ffffff;
  --c-border:  #e0ddd9;
  --font-serif: 'Graebenbach', Georgia, sans-serif;
  --font-sans:  'Rosart', Georgia, serif;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--c-dark);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.7; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
}
.btn--light {
  color: var(--c-white);
  border-color: var(--c-white);
}
.btn--light:hover {
  background: var(--c-white);
  color: var(--c-black);
  opacity: 1;
}
.btn--dark {
  color: var(--c-dark);
  border-color: var(--c-dark);
  background: transparent;
  width: 100%;
  padding: 1rem;
}
.btn--dark:hover {
  background: var(--c-dark);
  color: var(--c-white);
  opacity: 1;
}

/* ── Section titles ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 0.5rem;
}
.section-sub {
  color: var(--c-mid);
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 3rem;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.nav__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.nav__sub {
  font-size: 0.75rem;
  color: var(--c-mid);
  font-weight: 300;
}
.nav__sub a { color: var(--c-mid); }
.nav__links {
  display: flex;
  gap: 2.5rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #2a2a2a 0%, #4a4a48 50%, #1a1a1a 100%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 60%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  color: var(--c-white);
}
.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 1rem;
}
.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  max-width: 14ch;
}
.hero__sub {
  font-size: 1rem;
  font-weight: 300;
  opacity: 0.85;
  max-width: 46ch;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ── INTRO ── */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
  align-items: start;
}
.intro__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.intro__text p {
  color: var(--c-mid);
  line-height: 1.8;
  font-weight: 300;
  font-size: 0.95rem;
}
.intro__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0.5rem;
}
.intro__detail {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: 0.9rem;
  font-weight: 300;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--c-border);
}
.intro__detail:last-child { border-bottom: none; }
.intro__num {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--c-mid);
  flex-shrink: 0;
  width: 2rem;
}

/* ── PORTFOLIO ── */
.portfolio {
  background: var(--c-light);
  padding: 6rem 0;
}
.portfolio .container { margin-bottom: 0; }
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 340px;
  gap: 3px;
  margin-top: 3rem;
}
.portfolio__item--wide {
  grid-column: span 2;
}
.portfolio__placeholder {
  width: 100%;
  height: 100%;
  background: #d8d5d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.3s;
}
.portfolio__item:hover .portfolio__placeholder {
  background: #ccc9c4;
}

/* ── LEISTUNGEN ── */
.leistungen {
  padding: 6rem 2rem;
}
.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.leistung {
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.leistung h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.leistung p {
  font-size: 0.875rem;
  color: var(--c-mid);
  line-height: 1.75;
  font-weight: 300;
}

/* ── DOWNLOADS ── */
.downloads {
  padding: 6rem 2rem;
  border-top: 1px solid var(--c-border);
}
.downloads__grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.download-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--c-border);
  transition: background 0.2s;
  cursor: pointer;
}
.download-card:first-child { border-top: 1px solid var(--c-border); }
.download-card:hover { opacity: 1; }
.download-card:hover .download-card__title { text-decoration: underline; text-underline-offset: 3px; }
.download-card__icon {
  color: var(--c-mid);
  flex-shrink: 0;
  display: flex;
}
.download-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}
.download-card__title {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--c-dark);
}
.download-card__meta {
  font-size: 0.75rem;
  color: var(--c-mid);
  font-weight: 300;
  letter-spacing: 0.03em;
}
.download-card__arrow {
  font-size: 1.1rem;
  color: var(--c-mid);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.download-card:hover .download-card__arrow {
  transform: translateY(2px);
}

/* ── KONTAKT ── */
.kontakt {
  background: var(--c-dark);
  color: var(--c-white);
  padding: 6rem 2rem;
}
.kontakt__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.kontakt__info h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 1rem;
}
.kontakt__info > p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 38ch;
  margin-bottom: 2.5rem;
}
.kontakt__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.kontakt__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.2rem;
}
.kontakt__value {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--c-white);
}
.kontakt__back {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.kontakt__back a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Form */
.kontakt__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form__group label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.form__group input,
.form__group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--c-white);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}
.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form__group input:focus,
.form__group textarea:focus {
  border-color: rgba(255,255,255,0.5);
}
.btn--dark.btn--form {
  color: var(--c-white);
  border-color: rgba(255,255,255,0.4);
}

.kontakt .btn--dark {
  color: var(--c-white);
  border-color: rgba(255,255,255,0.4);
  background: transparent;
}
.kontakt .btn--dark:hover {
  background: var(--c-white);
  color: var(--c-dark);
}

/* ── FOOTER ── */
.footer {
  padding: 2rem;
  border-top: 1px solid var(--c-border);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--c-mid);
  font-weight: 300;
  gap: 1rem;
}
.footer__inner a { color: var(--c-mid); }
.footer__inner a:hover { color: var(--c-dark); opacity: 1; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; gap: 2.5rem; }
  .leistungen__grid { grid-template-columns: repeat(2, 1fr); }
  .kontakt__inner { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .portfolio__item--wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .nav__links { display: none; }
  .portfolio__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .portfolio__item--wide { grid-column: span 1; }
  .leistungen__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
