/* =========================================================
   Marlon Tramèr — Fotografie
   Stylesheet. Alle Farben und Abstände zentral hier oben.
   ========================================================= */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('../fonts/newsreader-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../fonts/karla-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../fonts/karla-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Karla'; src: url('../fonts/karla-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Farben, Schriften, Seitenrand ---------- */
:root {
  --bg: #FAF7F2;
  --ink: #1B1815;
  --muted: #57503F;
  --soft: #8A7F72;
  --line: #E2D9CC;
  --accent: #9C5A34;
  --band: #EAE9E5;
  --band-line: #D6D4CE;
  --placeholder: #EAE2D6;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --pad: 24px;
}
@media (min-width: 700px)  { :root { --pad: 48px; } }
@media (min-width: 1100px) { :root { --pad: 96px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p { margin: 0 0 22px; text-wrap: pretty; }
h1, h2, h3 { font-weight: 300; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; }
.pad { padding-left: var(--pad); padding-right: var(--pad); }
.serif { font-family: var(--serif); font-weight: 300; }
.eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--soft); margin: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--bg);
  padding: 12px 20px; z-index: 20; font-size: 13px; letter-spacing: 0.06em;
}
.skip:focus { left: 0; }

/* ---------- Kopfzeile ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
@media (min-width: 1100px) { .site-header { padding-top: 28px; padding-bottom: 28px; } }

.brand { font-family: var(--serif); font-weight: 300; font-size: 20px; letter-spacing: 0.02em; }
@media (min-width: 1100px) { .brand { font-size: 22px; } }

.nav { display: none; }
@media (min-width: 980px) { .nav { display: flex; gap: 40px; align-items: center; } }
.nav a { font-size: 13px; letter-spacing: 0.06em; color: #4A423A; padding: 14px 0; }

.header-right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 0.1em; }
.lang .sep { color: #CFC4B4; }
.lang a { color: var(--soft); }
.lang [aria-current] { color: var(--ink); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px;
  width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
}
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(12deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-12deg); }
@media (min-width: 980px) { .burger { display: none; } }

.mobile-nav { display: none; border-bottom: 1px solid var(--line); }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 16px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (min-width: 980px) { .mobile-nav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 1100px) { .hero { padding-top: 112px; padding-bottom: 88px; } }

.hero__top { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1100px) { .hero__top { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 80px; } }
.hero__main { max-width: 800px; }
.hero h1 {
  font-family: var(--serif); margin: 24px 0 0;
  font-size: clamp(2.5rem, 7.4vw, 5rem); line-height: 1.02; letter-spacing: -0.015em;
}
@media (min-width: 1100px) { .hero h1 { margin-top: 40px; } }
.hero__aside { max-width: 340px; }
@media (min-width: 1100px) { .hero__aside { width: 340px; flex: 0 0 auto; padding-bottom: 12px; } }
.hero__aside p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
@media (min-width: 700px) { .hero__actions { flex-direction: row; align-items: center; gap: 20px; margin-top: 56px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 34px;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: #35302A; color: var(--bg); }
.btn--ghost { border: 1px solid #D8CDBB; }
@media (min-width: 700px) { .btn--ghost { border: 0; border-bottom: 1px solid #C7BBA9; padding: 0 4px; } }

.hero-img { width: 100%; aspect-ratio: 39 / 44; object-fit: cover; object-position: center 50%; }
@media (min-width: 900px) { .hero-img { aspect-ratio: 1440 / 660; } }

/* ---------- Über mich ---------- */
.about { display: grid; gap: 28px; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 1000px) {
  .about {
    grid-template-columns: 440px minmax(0, 640px);
    column-gap: 96px; row-gap: 0;
    padding-top: 144px; padding-bottom: 144px;
    grid-template-rows: auto 1fr;
    justify-content: start; align-items: start;
  }
  .about__media { grid-column: 1; grid-row: 1 / span 2; }
  .about__head  { grid-column: 2; grid-row: 1; padding-top: 8px; }
  .about__body  { grid-column: 2; grid-row: 2; }
}
.about__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 60%; }
@media (min-width: 1000px) { .about__media img { aspect-ratio: 44 / 58; } }
.about h2 {
  font-family: var(--serif); margin: 16px 0 0;
  font-size: clamp(1.9rem, 4.2vw, 2.875rem); line-height: 1.15; letter-spacing: -0.01em;
}
@media (min-width: 1000px) { .about h2 { margin-bottom: 36px; } }
.about__body p { color: var(--muted); font-size: 17px; line-height: 1.8; }
.about__body p:last-of-type { margin-bottom: 0; }
@media (min-width: 1000px) {
  .about__body p { margin-bottom: 28px; }
}
.signature { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.625rem); color: var(--accent); margin-top: 28px; }
@media (min-width: 1000px) { .signature { margin-top: 44px; } }

