:root {
  --bg: #0e0e10;
  --surface: #16161a;
  --surface-2: #1d1d22;
  --line: #2a2a31;
  --text: #efece7;
  --muted: #a49e92;
  --accent: #e06597;
  --accent-soft: rgba(224,101,151,0.14);
  --accent-ink: #0e0e10;
  --danger: #e2574c;
  --ok: #4caf78;
  --radius: 14px;
  --maxw: 1080px;
  --maxw-wide: 1200px;
  --font: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Instrument Sans", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(14,15,19,0.85);
  backdrop-filter: blur(6px);
  position: sticky; top: 0; z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-size: 1.25rem; font-weight: 700; letter-spacing: .02em; color: var(--text); }
.brand span { color: var(--accent); margin: 0 .1em; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a { color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.inline { display: inline; margin: 0; }
.linklike { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; padding: 0; }
.linklike:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  padding: 11px 20px; border-radius: 999px; font-weight: 600; border: 0; cursor: pointer;
  transition: filter .15s ease;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn-sm { padding: 7px 16px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }

/* Hero / Landing */
.hero { padding: 80px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 18px; }
.hero p.lead { color: var(--muted); font-size: 1.2rem; max-width: 620px; margin: 0 auto 32px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; padding: 20px 0 70px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; }

/* Cards / panels */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.page-head { margin: 32px 0 20px; }
.page-head h1 { margin: 0 0 6px; font-size: 1.7rem; }
.muted { color: var(--muted); }

.breadcrumb { color: var(--muted); font-size: .95rem; margin: 24px 0 8px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }

/* Folder / photo grids */
.grid { display: grid; gap: 14px; }
.folder-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.photo-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); align-items: start; }

.folder-card, .photo-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; display: block;
}
.folder-card:hover { border-color: var(--accent); text-decoration: none; }
.folder-card .ico { font-size: 1.6rem; }
.folder-card .name { color: var(--text); font-weight: 600; margin-top: 8px; }
.folder-card .meta { color: var(--muted); font-size: .85rem; }

