/* Linda Bley Fotografie – Stylesheet (ohne externe Schriften, DSGVO-freundlich) */
:root {
  --bg: #faf7f3;
  --paper: #ffffff;
  --sand: #f0e9e0;
  --ink: #2a2623;
  --muted: #766c64;
  --line: #e3d9ce;
  --accent: #9c7f62;
  --accent-dark: #7d634a;
  --busy: #c9b19a;
  --ok: #4f7a5a;
  --err: #a2463b;
  --serif: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", "Times New Roman", serif;
  --sans: "Avenir Next", "Avenir", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 300 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.eyebrow { font: 500 .78rem/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.2em; display: block; }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 243, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.logo .name { font: 400 1.75rem/1 var(--serif); letter-spacing: .04em; }
.logo .sub { font: 400 .66rem/1 var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.nav ul { list-style: none; display: flex; gap: 34px; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--accent); color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 1px; background: var(--ink); margin: 7px 0; transition: transform .3s, opacity .3s; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 78px 0 0 0; background: var(--bg); transform: translateX(100%); transition: transform .35s ease; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; align-items: center; gap: 26px; padding-top: 50px; }
  .nav a { font-size: 1rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 34px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font: 400 .76rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s; border-radius: var(--radius);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.solid { background: var(--ink); color: #fff; }
.btn.solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:disabled { opacity: .5; cursor: wait; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: min(92vh, 980px); min-height: 520px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12) 30%, rgba(0,0,0,.55)); }
.hero-text { position: absolute; inset: auto 0 12%; z-index: 2; text-align: center; color: #fff; padding: 0 24px; }
.hero-text h1 { text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-text p { max-width: 560px; margin: 0 auto 2em; font-size: 1.05rem; text-shadow: 0 1px 12px rgba(0,0,0,.3); }
@media (max-width: 700px) { .hero { grid-template-columns: 1fr; } .hero img:nth-child(2) { display: none; } }

/* ---------- Abschnitte ---------- */
section { padding: clamp(70px, 10vw, 130px) 0; }
.section-sand { background: var(--sand); }
.intro { max-width: 760px; margin: 0 auto; text-align: center; }
.intro p { color: var(--muted); font-size: 1.08rem; }
.quote { font: italic 400 clamp(1.7rem, 3.4vw, 2.6rem)/1.3 var(--serif); text-align: center; max-width: 820px; margin: 0 auto 1em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.story-grid { display: grid; grid-template-columns: 1.1fr 1.5fr 1.5fr .9fr; gap: 14px; margin: 50px 0 46px; align-items: stretch; }
.story-grid img { width: 100%; height: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.story-grid img:nth-child(2), .story-grid img:nth-child(3) { aspect-ratio: 3 / 2.6; }
@media (max-width: 820px) { .story-grid { grid-template-columns: 1fr 1fr; } .story-grid img { aspect-ratio: 3 / 4 !important; } }

/* ---------- Preise ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 50px; }
.price-card { background: var(--paper); display: flex; flex-direction: column; }
.price-card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.price-card .ph { aspect-ratio: 4 / 5; background: linear-gradient(135deg, #e9dfd3, #d8c8b6); display: grid; place-items: center; font: italic 1.6rem var(--serif); color: #fff; }
.price-card .body { padding: 30px 30px 34px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.price-card .price { font: 400 2.2rem/1 var(--serif); margin: 4px 0 18px; color: var(--accent-dark); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 26px; color: var(--muted); }
.price-card li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.price-card li:last-child { border: 0; }
.price-card .btn { margin-top: auto; align-self: center; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- Portfolio ---------- */
.masonry { columns: 3 300px; column-gap: 14px; margin-top: 40px; }
.masonry a { display: block; margin-bottom: 14px; break-inside: avoid; overflow: hidden; cursor: zoom-in; }
.masonry img { width: 100%; transition: transform .6s ease, opacity .4s; }
.masonry a:hover img { transform: scale(1.03); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(20, 18, 16, .96); z-index: 200; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; box-shadow: 0 10px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.2rem; cursor: pointer; padding: 16px 22px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lb-close { top: 8px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-bar { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; font-size: .85rem; letter-spacing: .1em; }
.lb-bar a { color: #fff; margin-left: 16px; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form .row { grid-template-columns: 1fr; } }
label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=date], input[type=number], select, textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font: 300 1rem/1.4 var(--sans); border-radius: var(--radius); transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 160px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); text-transform: none; letter-spacing: 0; }
.check input { margin-top: 5px; accent-color: var(--accent); }
.hp { position: absolute; left: -5000px; }
.notice { padding: 14px 18px; border-left: 3px solid var(--ok); background: #eef4ef; display: none; }
.notice.err { border-color: var(--err); background: #f8ecea; }
.notice.show { display: block; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { list-style: none; padding: 0; margin: 0 0 30px; }
.contact-info li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.contact-info li span:first-child { min-width: 86px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.contact-info a { text-decoration: none; }

/* ---------- Belegt-Kalender ---------- */
.cal { background: var(--paper); padding: 26px 24px 22px; border: 1px solid var(--line); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head h3 { margin: 0; font-size: 1.45rem; }
.cal-head button { background: none; border: 1px solid var(--line); width: 38px; height: 38px; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.cal-head button:hover:not(:disabled) { border-color: var(--accent); }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 6px 0; }
.cal-grid .day { aspect-ratio: 1; display: grid; place-items: center; font-size: .95rem; border-radius: 50%; }
.cal-grid .day.past { color: #c8bfb6; }
.cal-grid .day.busy { background: var(--busy); color: #fff; text-decoration: line-through; text-decoration-color: rgba(255,255,255,.6); }
.cal-grid .day.today { box-shadow: inset 0 0 0 1px var(--accent); }
.cal-legend { display: flex; gap: 20px; justify-content: center; margin-top: 16px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
.cal-legend .l-free { border: 1px solid var(--line); }
.cal-legend .l-busy { background: var(--busy); }
.cal-note { font-size: .82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.7rem; margin-top: 1.6em; }
.legal h3 { font-size: 1.25rem; margin-top: 1.4em; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: #cfc6bd; padding: 60px 0 40px; font-size: .9rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer .logo .sub { color: #a1978e; }
.site-footer h4 { font: 400 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: #fff; margin: 6px 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid #3f3934; padding-top: 24px; margin-top: 10px; font-size: .8rem; color: #8f857c; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 800px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- Page-Kopf ---------- */
.page-head { padding: clamp(60px, 9vw, 110px) 0 10px; text-align: center; }
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---------- Einblend-Animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