/* ---------- Abschnittskopf ---------- */
.sec-head {
  display: flex; flex-direction: column; gap: 16px;
  border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 40px;
}
@media (min-width: 900px) {
  .sec-head { flex-direction: row-reverse; align-items: flex-end; justify-content: space-between; padding-top: 48px; margin-bottom: 64px; }
}
.sec-head h2 { font-family: var(--serif); margin: 0; font-size: clamp(1.9rem, 4.2vw, 2.875rem); line-height: 1.15; }

/* ---------- Leistungen ---------- */
.section { padding-bottom: 56px; }
@media (min-width: 1100px) { .section { padding-bottom: 144px; } }

.cards { display: grid; gap: 48px; }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 64px; } }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__text { margin-top: 18px; }
@media (min-width: 900px) { .card__text { display: flex; gap: 20px; align-items: baseline; margin-top: 24px; } }
.card__num { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 8px; }
@media (min-width: 900px) { .card__num { margin-bottom: 0; flex: 0 0 auto; } }
.card h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; margin: 0 0 12px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }

/* ---------- Arbeiten ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.gallery img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }

/* ---------- Platzhalter für noch fehlende Bilder ---------- */
.ph { position: relative; background: var(--placeholder); display: flex; align-items: center; justify-content: center; text-align: center; }
.ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(155, 138, 116, .32); }
.ph span { position: relative; padding: 12px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #9A8871; line-height: 1.9; }
.ph--card { aspect-ratio: 3 / 2; }
.ph--tile { aspect-ratio: 5 / 6; }

/* ---------- Kontakt ---------- */
.contact { background: var(--band); padding-top: 56px; padding-bottom: 48px; }
@media (min-width: 1000px) { .contact { padding-top: 128px; padding-bottom: 120px; } }
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: minmax(0, 660px) 360px; column-gap: 96px; justify-content: space-between; align-items: start; }
}
.contact h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.01em; margin: 20px 0 20px; }
.contact__lead { color: var(--muted); font-size: 17px; line-height: 1.8; margin-bottom: 32px; }
.contact__list { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 1000px) { .contact__list { gap: 28px; padding-top: 8px; } }
.contact__list hr { border: 0; border-top: 1px solid var(--band-line); margin: 0; }
.contact__list a, .contact__list .value { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
@media (min-width: 1000px) { .contact__list a, .contact__list .value { font-size: 18px; } }
.contact__note { font-size: 14px; color: var(--soft); margin: 6px 0 0; }
.contact .btn { margin-bottom: 0; }
@media (max-width: 699px) { .contact .btn { display: flex; width: 100%; } }

/* ---------- Fusszeile ---------- */
.site-footer { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; padding-bottom: 40px; }
@media (min-width: 700px) { .site-footer { flex-direction: row; align-items: center; justify-content: space-between; padding-top: 40px; } }
.site-footer .brand { font-size: 17px; }
.footer-links { display: flex; gap: 24px; }
@media (min-width: 700px) { .footer-links { gap: 32px; } }
.footer-links a, .copyright { font-size: 13px; letter-spacing: 0.04em; color: #6E655B; }
.copyright { color: var(--soft); }

/* ---------- Rechtsseiten ---------- */
.legal { padding-top: 56px; padding-bottom: 80px; max-width: 820px; }
@media (min-width: 1100px) { .legal { padding-top: 96px; padding-bottom: 120px; } }
.legal h1 { font-family: var(--serif); font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.015em; margin: 20px 0 24px; }
.legal .lead { color: var(--muted); font-size: 17px; line-height: 1.8; max-width: 700px; }
.legal h2 { font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 1.625rem); line-height: 1.25; margin: 0 0 16px; }
.legal section { border-top: 1px solid var(--line); padding-top: 32px; margin-top: 44px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.85; }
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 10px; }
.legal .box { background: #F2ECE3; padding: 28px; margin: 24px 0 8px; }
@media (min-width: 700px) { .legal .box { padding: 32px 36px; } }
.legal .box .address { font-size: 17px; line-height: 1.9; }
.legal .box hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.legal .box .contact-lines { font-size: 16px; line-height: 1.9; color: var(--muted); }
.legal .num { display: block; font-size: 11px; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 12px; }
.legal .stand { margin-top: 44px; color: var(--soft); font-size: 14px; }