.photo-card { padding: 10px; }
.photo-card .thumb { border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.photo-card .thumb img { display: block; width: 100%; height: auto; }
.photo-card .pname { font-size: .82rem; color: var(--muted); margin-top: 8px; word-break: break-word; }
.photo-card a.dl { display: block; margin-top: 8px; text-align: center; font-size: .85rem; }

.section { margin-top: 36px; }
.section h2 { font-size: 1.2rem; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0; }

/* Forms */
.form { max-width: 380px; margin: 60px auto; }
.form .panel { padding: 32px; }
.form h1 { margin: 0 0 20px; font-size: 1.5rem; }
label { display: block; margin: 14px 0 6px; font-size: .9rem; color: var(--muted); }
input[type=text], input[type=password], input[type=email], input[type=datetime-local], input[type=number], input[type=file] {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: inherit;
}
input:focus { outline: none; border-color: var(--accent); }
.form .btn { width: 100%; margin-top: 22px; }
.errorlist { color: var(--danger); list-style: none; padding: 0; margin: 8px 0; font-size: .9rem; }
.helptext { color: var(--muted); font-size: .8rem; }

/* Flash messages */
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; border: 1px solid var(--line); }
.flash-success { border-color: var(--ok); color: #bfe9d2; }
.flash-error { border-color: var(--danger); color: #f2c4c0; }
.flash-info { border-color: var(--line); color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 26px 0; color: var(--muted); font-size: .9rem; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer nav a { color: var(--muted); margin-left: 16px; }

.upload-box { border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; margin-top: 16px; }
.badge { display: inline-block; font-size: .72rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* ============================================================
   Landing (modelle-photo Shootings) – eigenständige Gestaltung
   ============================================================ */
[hidden] { display: none !important; }
/* Bildschutz (Deterrent): Ziehen/Markieren der Bildflaechen unterbinden.
   Kein harter Schutz -- Bilder sind CSS-Hintergruende (kein "Bild speichern unter"). */
.lp-hero, .lp-tile, .lp-about-media, .lightbox-img {
  -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.lp-wrap { width: 100%; max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }

/* Navigation (transparent über Hero, verdichtet beim Scrollen) */
.lp-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease; }
.lp-nav.solid { background: rgba(14,14,16,0.85); backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.lp-nav-inner { max-width: var(--maxw-wide); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; }
.lp-brand { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: .02em; color: var(--text); }
.lp-brand span { color: var(--accent); margin: 0 .05em; }
.lp-nav-links { display: flex; align-items: center; gap: 26px; }
.lp-nav-links a { color: rgba(239,233,220,0.75); font-size: .92rem; }
.lp-nav-links a:hover { color: var(--text); text-decoration: none; }
.lp-kundenbtn { border: 1px solid var(--accent); color: var(--accent) !important; padding: 8px 16px; border-radius: 999px; }
.lp-kundenbtn:hover { background: var(--accent-soft); }
.lp-kundenbtn .lock { font-size: .8em; }

/* Hero */
.lp-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 140px 0 70px; overflow: hidden;
  background-color: #0e0e10;
  background-image:
    linear-gradient(90deg, rgba(14,14,16,0.90) 0%, rgba(14,14,16,0.55) 50%, rgba(14,14,16,0.15) 100%),
    linear-gradient(180deg, rgba(14,14,16,0.45) 0%, rgba(14,14,16,0.20) 40%, rgba(14,14,16,0.92) 100%),
    url("../img/hero.4987c9ca047c.jpg");
  background-size: cover; background-position: center 22%; background-repeat: no-repeat; }
.lp-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 18% 55%, transparent 42%, rgba(14,14,16,0.40)); }
.lp-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--maxw-wide); margin: 0 auto; padding: 0 24px; }
.lp-eyebrow { color: var(--accent); letter-spacing: .25em; text-transform: uppercase; font-size: .74rem; font-weight: 600; margin: 0 0 22px; }
.lp-wordmark { font-family: var(--font-display); font-weight: 400; font-size: clamp(3rem, 11vw, 7rem); line-height: .95; letter-spacing: -.01em; margin: 0 0 26px; }
.lp-wordmark span { color: var(--accent); }
.lp-lead { color: rgba(239,236,231,0.82); font-size: clamp(1.05rem, 1.6vw, 1.35rem); line-height: 1.6; max-width: 560px; margin: 0 0 34px; }
.lp-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-link { color: var(--text); font-weight: 500; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.btn-link:hover { color: var(--accent); text-decoration: none; }

/* Sektionen */
.lp-section { padding: 90px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.lp-section-alt { background: var(--surface); }
.lp-head { max-width: 760px; margin-bottom: 44px; }
.lp-num { font-family: var(--font-display); color: var(--accent); font-size: .85rem; letter-spacing: .1em; margin-right: 14px; }
.lp-kicker { color: var(--muted); letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; font-weight: 600; }
.lp-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4.5vw, 3rem); line-height: 1.08; letter-spacing: -.01em; margin: 18px 0 0; }
.lp-sub { color: var(--muted); font-size: 1.05rem; margin: 16px 0 0; }
.lp-note { color: var(--muted); font-size: .85rem; margin-top: 28px; }

/* Leistungen */
.lp-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.lp-service { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: border-color .2s ease, transform .2s ease; }
.lp-service:hover { border-color: var(--accent); transform: translateY(-3px); }
.lp-service .n { font-family: var(--font-display); color: var(--accent); font-size: .8rem; letter-spacing: .1em; }
.lp-service h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; margin: 14px 0 10px; }
.lp-service p { color: var(--muted); margin: 0; }

/* Diskretion */
.lp-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lp-trust-item { background: var(--bg); padding: 26px 24px; }
.lp-trust-item h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; margin: 0 0 8px; }
.lp-trust-item h3::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; margin-right: 10px; vertical-align: middle; }
.lp-trust-item p { color: var(--muted); margin: 0; }

