/* image-vault.de – Ergänzungen zu home.css: Preise, Fragen, Formulare, Kundenkonto, Betrieb, rechtliche Seiten */
.hd .btn + .btn { margin-left: -16px; }
.hd .btn.ghost { border-color: transparent; }
.hd .btn.ghost:hover { background: var(--sand); color: var(--fg); }
.fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.center { text-align: center; }
.ok { color: #1d6b38; background: #eef7f0; padding: 10px 12px; font-size: 14px; }

.pricing { background: var(--sand); padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px); }
.price-wrap { display: flex; gap: 40px; justify-content: center; align-items: center; flex-wrap: wrap; max-width: 1000px; margin: 0 auto; }
.price-card { background: var(--bg); border: 1px solid var(--line); padding: 36px; width: min(440px, 100%); }
.price-card .price { font-size: 18px; margin: 0 0 6px; }
.price-card .price b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 54px; font-weight: 400; }
.price-card ul { padding-left: 18px; margin: 18px 0 24px; color: #333; }
.price-card li { margin: 6px 0; }
.tiers { border-collapse: collapse; min-width: 260px; background: var(--bg); }
.tiers th, .tiers td { padding: 10px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.tiers th { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.tiers td:last-child { text-align: right; }

.faq { max-width: 820px; margin: 0 auto; padding: clamp(56px, 8vw, 100px) 16px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-size: 18px; }
.faq p { color: #333; margin: 10px 0 0; }

.check { flex-direction: row !important; align-items: flex-start; gap: 10px !important; color: var(--fg) !important; }
.check input { width: auto; margin-top: 4px; }
.slug { display: flex; align-items: stretch; }
.slug input { flex: 1; text-transform: lowercase; letter-spacing: 0; }
.slug span { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--fg); border-left: 0; background: var(--sand); color: var(--muted); white-space: nowrap; }
.slug-state { font-size: 12px; color: var(--muted); }
.slug-state.bad { color: #b00020; }
.slug-state.good { color: #1d6b38; }
.login .box h2 { font-size: 18px; letter-spacing: .2em; }
.box .done p { text-align: left; }

.konto { background: var(--sand); min-height: calc(100vh - 220px); padding: clamp(32px, 6vw, 72px) 16px; }
.konto-in { max-width: 920px; margin: 0 auto; }
.konto h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(32px, 4vw, 44px); margin-bottom: 22px; }
.panel { background: var(--bg); border: 1px solid var(--line); padding: 24px clamp(18px, 3vw, 32px); margin-bottom: 18px; }
.panel h2 { font-size: 22px; }
.panel summary { cursor: pointer; }
.panel-hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 8px; }
.addr { color: var(--muted); font-size: 14px; }
.pill { display: inline-block; font-size: 12px; letter-spacing: .08em; padding: 4px 10px; border: 1px solid var(--line); white-space: nowrap; }
.pill.ok { border-color: #1d6b38; color: #1d6b38; }
.pill.warn { border-color: #b26a00; color: #b26a00; }
.usage .bar { height: 8px; background: var(--sand); margin: 16px 0 8px; }
.usage .bar i { display: block; height: 100%; background: var(--accent); }
.usage p { margin: 0; font-size: 14px; color: #333; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.actions .btn[disabled] { opacity: .45; cursor: not-allowed; }
.narrow { max-width: 420px; margin: 16px 0; }
.ops table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ops th, .ops td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ops th { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ops .row { margin-top: 10px; }
.ops input, .ops select, .ops textarea { font: inherit; border: 1px solid var(--fg); padding: 8px 10px; }
.ops textarea { width: 100%; min-height: 60px; }
.ops code { font-size: 12px; }

.legal-page { padding: clamp(32px, 6vw, 72px) 16px; }
.legal-in { max-width: 820px; margin: 0 auto; }
.legal-in h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(32px, 4vw, 44px); margin-bottom: 18px; }
.legal-in h2 { font-size: 19px; font-weight: 600; margin: 28px 0 8px; }
.legal-in p, .legal-in li { color: #333; }
.draft { background: #fff6e5; border: 1px solid #f0c36d; padding: 10px 14px; font-size: 14px; }

body.tenant .hd { justify-content: center; }
.t-logo { max-height: 56px; max-width: 240px; display: block; }
.t-home { text-decoration: none; }
.t-access { min-height: calc(100vh - 240px); display: grid; place-items: center; }
.powered { margin-left: auto !important; }
.powered a { color: var(--muted); }

@media (max-width: 620px) {
  .hd .btn.ghost { display: none; }
  .panel-hd { flex-direction: column; }
  .price-card .price b { font-size: 44px; }
}

/* Plattform-Admin (/admin) */
.admin .konto-in { max-width: 1240px; }
.admin-hd h1 { margin-bottom: 4px; }
.admin-hd .hint { margin: 0 0 18px; }
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 18px; }
.tile { background: var(--bg); border: 1px solid var(--line); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.tile span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; font-weight: 400; line-height: 1.1; }
.tile small { font-size: 12px; color: var(--muted); }
.todo { border-left: 3px solid #b26a00; }
.todo ul { margin: 6px 0 0; padding-left: 18px; }
.ops-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ops-bar input { min-width: 280px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.chip { font: inherit; font-size: 13px; padding: 6px 12px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.table-wrap { overflow-x: auto; }
.ops td.num { text-align: right; white-space: nowrap; }
.ops td a { color: var(--fg); }
.meter { height: 5px; background: var(--sand); margin: 6px 0 2px; width: 120px; }
.meter i { display: block; height: 100%; background: var(--accent); }
.pill.info { border-color: #2b5f9e; color: #2b5f9e; }
.pill.bad { border-color: #b00020; color: #b00020; }
.pill.muted { color: var(--muted); }
.acts summary { cursor: pointer; font-size: 13px; color: var(--muted); white-space: nowrap; }
.acts[open] { display: flex; flex-direction: column; gap: 6px; min-width: 170px; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.danger { border-color: #b00020; color: #b00020; }
.btn.danger:hover { background: #b00020; color: #fff; }
details.panel > summary { cursor: pointer; }
details.panel[open] > summary { margin-bottom: 12px; }
@media (max-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .tiles { grid-template-columns: repeat(2, 1fr); } .ops-bar input { min-width: 0; width: 100%; } }
/* Anschrift, Zwei-Faktor */
.row2 { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; }
.stack select { font: inherit; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); }
.twofa-list { list-style: none; padding: 0; margin: 8px 0 14px; }
.twofa-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.twofa-qr svg { width: 180px; height: 180px; display: block; margin: 8px 0; }
.codes { font-family: ui-monospace, Menlo, monospace; columns: 2; background: var(--bg); border: 1px solid var(--line); padding: 12px 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
@media (max-width: 620px) { .grid2 { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }
/* Admin: Details eines Betreibers */
dialog.detail { width: min(980px, 94vw); max-height: 90vh; overflow: auto; border: 1px solid var(--line); padding: 24px 28px; background: var(--bg); color: var(--fg); }
dialog.detail::backdrop { background: rgba(0, 0, 0, .35); }
.detail .user-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--line); }
.detail .user-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; }
.detail .user-add { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.detail .user-add input { flex: 1 1 200px; }
.detail pre { white-space: pre-wrap; background: var(--line); padding: 8px 10px; font-size: 13px; }
.detail-hd { display: flex; align-items: flex-start; gap: 14px; }
.detail-hd > div { flex: 1; }
.detail-hd h2 { margin: 0 0 2px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; }
.detail h3 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 12px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.bad-text { color: #b3261e; }
.spark { display: flex; align-items: flex-end; gap: 3px; height: 70px; }
.spark i { flex: 1; background: #b79c82; min-width: 4px; }
.detail-link { color: inherit; text-decoration: none; }
.detail-link:hover b { text-decoration: underline; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } .kv { grid-template-columns: 120px 1fr; } }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
.linkbtn:hover { color: #8f7a66; }
.row-acts { white-space: nowrap; }
.row-acts > .btn { margin-bottom: 6px; display: block; }
/* Betreiber-Liste ohne Tabelle: passt sich der Breite an, kein waagrechtes Scrollen */
.admin .konto-in { max-width: 1400px; }
.op-list { font-size: 14px; }
.op-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 1fr) 110px; gap: 6px 18px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.op-row > div { min-width: 0; overflow-wrap: anywhere; }
.op-head { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 4px; }
.op-row .row-acts { position: relative; text-align: right; }
.op-row .row-acts .acts[open] > :not(summary) { display: block; width: 100%; white-space: normal; } /* lange Beschriftungen umbrechen statt überstehen */
.op-row .row-acts .acts[open] { position: absolute; right: 0; z-index: 5; background: var(--bg); border: 1px solid var(--line); padding: 8px; width: max-content; min-width: 210px; max-width: 280px; text-align: left; box-shadow: 0 6px 20px rgba(0, 0, 0, .08); }
@media (max-width: 900px) {
  .op-row { grid-template-columns: 1fr 1fr; }
  .op-head { display: none; }
  .op-row .row-acts { grid-column: 1 / -1; text-align: left; display: flex; gap: 10px; align-items: center; }
  .op-row .row-acts > .btn { margin: 0; }
}
/* Startseite image-vault.de: Vorlagen, Hochzeit, Schule & Kita, Ablauf (OWL-2246) */
.yes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.yes li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #333; }
.yes svg { flex: none; width: 18px; height: 18px; margin-top: 3px; fill: none; stroke: var(--accent); stroke-width: 2.2; }
.hero .yes { grid-template-columns: 1fr 1fr; gap: 8px 22px; max-width: 600px; }
.facts { display: grid; grid-template-columns: repeat(5, 1fr); background: var(--fg); color: #fff; }
.facts div { padding: clamp(22px, 3vw, 34px) 12px; text-align: center; border-left: 1px solid #2c2c2c; }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; color: var(--accent); }
.facts span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #bbb; }
.sub { text-align: center; max-width: 720px; margin: -26px auto 40px; color: var(--muted); }
.sub.light { color: #bbb; }
.sh.light { color: #fff; }
.sh.left { text-align: left; margin-bottom: 26px; }
.tpls { max-width: 1320px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 70px); }
.tpl-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 20px; }
.tpl { margin: 0; }
.tpl img { display: block; width: 100%; aspect-ratio: 9 / 10; object-fit: cover; object-position: top; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .08); transition: transform .25s, box-shadow .25s; background: var(--sand); }
.tpl:hover img { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .14); }
.tpl figcaption { padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.tpl b { font-weight: 600; font-size: 15px; }
.tpl span { font-size: 13px; color: var(--muted); }
.more { text-align: center; margin: 34px 0 0; color: var(--muted); }
.more a { color: var(--fg); }
.flow { padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 48px); }
.flow-in { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.phone { margin: 0; padding: 12px; background: #141414; border-radius: 44px; box-shadow: 0 24px 60px rgba(0, 0, 0, .22); }
.phone img { display: block; width: 100%; height: auto; border-radius: 33px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; gap: 2px 14px; }
.steps li::before { content: '0' counter(s); grid-row: span 2; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; color: var(--accent); line-height: 1; }
.steps b { font-size: 19px; font-weight: 600; }
.steps span { color: #444; }
.move { background: var(--fg); color: #fff; padding: clamp(40px, 6vw, 70px) clamp(16px, 4vw, 48px); }
.move-in { max-width: 1100px; margin: 0 auto; display: flex; gap: 32px; align-items: center; justify-content: space-between; }
.move h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 10px; }
.move p { color: #bbb; margin: 0; max-width: 640px; }
.move .btn.primary { background: var(--accent); border-color: var(--accent); color: #141414; flex: none; }
.move .btn.primary:hover { background: #fff; border-color: #fff; }
.access .box .fine { margin-top: 12px; }
@media (max-width: 1180px) { .hd nav a[href="/#hochzeit"], .hd nav a[href="/#schule"] { display: none; } }
@media (max-width: 1100px) { .tpl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) {
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts div:nth-child(4) { border-left: 0; }
  .flow-in { grid-template-columns: 1fr; }
  .flow-in .phone { max-width: 300px; margin: 0 auto; }
  .move-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .hero .yes { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div { border-left: 0; border-top: 1px solid #2c2c2c; }
  .facts div:last-child { grid-column: span 2; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
}
.tpl-grid.four { grid-template-columns: repeat(4, 1fr); max-width: 1240px; margin: 0 auto; gap: 24px; }
@media (max-width: 980px) { .tpl-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .tpl-grid.four { grid-template-columns: 1fr; } }
.school .kicker { text-align: center; }
/* Unterseiten je Zielgruppe (OWL-2246) */
.hero.uc { grid-template-columns: 1.15fr 1fr; }
.hero.uc h1 { font-size: clamp(36px, 4.6vw, 60px); }
.uc-img img { aspect-ratio: 9 / 10; }
.uc-list { grid-template-columns: 1fr 1fr; gap: 14px 40px; max-width: 1000px; margin: 0 auto; }
.uc-list li { font-size: 16px; }
.uc-flow { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 980px) { .hero.uc { grid-template-columns: 1fr; } .uc-list { grid-template-columns: 1fr; } }
a.tpl { display: block; text-decoration: none; color: inherit; }
a.tpl .cap { padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
a.tpl .cap i { font-style: normal; font-size: 13px; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
a.tpl:hover img { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, .14); }
.tpl-grid.five { grid-template-columns: repeat(5, 1fr); max-width: 1320px; margin: 0 auto; gap: 20px; }
@media (max-width: 1100px) { .tpl-grid.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tpl-grid.five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tpl-grid.five { grid-template-columns: 1fr; } }

/* Sprachumschalter (Kopfzeile) */
.hd .lang { position: relative; font-size: 13px; letter-spacing: .08em; }
.hd .lang summary { list-style: none; cursor: pointer; padding: 8px 4px; color: var(--muted); }
.hd .lang summary::-webkit-details-marker { display: none; }
.hd .lang summary::after { content: ' ▾'; font-size: 10px; }
.hd .lang[open] summary, .hd .lang summary:hover { color: var(--fg); }
.hd .lang div { position: absolute; right: 0; top: 100%; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); display: flex; flex-direction: column; min-width: 140px; z-index: 6; }
.hd .lang a { padding: 9px 16px; text-decoration: none; color: var(--fg); letter-spacing: 0; }
.hd .lang a:hover { background: var(--sand); }
.hd .lang a[aria-current] { font-weight: 600; }
