/* Farbwerte für beide Designs. Aktiv ist, was <html data-theme> sagt (appearance.js). */
:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --text: #1f211c;
  --body: #3f4036;
  --muted: #5b594c;
  --accent: #56603f;
  --line: #d6ccba;
  --rule: #b8b2a4;
  --band: #eee5d6;
  --contact-bg: #2c3328;
  --contact-text: #efe6d4;
  --contact-muted: #d9cfbc;
  --contact-accent: #c9bba2;
  --input-bg: #232920;
  --input-line: #8f8672;
  --button: #2c3328;
  --button-text: #fffaf2;
  --button-hover: #424b3b;
  --caption-bg: #1f211ce0;
  --caption-text: #f7f4ee;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, 'Segoe UI', sans-serif;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #141612;
  --text: #ede4d1;
  --body: #d3cab7;
  --muted: #a9a08c;
  --accent: #c8b68c;
  --line: #ede4d126;
  --rule: #ede4d140;
  --band: #1c1f1a;
  --contact-bg: #0d0e0b;
  --contact-text: #ede4d1;
  --contact-muted: #c4bba8;
  --contact-accent: #c8b68c;
  --input-bg: #1a1d17;
  --input-line: #5d5848;
  --button: #ede4d1;
  --button-text: #141612;
  --button-hover: #ffffff;
  --caption-bg: #0d0e0be0;
  --caption-text: #ede4d1;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.125rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.02; }
h2 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.7rem, 2.7vw, 2.5rem); line-height: 1.12; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .3em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
[hidden] { display: none !important; }
.wrap { width: min(86%, 1260px); margin-inline: auto; }
.skip { position: fixed; top: -5rem; left: 1rem; z-index: 10; padding: .6rem 1rem; background: var(--text); color: var(--bg); }
.skip:focus { top: 1rem; }

.site-header, .site-footer { padding: 1.5rem 4.5%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header { min-height: 86px; border-bottom: 1px solid var(--line); }
.brand { font: 1.25rem/1 var(--serif); letter-spacing: .07em; white-space: nowrap; }
.brand span { color: var(--accent); }
.brand small { display: block; margin-top: .55rem; font: 600 .7rem/1.2 var(--sans); letter-spacing: .14em; color: var(--muted); }
nav, .site-footer div { display: flex; gap: clamp(1rem, 3vw, 2.75rem); }
.header-actions { display: flex; align-items: center; gap: .7rem; }
nav a, .header-cta { font-size: 1rem; font-weight: 600; }
.header-cta { border: 1px solid var(--line); padding: .65rem .9rem; }
.header-cta:hover { border-color: currentColor; text-decoration: none; }
/* Dezenter Umschalter im Footer: sieht aus wie ein Footer-Link. */
.theme-toggle { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.theme-toggle:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-cta span { margin-left: .65rem; }

.hero { display: grid; grid-template-columns: minmax(0, 48fr) minmax(0, 52fr); min-height: clamp(480px, 70vh, 760px); }
.hero-content { align-self: center; padding: clamp(3.25rem, 6.5vw, 7.5rem) 2rem clamp(3.25rem, 6.5vw, 7.5rem) 10%; }
.eyebrow { font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; }
.hero h1 { font-size: clamp(3.1rem, 6.8vw, 7.4rem); line-height: .98; letter-spacing: -.04em; margin-bottom: 1.6rem; }
.hero-content > p:not(.eyebrow), .profile-content > p { max-width: 43ch; color: var(--body); }
.hero-content > p:not(.eyebrow) { font-size: 1.2rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: .9rem 1.2rem; margin-top: 1.6rem; border: 1px solid transparent; font: 650 1.0625rem/1.4 var(--sans); background: var(--button); color: var(--button-text); cursor: pointer; }
.button:hover { background: var(--button-hover); text-decoration: none; }
.hero-photo, .profile figure { position: relative; min-width: 0; }
.hero-photo img, .profile figure img { position: absolute; inset: 0; }
.hero-photo figcaption, .profile figcaption { position: absolute; right: .75rem; bottom: .75rem; background: var(--caption-bg); color: var(--caption-text); padding: .2rem .5rem; font-size: .8rem; }

.offers, .gallery, .contact-grid { padding-block: clamp(4rem, 8vw, 8rem); }
.offer-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); margin-top: clamp(1.75rem, 4vw, 3rem); }
.offer-list article { border-top: 1px solid var(--rule); padding-top: 1.5rem; display: flex; flex-direction: column; align-items: flex-start; }
.offer-list p { margin: 1.05rem 0 1.3rem; max-width: 50ch; color: var(--body); }
.offer-list a { margin-top: auto; font-size: 1rem; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: .24em; }

.profile { display: grid; grid-template-columns: 52% 48%; background: var(--band); }
.profile-content { padding: clamp(3rem, 7vw, 8rem) 11%; }
.profile-content h2 { margin-bottom: 1.5rem; }
.profile-content p + p { margin-top: 1rem; }

.gallery header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.gallery header > p { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 2.5vw, 2rem); }
.gallery-grid img { height: auto; width: 100%; aspect-ratio: 5/4; }
.gallery-grid figcaption { font-size: 1rem; margin-top: .6rem; color: var(--muted); }

.contact { color-scheme: dark; background: var(--contact-bg); color: var(--contact-text); --button: #ede4d1; --button-text: #141612; --button-hover: #ffffff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 7rem); }
.contact-grid p { color: var(--contact-muted); }
.contact-grid h2 + p { margin-top: 1.5rem; max-width: 36ch; }
.contact-grid p + p { margin-top: 1rem; max-width: 36ch; }
.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.full { grid-column: 1 / -1; }
label { display: block; min-width: 0; font-size: 1rem; }
label span { color: var(--contact-accent); }
input, select, textarea { display: block; width: 100%; min-width: 0; margin-top: .35rem; padding: .75rem .85rem; border-radius: 0; border: 1px solid var(--input-line); background: var(--input-bg); color: var(--contact-text); font: 1.0625rem/1.4 var(--sans); }
input:focus, select:focus, textarea:focus { border-color: var(--contact-accent); outline: none; }
textarea { resize: vertical; }
::placeholder { color: var(--contact-muted); }
.form-note { margin-top: 1rem; font-size: .95rem; }
#draft { margin-top: 1.5rem; }

.site-footer { min-height: 108px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.site-footer p, .site-footer div { font-size: 1rem; color: var(--muted); }
.legal { padding-block: 5rem; max-width: 760px; }
.legal h1 { font-size: clamp(2.5rem, 8vw, 5rem); margin-bottom: 1.5rem; }

@media (max-width: 760px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem .65rem; padding: 1rem 5%; }
  .site-header nav { grid-row: 2; grid-column: 1 / -1; }
  .brand { font-size: 1.1rem; }
  .header-actions { gap: .35rem; }
  .header-cta { padding: .5rem .6rem; font-size: .95rem; }
  .header-cta span { margin-left: .2rem; }
  .hero, .profile, .contact-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 3.25rem 7%; }
  .hero h1 { font-size: clamp(3rem, 12vw, 5.75rem); }
  .hero-photo, .profile figure { aspect-ratio: 4/3; }
  .hero-photo img { object-position: center 53%; }
  .offer-list { grid-template-columns: 1fr; }
  .profile-content { padding: 3.5rem 7%; }
  .site-footer { justify-content: start; }
}
@media (max-width: 480px) {
  .form-fields { grid-template-columns: 1fr; }
}
@media (max-width: 390px) {
  .site-header { grid-template-columns: 1fr; }
  .site-header nav { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