/* Portfolio */
.lp-portfolio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.lp-tile { position: relative; aspect-ratio: 3/4; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; padding: 0; text-align: left; color: var(--text); display: flex; flex-direction: column; justify-content: flex-end; background-size: cover; background-position: center; transition: border-color .2s ease; }
.lp-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(0,0,0,0.65)); }
.lp-tile:hover { border-color: var(--accent); }
.lp-tile .cat, .lp-tile .ttl { position: relative; z-index: 2; padding: 0 16px; }
.lp-tile .cat { color: var(--accent); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.lp-tile .ttl { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 16px; }
.t1 { background: linear-gradient(145deg,#2a2016,#0e0e10); }
.t2 { background: linear-gradient(150deg,#241c1c,#0e0e10); }
.t3 { background: linear-gradient(150deg,#1c2026,#0e0e10); }
.t4 { background: linear-gradient(160deg,#2a2418,#0e0e10); }
.t5 { background: linear-gradient(145deg,#2c2214,#100e0c); }
.t6 { background: radial-gradient(70% 60% at 50% 30%, rgba(224,101,151,0.18), transparent 70%), linear-gradient(160deg,#1c1418,#0e0e10); }
.t7 { background: linear-gradient(150deg,#211e1a,#0e0e10); }
.t8 { background: linear-gradient(160deg,#2e2416,#0e0e10); }
/* Portfolio-Kacheln mit echten Bildern (Produktion: Hashnamen via Manifest-Storage) */
.lp-tile.pi1 { background-image: url("../img/p1.138124c979bb.jpg"); }
.lp-tile.pi2 { background-image: url("../img/p2.247d4cd9ab33.jpg"); }
.lp-tile.pi3 { background-image: url("../img/p3.1fc4bf2386fc.jpg"); }
.lp-tile.pi4 { background-image: url("../img/p4.875df0e4ffd6.jpg"); }
.lp-tile.pi5 { background-image: url("../img/p5.b14c35f180f1.jpg"); }
.lp-tile.pi6 { background-image: url("../img/p6.e10b0fa45290.jpg"); }
.lp-tile.pi7 { background-image: url("../img/p7.58e5e1210d86.jpg"); }
.lp-tile.pi8 { background-image: url("../img/p8.bcdf0715eb50.jpg"); }

/* Ablauf */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.lp-step { padding: 24px 0 0; border-top: 2px solid var(--accent); }
.lp-step .n { font-family: var(--font-display); color: var(--accent); font-size: 1.6rem; }
.lp-step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin: 12px 0 8px; }
.lp-step p { color: var(--muted); margin: 0; }
.lp-step-cta { margin-top: 36px; }

/* Über uns */
.lp-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
.lp-about-media { aspect-ratio: 4/5; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  background-color: #16161a;
  background-image: linear-gradient(180deg, transparent 55%, rgba(10,9,8,0.35)), url("../img/about.299da14aeebf.jpg");
  background-size: cover; background-position: center; }
.lp-about-text p { color: rgba(239,236,231,0.8); font-size: 1.05rem; }

/* Stimmen */
.lp-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.lp-voice { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; margin: 0; }
.lp-voice blockquote { margin: 0 0 16px; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.5; color: var(--text); }
.lp-voice blockquote::before { content: "\201C"; color: var(--accent); font-size: 2rem; line-height: 0; vertical-align: -.3em; margin-right: 4px; }
.lp-voice figcaption { color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* Kontakt */
.lp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.lp-contact-info p { color: var(--muted); }
.lp-contact-dl { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; }
.lp-contact-dl dt { color: var(--accent); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; align-self: center; }
.lp-contact-dl dd { margin: 0; color: var(--text); }
.lp-form label { display: block; margin: 16px 0 6px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lp-form input, .lp-form select, .lp-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus { outline: none; border-color: var(--accent); }
.lp-form textarea { resize: vertical; }
.lp-form .btn { width: 100%; margin-top: 22px; }

/* Footer */
.lp-footer { background: #0b0b0d; border-top: 1px solid var(--line); padding: 70px 0 30px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.lp-footer h4 { color: var(--accent); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 12px; }
.lp-footer p { color: var(--muted); margin: 0; line-height: 1.9; font-size: .92rem; }
.lp-footer a { color: var(--muted); }
.lp-footer a:hover { color: var(--text); }
.lp-footer-brand .lp-brand { font-size: 1.4rem; }
.lp-footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; }

/* Alters-Bestätigung */
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,10,0.92); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
body.gate-open { overflow: hidden; }
.age-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); max-width: 520px; width: 100%; padding: 44px 40px; text-align: center; }
.age-brand { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: .02em; }
.age-brand span { color: var(--accent); }
.age-rule { width: 40px; height: 1px; background: var(--accent); margin: 16px auto 24px; }
.age-q { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; line-height: 1.3; margin: 0 0 30px; }
.age-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(6,6,8,0.92); display: flex; align-items: center; justify-content: center; padding: 40px; }
.lightbox-close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: var(--text); font-size: 2.2rem; line-height: 1; cursor: pointer; }
.lightbox-fig { margin: 0; max-width: 520px; width: 100%; }
.lightbox-img { aspect-ratio: 3/4; border-radius: var(--radius); border: 1px solid var(--line); background-color: #16161a; background-size: cover; background-position: center; }
.lightbox-fig figcaption { color: var(--muted); text-align: center; margin-top: 16px; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }

/* Responsiv */
@media (max-width: 900px) {
  .lp-about, .lp-contact { grid-template-columns: 1fr; }
  .lp-portfolio { grid-template-columns: repeat(2, 1fr); }
  .lp-trust { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .lp-nav-links a:not(.lp-kundenbtn) { display: none; }
  .lp-section { padding: 64px 0; }
  .lp-trust { grid-template-columns: 1fr; }
  .lp-footer-grid { grid-template-columns: 1fr; }
  .lp-hero { min-height: 84vh; padding-top: 120px; }

  /* Eingeloggter Header (Kunden-/Studio-Bereich): Navigation umbrechen */
  .nav { flex-wrap: wrap; height: auto; padding: 10px 16px; row-gap: 2px; }
  .brand { font-size: 1.1rem; }
  .nav-links { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 6px 16px; }
  .nav-links a, .nav-links .linklike { font-size: .92rem; white-space: nowrap; }

  /* Breite Tabellen horizontal scrollbar statt Seiten-Overflow */
  .table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}

/* Rechtsseiten (AGB / Impressum / Datenschutz) */
.legal { max-width: 760px; margin: 40px auto 20px; }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: 1.9rem; margin: 0 0 18px; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin: 30px 0 8px; }
.legal p { color: #cfccc5; line-height: 1.7; margin: 0 0 12px; }
.legal .legal-meta { color: var(--muted); font-size: .85rem; margin-bottom: 24px; }
.legal .legal-note { background: var(--accent-soft); border: 1px solid var(--accent); border-radius: var(--radius); padding: 16px 18px; color: #e7dcc3; margin: 18px 0; }
.legal .legal-back { margin-top: 34px; }

/* ============================================================
   Studio-/Admin-Bereich
   ============================================================ */
select, textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); font: inherit;
}
select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; }

.studio-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 28px; }
.studio-nav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .9rem; }
.studio-nav a:hover, .studio-nav a.active { color: var(--text); border-color: var(--accent); text-decoration: none; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 8px 0 28px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.stat .num { font-family: var(--font-display); font-size: 2rem; color: var(--accent); line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .85rem; margin-top: 8px; }

.table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: middle; }
.table th { color: var(--muted); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.table tr:hover td { background: var(--surface); }
.table a { color: var(--accent); }

.pill { display: inline-block; font-size: .72rem; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.pill.ok { border-color: var(--ok); color: #bfe9d2; }
.pill.off { border-color: var(--danger); color: #f2c4c0; }

.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.wish { background: var(--surface-2); border-left: 2px solid var(--accent); padding: 8px 12px; border-radius: 6px; color: var(--text); font-size: .88rem; margin-top: 6px; }
.inline-form { display: inline; margin: 0; }
@media (max-width: 820px) { .studio-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Kundenbereich/Studio – Baum, Dropzone, Lightbox, Kommentare
   ============================================================ */

/* Ordnerbaum (Explorer-artig) */
.tree { list-style: none; margin: 10px 0 0; padding: 0; }
.tree ul { list-style: none; margin: 0; padding-left: 20px; border-left: 1px solid var(--line); }
.tree li { margin: 2px 0; }
.tree .node { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 8px; }
.tree .node:hover { background: var(--surface); text-decoration: none; }
.tree .node .ic { opacity: .85; }
.tree .node .nm { color: var(--text); }
.tree .node.current { background: var(--accent-soft); }
.tree .node .cnt { color: var(--muted); font-size: .8rem; }
.tree .node.k-download .ic { color: var(--accent); }

/* Drag&Drop-Zone */
.dropzone {
  border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 26px 20px;
  text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s ease, background .15s ease;
}
.dropzone:hover { border-color: var(--accent); }
.dropzone.drag { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.dropzone input[type=file] { display: none; }
.dropzone .dz-big { font-size: 1.05rem; color: var(--text); }
.dropzone .dz-info { margin-top: 8px; font-size: .85rem; color: var(--accent); }

/* Foto-Karten: Auswahl + Aktionen + Freigabe-Status */
.photo-card { position: relative; }
.photo-card .thumb { cursor: zoom-in; }
.photo-card .photo-select { position: absolute; top: 16px; left: 16px; width: 18px; height: 18px; accent-color: var(--accent); z-index: 2; }
.photo-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.photo-actions .linklike, .photo-actions a { font-size: .82rem; }
.tag-free { display: inline-block; font-size: .68rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--ok); color: #bfe9d2; }
.tag-lock { display: inline-block; font-size: .68rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }

/* Lightbox / Grossansicht */
.zoom-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,10,0.94); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; }
.zoom-overlay[hidden] { display: none !important; }
.zoom-stage { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; min-height: 0; }
.zoom-img { width: 100%; height: 100%; background-repeat: no-repeat; background-position: center; background-size: contain; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; -webkit-touch-callout: none; }
.zoom-close { position: absolute; top: 18px; right: 22px; background: none; border: 0; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: .8; }
.zoom-close:hover { opacity: 1; }
.zoom-cap { color: var(--muted); font-size: .9rem; margin-top: 14px; text-align: center; }

/* Kommentare je Bild */
.comments { margin-top: 10px; border-top: 1px dashed var(--line); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.comment { font-size: .82rem; color: var(--text); background: var(--surface-2); border-radius: 8px; padding: 7px 10px; }
.comment .c-body { line-height: 1.45; word-break: break-word; }
.comment .who { color: var(--muted); font-size: .7rem; margin-top: 3px; }
.comment.staff { border-left: 2px solid var(--accent); }
.comment-add { margin-top: 2px; }
.comment-add > summary { list-style: none; cursor: pointer; color: var(--accent); font-size: .8rem; display: inline-block; padding: 2px 0; }
.comment-add > summary::-webkit-details-marker { display: none; }
.comment-add > summary::marker { content: ""; }
.comment-add > summary:hover { text-decoration: underline; }
.comment-add[open] > summary { color: var(--muted); }
.comment-form { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; }
.comment-form textarea { font-size: .85rem; }
.comment-form .btn { align-self: flex-start; }

/* Startseite „Meine Fotos“ – Bereichskarten + Hinweis */
.area-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 10px; }
.area-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); position: relative; transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.area-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; background: var(--surface-2); }
.area-ic {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px; display: flex;
  align-items: center; justify-content: center; font-size: 1.5rem; background: var(--accent-soft);
}
.area-body { flex: 1; min-width: 0; }
.area-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.area-desc { color: var(--muted); font-size: .9rem; margin-top: 6px; line-height: 1.5; }
.area-meta { color: var(--muted); font-size: .78rem; margin-top: 10px; letter-spacing: .02em; }
.area-go { position: absolute; top: 20px; right: 20px; color: var(--accent); font-size: .85rem; white-space: nowrap; }
.area-card.k-download .area-ic { color: var(--accent); }

.hint-box {
  margin-top: 26px; background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 22px;
}
.hint-box strong { display: block; margin-bottom: 8px; font-family: var(--font-display); }
.hint-box ul { margin: 0; padding-left: 20px; color: var(--muted); }
.hint-box li { margin: 5px 0; font-size: .9rem; line-height: 1.5; }
.hint-box b { color: var(--text); font-weight: 600; }

@media (max-width: 620px) {
  .area-go { display: none; }
  .area-card { padding: 18px; }
}
