/*
Theme Name: Hochzeitsbuddy
Theme URI: https://hochzeitsbuddy.de/
Author: Matti
Description: Helles, redaktionelles Portfolio-Theme fuer Hochzeitsfotografie und -videografie. Vollbild-Hero, grosse Bildflaechen, handschriftliche Display-Schrift, pinker Akzent, Pakete, Testimonials und Anfrageformular.
Version: 1.3.7
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hochzeitsbuddy
Tags: portfolio, photography, one-column, custom-colors, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ---------- Schriften (lokal, kein Google-CDN) ---------- */
@font-face {
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/amatic-sc-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Amatic SC";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/amatic-sc-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/fonts/jost-300-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/jost-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/jost-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/jost-600-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --hb-accent: #d6156d;
  --hb-accent-dark: #a80f54;
  --hb-blush: #f2e6e2;
  --hb-sand: #faf7f5;
  --hb-ink: #22201f;
  --hb-muted: #8d8783;
  --hb-line: #e7e0dc;
  --hb-white: #ffffff;
  --hb-display: "Amatic SC", "Segoe Script", cursive;
  --hb-body: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --hb-max: 1240px;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--hb-white);
  color: var(--hb-ink);
  font-family: var(--hb-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--hb-ink); text-decoration: none; }
a:hover { color: var(--hb-accent); }

h1, h2, h3, h4 {
  font-family: var(--hb-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h3 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h4 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

p { margin: 0 0 1.2em; }

.hb-container { width: 100%; max-width: var(--hb-max); margin: 0 auto; padding: 0 24px; }
.hb-narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.hb-section { padding: clamp(64px, 9vw, 130px) 0; }
.hb-section--blush { background: var(--hb-blush); }
.hb-section--sand { background: var(--hb-sand); }
.hb-center { text-align: center; }

.hb-kicker {
  font-family: var(--hb-body);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--hb-muted);
  margin: 0 0 18px;
}

.hb-lead { font-size: 1.15rem; color: #4a4643; }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  width: auto; height: auto; clip: auto;
  background: #fff; padding: 12px 18px; border-radius: 999px;
}

/* ---------- Buttons ---------- */
.hb-btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  background: var(--hb-accent);
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border: 0;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.hb-btn:hover { background: var(--hb-accent-dark); transform: translateY(-2px); }
.hb-btn--ghost {
  background: transparent;
  color: var(--hb-ink) !important;
  border: 1px solid var(--hb-ink);
}
.hb-btn--ghost:hover { background: var(--hb-ink); color: #fff !important; }

/* ---------- Header ---------- */
.hb-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hb-line);
}
.hb-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.hb-brand {
  font-family: var(--hb-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  line-height: 1;
}
.hb-brand img { max-height: 52px; width: auto; }
.hb-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.hb-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hb-header__actions { display: flex; align-items: center; gap: 16px; }
.hb-burger {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.hb-burger span {
  display: block; width: 26px; height: 2px; background: var(--hb-ink); margin: 5px 0;
}

@media (max-width: 980px) {
  .hb-nav { display: none; }
  .hb-burger { display: block; }
  .hb-header__actions .hb-btn { display: none; }
  .hb-mobile-nav.is-open { display: block; }
  .hb-mobile-nav {
    display: none;
    border-top: 1px solid var(--hb-line);
    background: #fff;
    padding: 20px 24px 32px;
  }
  .hb-mobile-nav ul { list-style: none; margin: 0 0 20px; padding: 0; }
  .hb-mobile-nav li { border-bottom: 1px solid var(--hb-line); }
  .hb-mobile-nav a {
    display: block; padding: 14px 0;
    letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.82rem;
  }
}
@media (min-width: 981px) { .hb-mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hb-hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hb-hero__media { position: absolute; inset: 0; }
.hb-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hb-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.4) 100%);
}
.hb-hero__content { position: relative; z-index: 2; padding: 40px 24px; }
.hb-hero h1 { color: #fff; margin-bottom: 14px; }
.hb-hero__sub {
  font-family: var(--hb-display);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin: 0 0 34px;
}

/* ---------- Intro (Split) ---------- */
.hb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
}
.hb-split--reverse .hb-split__media { order: -1; }
@media (max-width: 880px) { .hb-split { grid-template-columns: 1fr; } .hb-split--reverse .hb-split__media { order: 0; } }

.hb-frame { position: relative; }
.hb-frame img { border-radius: 4px; }
.hb-frame--offset::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px;
  background: var(--hb-blush); z-index: -1; border-radius: 4px;
}

/* ---------- Galerie ---------- */
.hb-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hb-gallery a, .hb-gallery figure { margin: 0; overflow: hidden; }
.hb-gallery img {
  width: 100%; height: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform 0.6s ease;
}
.hb-gallery img:hover { transform: scale(1.04); }
@media (max-width: 880px) { .hb-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Testimonials ---------- */
.hb-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 880px) { .hb-quotes { grid-template-columns: 1fr; } }
.hb-quote {
  background: #fff; padding: 34px 30px; border: 1px solid var(--hb-line); border-radius: 4px;
}
.hb-quote p { font-style: italic; color: #4a4643; }
.hb-quote cite {
  display: block; font-style: normal; letter-spacing: 0.18em;
  text-transform: uppercase; font-size: 0.75rem; color: var(--hb-muted);
}

/* ---------- Pakete ---------- */
.hb-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .hb-packages { grid-template-columns: 1fr; } }
.hb-package { background: #fff; border: 1px solid var(--hb-line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.hb-package img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hb-package__body { padding: 30px 28px 34px; display: flex; flex-direction: column; flex: 1; }
.hb-package h3 { margin-bottom: 6px; }
.hb-package__meta {
  font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--hb-muted); margin-bottom: 16px;
}
.hb-package .hb-btn { margin-top: auto; align-self: flex-start; }

/* ---------- CTA ---------- */
.hb-cta { background: var(--hb-blush); text-align: center; }
.hb-cta .hb-btn { margin: 6px 8px 0; }

/* ---------- Beitraege ---------- */
.hb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
@media (max-width: 980px) { .hb-posts { grid-template-columns: 1fr; } }
.hb-card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 16px; }
.hb-card h3 { margin-bottom: 8px; }
.hb-meta { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hb-muted); }

.hb-entry-content { font-size: 1.05rem; }
.hb-entry-content h2, .hb-entry-content h3 { margin-top: 1.4em; }
.hb-entry-content a { text-decoration: underline; }
.hb-entry-content blockquote {
  margin: 2em 0; padding-left: 24px; border-left: 3px solid var(--hb-accent); font-style: italic;
}
.hb-page-header { padding: clamp(50px, 7vw, 90px) 0 0; text-align: center; }

/* ---------- Formular ---------- */
.hb-form { display: grid; gap: 18px; }
.hb-form label { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hb-muted); }
.hb-form input, .hb-form textarea, .hb-form select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--hb-line);
  border-radius: 4px; background: #fff; font-family: var(--hb-body); font-size: 1rem; color: var(--hb-ink);
}
.hb-form input:focus, .hb-form textarea:focus { outline: 2px solid var(--hb-accent); outline-offset: 1px; }
.hb-notice { padding: 16px 20px; border-radius: 4px; background: var(--hb-blush); margin-bottom: 24px; }
.hb-notice--error { background: #fde7ef; }

/* ---------- Footer ---------- */
.hb-footer { background: var(--hb-ink); color: #efeae7; padding: 70px 0 40px; }
.hb-footer a { color: #efeae7; }
.hb-footer a:hover { color: #fff; }
.hb-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 880px) { .hb-footer__grid { grid-template-columns: 1fr; } }
.hb-footer__brand { font-family: var(--hb-display); font-size: 2.2rem; line-height: 1; }
.hb-footer ul { list-style: none; margin: 0; padding: 0; }
.hb-footer li { margin-bottom: 10px; font-size: 0.9rem; }
.hb-footer__bottom {
  margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8rem; color: #b6afab; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
}

/* ---------- Lightbox ---------- */
.hb-lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; background: rgba(20, 18, 17, 0.94); padding: 24px;
}
.hb-lightbox.is-open { display: flex; }
.hb-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.hb-lightbox__close {
  position: absolute; top: 20px; right: 24px; background: none; border: 0;
  color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* ---------- Reveal ---------- */
.hb-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.hb-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hb-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- WP Basics ---------- */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 0.82rem; color: var(--hb-muted); text-align: center; margin-top: 8px; }
.hb-pagination { margin-top: 60px; text-align: center; letter-spacing: 0.14em; }
.hb-pagination .page-numbers { padding: 6px 12px; }
.hb-pagination .current { color: var(--hb-accent); }

/* Blog: Kategorie-Filter */
.hb-blog-intro { margin: 18px auto 0; }
.hb-cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.hb-cat-filter__item {
	display: inline-block; padding: 8px 20px; border: 1px solid var(--hb-line, #e6ddd9);
	border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
	text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hb-cat-filter__item:hover { border-color: var(--hb-accent); color: var(--hb-accent); }
.hb-cat-filter__item.is-active { background: var(--hb-accent); border-color: var(--hb-accent); color: #fff; }
.hb-card__cats a { text-decoration: none; }
.hb-card__cats a:hover { color: var(--hb-accent); }

/* ---------- Hero: Slider & Video ---------- */
.hb-hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-slider { position: relative; width: 100%; height: 100%; }
.hb-slider__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hb-slider__slide.is-active { opacity: 1; }
.hb-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hb-slider__dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.hb-slider__dots button {
	width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
	border: 1px solid rgba(255,255,255,0.85); background: transparent;
}
.hb-slider__dots button.is-active { background: #fff; }

/* ---------- Masonry-Galerie ---------- */
.hb-masonry { column-count: 3; column-gap: 10px; }
.hb-masonry__item { display: block; break-inside: avoid; margin-bottom: 10px; border-radius: 10px; overflow: hidden; line-height: 0; }
.hb-masonry__item img { width: 100%; height: auto; display: block; border-radius: 10px; transition: transform 0.6s ease; }
.hb-masonry__item:hover img { transform: scale(1.03); }
@media (max-width: 1024px) { .hb-masonry { column-count: 2; column-gap: 8px; } .hb-masonry__item { margin-bottom: 8px; } }
@media (max-width: 560px) { .hb-masonry { column-count: 2; column-gap: 6px; } .hb-masonry__item { margin-bottom: 6px; border-radius: 8px; } }

/* ---------- Pakete ---------- */
.hb-packages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1100px) { .hb-packages { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hb-packages { grid-template-columns: 1fr; } }
.hb-package {
	display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden;
	border: 1px solid var(--hb-line, #e6ddd9); box-shadow: 0 12px 30px -26px rgba(20,18,17,0.6);
}
.hb-package__media { position: relative; line-height: 0; }
.hb-package__media img { width: 100%; height: 220px; object-fit: cover; }
.hb-package__badge {
	position: absolute; top: 12px; left: 12px; background: var(--hb-accent); color: #fff;
	font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.hb-package__body { padding: 24px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hb-package__meta { font-size: 0.82rem; color: var(--hb-muted); margin: 0; }
.hb-package__price { font-family: var(--hb-display); font-size: 2rem; line-height: 1; margin: 0; color: var(--hb-accent); }
.hb-package__text p { margin: 0 0 8px; font-size: 0.92rem; }
.hb-package .hb-btn { margin-top: auto; align-self: flex-start; }
.hb-check { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 8px; }
.hb-check li { position: relative; padding-left: 26px; font-size: 0.92rem; }
.hb-check li::before {
	content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 8px;
	border-left: 2px solid var(--hb-accent); border-bottom: 2px solid var(--hb-accent); transform: rotate(-45deg);
}

/* Auswählbare Pakete (Anfrageseite) */
.hb-packages--select .hb-package { cursor: pointer; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.hb-package--select input { position: absolute; opacity: 0; pointer-events: none; }
.hb-package--select:has(input:checked) { border-color: var(--hb-accent); box-shadow: 0 0 0 2px var(--hb-accent); transform: translateY(-3px); }
.hb-package__choose {
	margin-top: auto; align-self: flex-start; padding: 10px 22px; border-radius: 999px;
	border: 1px solid var(--hb-accent); color: var(--hb-accent); font-size: 0.78rem;
	letter-spacing: 0.14em; text-transform: uppercase;
}
.hb-package--select:has(input:checked) .hb-package__choose { background: var(--hb-accent); color: #fff; }

/* ---------- Zusatzleistungen ---------- */
.hb-upsells { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 720px) { .hb-upsells { grid-template-columns: 1fr; } }
.hb-upsell {
	display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; cursor: pointer;
	background: #fff; border: 1px solid var(--hb-line, #e6ddd9); border-radius: 14px;
}
.hb-upsell:has(input:checked) { border-color: var(--hb-accent); box-shadow: 0 0 0 1px var(--hb-accent); }
.hb-upsell input { margin-top: 5px; accent-color: var(--hb-accent); width: 18px; height: 18px; }
.hb-upsell__body { display: grid; gap: 4px; }
.hb-upsell__title { font-weight: 500; }
.hb-upsell__text { font-size: 0.88rem; color: var(--hb-muted); }
.hb-upsell__price { font-size: 0.88rem; color: var(--hb-accent); }

/* ---------- Bewertungen ---------- */
.hb-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .hb-reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hb-reviews { grid-template-columns: 1fr; } }
.hb-review { background: #fff; border: 1px solid var(--hb-line, #e6ddd9); border-radius: 14px; padding: 24px 22px; display: grid; gap: 10px; }
.hb-review__stars { color: #f5b301; letter-spacing: 0.14em; }
.hb-review__text { margin: 0; font-size: 0.95rem; }
.hb-review__author { margin: 0; font-weight: 500; }
.hb-review__author span { display: block; font-weight: 400; font-size: 0.8rem; color: var(--hb-muted); }
.hb-review__source { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hb-muted); }

/* ---------- Info-Karten ---------- */
.hb-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@media (max-width: 880px) { .hb-infos { grid-template-columns: 1fr; } }
.hb-info { background: #fff; border: 1px solid var(--hb-line, #e6ddd9); border-radius: 14px; padding: 26px 24px; }
.hb-info h3 { margin-top: 0; }

/* ---------- Anfrageformular ---------- */
.hb-form--request { display: grid; gap: 56px; margin-top: 48px; }
.hb-form__block > h2 { text-align: center; margin-bottom: 28px; }
.hb-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 620px) { .hb-form__grid { grid-template-columns: 1fr; } }
.hb-form__full { grid-column: 1 / -1; }
.hb-btn--ghost { background: transparent; color: var(--hb-accent); border: 1px solid var(--hb-accent); }

/* ---------- Frontend-Bearbeitung ---------- */
.hb-edit-mode .hb-editable { outline: 1px dashed rgba(214, 21, 109, 0.35); outline-offset: 4px; border-radius: 3px; }
.hb-edit-mode .hb-editable:focus { outline: 2px solid var(--hb-accent); background: rgba(214, 21, 109, 0.04); }
.hb-edit-toolbar {
	position: absolute; z-index: 300; display: none; gap: 4px; padding: 5px;
	background: #1c1a19; border-radius: 8px; box-shadow: 0 10px 24px -14px rgba(0,0,0,0.7);
}
.hb-edit-toolbar.is-visible { display: flex; }
.hb-edit-toolbar button {
	background: transparent; border: 0; color: #fff; font-size: 0.72rem; letter-spacing: 0.08em;
	padding: 5px 8px; border-radius: 5px; cursor: pointer;
}
.hb-edit-toolbar button:hover { background: var(--hb-accent); }
.hb-edit-toast {
	position: fixed; left: 20px; bottom: 20px; z-index: 400; padding: 10px 18px; border-radius: 999px;
	background: #1c1a19; color: #fff; font-size: 0.82rem; opacity: 0; transform: translateY(8px);
	transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none;
}
.hb-edit-toast.is-visible { opacity: 1; transform: none; }
.hb-edit-toast.is-error { background: #b3123f; }

/* ---------- Mobile: gleiche Innenabstände überall ---------- */
.hb-section__body { margin-top: 44px; }
@media (max-width: 700px) {
	:root { --hb-gutter: 20px; }
	.hb-container { padding-left: 20px; padding-right: 20px; }
	.hb-hero__content { padding-left: 20px; padding-right: 20px; }
	.hb-page-header { padding-left: 0; padding-right: 0; }
	.hb-section { padding-top: 56px; padding-bottom: 56px; }
	.hb-section__body { margin-top: 28px; }
	.hb-frame--offset::before { inset: 16px -16px -16px 16px; }
	.hb-narrow, .hb-center, .hb-entry-content, .hb-form { padding-left: 0; padding-right: 0; }
	.hb-masonry { column-gap: 8px; }
}

/* Mobile-Menü mit farbigem Hintergrund */
@media (max-width: 980px) {
	.hb-mobile-nav {
		background: var(--hb-blush);
		box-shadow: 0 18px 34px -22px rgba(20, 18, 17, 0.55);
		padding: 18px 0 26px;
	}
	.hb-mobile-nav ul { margin-bottom: 18px; }
	.hb-mobile-nav li { border-bottom: 1px solid rgba(34, 32, 31, 0.12); }
	.hb-mobile-nav a { color: var(--hb-ink); }
	.hb-mobile-nav a:hover { color: var(--hb-accent); }
}
.hb-btn--block { display: block; text-align: center; }

/* ---------- Über-mich-Rubrik (abgesetzt) ---------- */
.hb-section--ink { background: var(--hb-ink); color: #f2ece9; }
.hb-section--ink h2, .hb-section--ink h3 { color: #fff; }
.hb-section--ink .hb-kicker { color: #c9bfb9; }
.hb-section--ink .hb-lead { color: #e2d9d4; }
.hb-section--ink .hb-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, 0.6); }
.hb-section--ink .hb-btn--ghost:hover { background: #fff; color: var(--hb-ink) !important; }
.hb-about__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px);
	align-items: center; margin-top: 44px;
}
@media (max-width: 900px) { .hb-about__grid { grid-template-columns: 1fr; } }
.hb-about__media img { border-radius: 14px; }
.hb-about__infos { display: grid; gap: 18px; }
.hb-section--ink .hb-info {
	background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px; padding: 20px 22px;
}
.hb-section--ink .hb-info h3 { margin-bottom: 6px; }
.hb-section--ink .hb-info p { margin: 0; color: #ded4cf; }
.hb-about__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Audio-Stimmen ---------- */
.hb-voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 820px) { .hb-voices { grid-template-columns: 1fr; } }
.hb-voice {
	display: flex; gap: 18px; align-items: center; background: #fff;
	border: 1px solid var(--hb-line); border-radius: 16px; padding: 20px 22px;
	box-shadow: 0 16px 34px -30px rgba(20, 18, 17, 0.7);
}
.hb-voice__photo img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; }
.hb-voice__body { flex: 1; min-width: 0; }
.hb-voice__name { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 2px; }
.hb-voice__role { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hb-muted); margin: 0 0 8px; }
.hb-voice__text { font-size: 0.92rem; margin: 0 0 12px; color: #4a4643; }

.hb-player { display: flex; align-items: center; gap: 12px; }
.hb-player__play {
	width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 50%;
	background: var(--hb-accent); cursor: pointer; display: grid; place-items: center;
	transition: background 0.2s ease, transform 0.2s ease;
}
.hb-player__play:hover { background: var(--hb-accent-dark); transform: scale(1.04); }
.hb-player__icon {
	width: 0; height: 0; margin-left: 3px;
	border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
}
.hb-player.is-playing .hb-player__icon {
	width: 12px; height: 14px; margin-left: 0; border: 0;
	background: linear-gradient(to right, #fff 0 4px, transparent 4px 8px, #fff 8px 12px);
}
.hb-player__bar { flex: 1; height: 5px; border-radius: 999px; background: var(--hb-line); overflow: hidden; cursor: pointer; }
.hb-player__progress { display: block; height: 100%; width: 0; background: var(--hb-accent); border-radius: 999px; }
.hb-player__time { font-size: 0.8rem; color: var(--hb-muted); min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- Frontend: Bilder austauschen ---------- */
.hb-edit-mode img[data-hb-img] {
	cursor: pointer;
	outline: 2px dashed transparent;
	outline-offset: -6px;
	transition: outline-color .2s ease;
}
.hb-edit-mode img[data-hb-img]:hover { outline-color: var(--hb-accent, #e6497f); }
.hb-gallery-edit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 8px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--hb-accent, #e6497f);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}
.hb-gallery-edit:hover { filter: brightness(1.05); }

/* ---------- Floating Kundenstimmen-Leiste ---------- */
.hb-voicebar {
	position: fixed;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 90;
	max-width: 200px;
}
.hb-voicebar__toggle {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 6px 12px 6px 6px;
	border: 0;
	border-radius: 999px;
	background: var(--hb-ink, #26201d);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.hb-voicebar__toggle img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hb-voicebar__toggle-label { font-size: 12px; }
.hb-voicebar__panel {
	background: rgba(255,255,255,.94);
	backdrop-filter: blur(8px);
	border-radius: 18px;
	padding: 12px;
	box-shadow: 0 14px 32px rgba(38,32,29,.16);
}
.hb-voicebar__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hb-voicebar__close {
	display: none; margin-left: auto; flex: none;
	width: 32px; height: 32px; border-radius: 50%;
	border: 1px solid rgba(38,32,29,.14); background: #fff;
	color: var(--hb-ink, #26201d); font-size: 20px; line-height: 1; cursor: pointer;
}
.hb-voicebar__close:hover { border-color: var(--hb-accent, #e6497f); color: var(--hb-accent, #e6497f); }
.hb-voicebar__head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.hb-voicebar__title { font-family: var(--hb-font-display, inherit); font-size: 16px; line-height: 1.1; }
.hb-voicebar__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hb-voicebar__play {
	display: flex; align-items: center; gap: 8px; width: 100%;
	padding: 6px 8px; border: 1px solid rgba(38,32,29,.1);
	border-radius: 12px; background: #fff; cursor: pointer; text-align: left;
}
.hb-voicebar__play:hover { border-color: var(--hb-accent, #e6497f); }
.hb-voicebar__icon {
	position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%;
	background: var(--hb-accent, #e6497f);
}
.hb-voicebar__icon::before {
	content: ''; position: absolute; top: 50%; left: 53%; transform: translate(-50%,-50%);
	border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff;
}
.hb-voicebar__play.is-playing .hb-voicebar__icon::before {
	border: 0; width: 8px; height: 9px; left: 50%;
	background: linear-gradient(to right, #fff 0 2px, transparent 2px 6px, #fff 6px 8px);
}
.hb-voicebar__meta { display: grid; line-height: 1.2; min-width: 0; }
.hb-voicebar__name { font-size: 12px; font-weight: 600; }
.hb-voicebar__role { font-size: 11px; opacity: .65; }
.hb-voicebar.is-collapsed .hb-voicebar__panel { display: none; }
.hb-voicebar.is-collapsed .hb-voicebar__toggle { display: flex; }
@media (max-width: 900px) {
	.hb-voicebar {
		left: 12px; right: auto; bottom: 12px; top: auto; transform: none;
		max-width: 170px; width: auto;
	}
	.hb-voicebar__toggle {
		padding: 4px 10px 4px 4px; gap: 6px;
		border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
	}
	.hb-voicebar__toggle img { width: 26px; height: 26px; }
	.hb-voicebar__toggle-label { font-size: 10px; }
	.hb-voicebar.is-collapsed .hb-voicebar__toggle { display: flex; }
	.hb-voicebar__close {
		display: flex; align-items: center; justify-content: center;
		width: 24px; height: 24px; font-size: 16px;
	}
	.hb-voicebar__panel { padding: 10px; border-radius: 16px; }
	.hb-voicebar__head { gap: 6px; margin-bottom: 8px; }
	.hb-voicebar__head img { width: 28px; height: 28px; }
	.hb-voicebar__title { font-size: 13px; }
	.hb-voicebar__list { gap: 5px; }
	.hb-voicebar__play { padding: 5px 6px; gap: 6px; }
	.hb-voicebar__icon { width: 20px; height: 20px; }
	.hb-voicebar__icon::before { border-width: 4px 0 4px 6px; }
	.hb-voicebar__play.is-playing .hb-voicebar__icon::before { width: 6px; height: 7px; }
	.hb-voicebar__name { font-size: 11px; }
	.hb-voicebar__role { font-size: 10px; }
}

/* ---------- Login & Planer ---------- */
.hb-login-card {
	max-width: 420px; margin: 36px auto 0; padding: 28px;
	background: #fff; border-radius: 24px; box-shadow: 0 18px 40px rgba(38,32,29,.1);
}
.hb-login-card input[type="text"], .hb-login-card input[type="password"] {
	width: 100%; padding: 12px 14px; border: 1px solid rgba(38,32,29,.15); border-radius: 12px; margin-top: 6px;
}
.hb-login-card .login-submit input, .hb-login-card input[type="submit"] {
	width: 100%; margin-top: 14px; padding: 13px 22px; border: 0; border-radius: 999px;
	background: var(--hb-accent, #e6497f); color: #fff; cursor: pointer;
}
.hb-login-card__hint { margin-top: 14px; font-size: 14px; text-align: center; }
.hb-planner__intro { max-width: 640px; }
.hb-planner__meta { display: grid; gap: 14px; margin: 28px 0; grid-template-columns: repeat(3, minmax(0,1fr)); }
.hb-planner__meta label { display: grid; gap: 6px; font-size: 14px; min-width: 0; }
.hb-planner__meta input { padding: 12px 14px; border: 1px solid rgba(38,32,29,.15); border-radius: 12px; background: #fff; }
.hb-planner__presets { display: flex; flex-wrap: wrap; gap: 8px; }
.hb-planner__chip {
	padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(38,32,29,.15);
	background: #fff; cursor: pointer; font-size: 14px;
}
.hb-planner__chip:hover { border-color: var(--hb-accent, #e6497f); color: var(--hb-accent, #e6497f); }
.hb-planner__custom { display: flex; gap: 10px; margin: 18px 0 26px; flex-wrap: wrap; }
.hb-planner__custom input { flex: 1 1 220px; padding: 12px 14px; border: 1px solid rgba(38,32,29,.15); border-radius: 12px; }
.hb-planner__list { display: grid; gap: 10px; }
.hb-planner__card {
	display: grid; grid-template-columns: 110px minmax(0,1fr) 36px; gap: 12px; align-items: center;
	padding: 14px; background: #fff; border-radius: 18px; box-shadow: 0 10px 26px rgba(38,32,29,.07);
}
.hb-planner__card input { border: 0; background: transparent; padding: 6px 0; width: 100%; }
.hb-planner__time { font-family: var(--hb-font-display, inherit); font-size: 24px; }
.hb-planner__title { font-size: 17px; font-weight: 600; }
.hb-planner__note { font-size: 14px; opacity: .7; }
.hb-planner__remove { border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; opacity: .4; }
.hb-planner__remove:hover { opacity: 1; color: var(--hb-accent, #e6497f); }
.hb-planner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 26px; }
.hb-planner__status { font-size: 14px; opacity: .7; }
.hb-planner__empty { opacity: .6; }
@media (max-width: 700px) {
	.hb-planner__meta { grid-template-columns: 1fr; }
	.hb-planner__card { grid-template-columns: 84px minmax(0,1fr) 30px; }
	.hb-planner__time { font-size: 20px; }
}
.hb-planner__warnings { margin: 22px 0; padding: 18px 22px; background: #fff8f1; border-radius: 18px; border: 1px solid rgba(184,68,47,.2); }
.hb-planner__warnings h3 { margin: 0 0 8px; font-size: 17px; }
.hb-planner__warn-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; }
.hb-planner__warn-ok { margin: 0; font-size: 14px; opacity: .75; }
.hb-planner__card.has-warning { outline: 2px solid rgba(184,68,47,.5); }

@media print {
	.hb-header, .hb-footer, .hb-hero, .hb-voicebar, .hb-planner__presets, .hb-planner__custom,
	.hb-planner__actions, .hb-planner__remove, .hb-edit-toolbar, .hb-edit-toast { display: none !important; }
	.hb-planner__warnings { border: 1px solid #ccc; background: #fff; break-inside: avoid; }
	.hb-planner__card { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
	.hb-planner__card input, .hb-planner__meta input { color: #000; }
}

/* ---------------------------------------------------------------------------
 * FAQ, Hochzeiten-Teaser, Bewertungs-Zusammenfassung, Zitate
 * ------------------------------------------------------------------------- */

.hb-faq{display:grid;gap:12px}
.hb-faq__item{background:var(--hb-surface,#fff);border-radius:18px;padding:18px 22px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.hb-faq__q{display:flex;gap:14px;align-items:baseline;cursor:pointer;list-style:none;font-weight:600}
.hb-faq__q::-webkit-details-marker{display:none}
.hb-faq__num{color:var(--hb-accent);font-size:.85rem;letter-spacing:.08em}
.hb-faq__label{flex:1}
.hb-faq__item[open] .hb-faq__q{color:var(--hb-accent)}
.hb-faq__a{padding-top:10px;line-height:1.7}

.hb-weddings{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hb-wedding__link{display:block;text-decoration:none;color:inherit}
.hb-wedding__media{display:block;overflow:hidden;border-radius:16px;aspect-ratio:3/4}
.hb-wedding__media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s ease}
.hb-wedding__link:hover .hb-wedding__media img{transform:scale(1.04)}
.hb-wedding__place{display:block;margin-top:10px;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:var(--hb-accent)}
.hb-wedding__title{display:block;font-size:1.15rem;margin-top:2px}

.hb-reviews__summary{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:center;margin-bottom:24px;text-align:center}
.hb-reviews__summary .hb-reviews__stars{color:var(--hb-accent);letter-spacing:.1em}

.hb-quote{font-size:clamp(1.4rem,3vw,2.2rem);line-height:1.35;margin:0}
.hb-likes{margin-top:16px}
.hb-form__hint{display:block;margin-top:4px;font-size:.8rem;opacity:.7}
.hb-upsells--small .hb-upsell__body{padding-block:14px}
.hb-reportage__actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}

@media (max-width:900px){.hb-weddings{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.hb-weddings{grid-template-columns:1fr}}

/* ---------------------------------------------------------------------------
 * Auswahlkacheln, Planer-Rollen, Frontend-Link-Bearbeitung
 * ------------------------------------------------------------------------- */

.hb-package--select { position: relative; cursor: pointer; transition: box-shadow .2s ease, transform .2s ease; }
.hb-package--select input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.hb-package--select .hb-package__check {
	position: absolute; top: 14px; right: 14px; width: 26px; height: 26px; border-radius: 50%;
	border: 2px solid rgba(0,0,0,.18); background: #fff; z-index: 2;
}
.hb-package--select.is-selected { outline: 2px solid var(--hb-accent, #d6156d); outline-offset: 2px; transform: translateY(-2px); }
.hb-package--select.is-selected .hb-package__check { background: var(--hb-accent, #d6156d); border-color: var(--hb-accent, #d6156d); }
.hb-package--select.is-selected .hb-package__check::after {
	content: ''; position: absolute; left: 8px; top: 4px; width: 6px; height: 12px;
	border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.hb-package__choose { display: inline-block; margin-top: 12px; font-weight: 600; color: var(--hb-accent, #d6156d); }

.hb-voicebar { z-index: 999; }
.hb-voicebar__play.is-empty { opacity: .55; cursor: default; }

.hb-planner__roles-block { margin-top: 40px; }
.hb-planner__hint { opacity: .7; font-size: .9rem; }
.hb-planner__roles { display: grid; gap: 12px; margin-top: 16px; }
.hb-planner__role { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.hb-planner__role-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hb-planner__role-label { font-weight: 600; min-width: 140px; }
.hb-planner__role-head input { flex: 1 1 140px; }
.hb-planner__tasks { display: grid; gap: 8px; margin: 12px 0; }
.hb-planner__task { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hb-planner__task input[type="text"] { flex: 1 1 200px; }
.hb-planner__helpers { margin-top: 6px; font-size: .85rem; color: var(--hb-accent, #d6156d); }

.hb-link-edit {
	margin-left: 6px; border: 1px solid rgba(0,0,0,.15); background: #fff; border-radius: 999px;
	width: 30px; height: 30px; cursor: pointer; line-height: 1;
}
body:not(.hb-edit-mode) .hb-link-edit { display: none; }
.hb-editable-content { outline: 1px dashed rgba(214,21,109,.4); outline-offset: 8px; border-radius: 8px; }

@media print { .hb-voicebar, .hb-link-edit { display: none !important; } }

/* --- Preispakete: 3 Spalten + breite Signature-Zeile --- */
.hb-packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .hb-packages { grid-template-columns: 1fr; } }
.hb-package--signature {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(260px, 42%) 1fr;
	background: linear-gradient(180deg, #fbf6ef 0%, #f6eee3 100%);
	border: 1px solid #d9c08a;
	box-shadow: 0 0 0 1px rgba(217, 192, 138, 0.35) inset;
	border-radius: 6px;
	overflow: hidden;
}
@media (max-width: 900px) { .hb-package--signature { grid-template-columns: 1fr; } }
.hb-package--signature .hb-package__media img { height: 100%; min-height: 260px; }
.hb-package--signature .hb-package__badge {
	background: #c9a227; color: #fff; letter-spacing: 0.14em; text-transform: uppercase;
}
.hb-package--signature .hb-package__body { padding: 34px 34px 36px; gap: 12px; }
.hb-package--signature h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.hb-package--signature .hb-package__text p { font-size: 1rem; }
.hb-package--signature .hb-check { columns: 2; column-gap: 26px; }
@media (max-width: 700px) { .hb-package--signature .hb-check { columns: 1; } }

/* --- Reportagen-Kacheln (Editorial) --- */
.hb-weddings--tiles { margin-top: 44px; gap: 18px 18px; }
.hb-weddings--tiles .hb-wedding__media { border-radius: 12px; aspect-ratio: 4 / 5; }
.hb-weddings--tiles .hb-wedding__title { font-family: var(--hb-display, inherit); font-size: 1.35rem; margin-top: 12px; letter-spacing: 0.01em; }
.hb-weddings--tiles .hb-wedding__place { margin-top: 2px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hb-muted); }
.hb-weddings--tiles .hb-wedding:nth-child(4n + 1) .hb-wedding__media,
.hb-weddings--tiles .hb-wedding:nth-child(4n + 4) .hb-wedding__media { aspect-ratio: 3 / 4; }

/* --- Einzelne Reportage --- */
.hb-editorial h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.hb-editorial p { font-size: 1.02rem; line-height: 1.85; }
.hb-section--tight { padding-top: 12px; }
.hb-wedding-single .hb-masonry { column-gap: 8px; }
.hb-wedding-single .hb-masonry__item { margin-bottom: 8px; border-radius: 10px; }
@media (min-width: 901px) { .hb-wedding-single .hb-masonry { column-count: 2; } }

/* --- Filmblock der Reportage --- */
.hb-film-section .hb-film { margin-top: 32px; }
.hb-film {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 12px;
	overflow: hidden;
	background: #14100e;
}
.hb-film__poster,
.hb-film__video,
.hb-film__embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}
.hb-film__video { opacity: 0; transition: opacity 0.25s ease; }
.hb-film.is-playing .hb-film__video { opacity: 1; }
.hb-film.is-playing .hb-film__poster,
.hb-film.is-playing .hb-film__play { opacity: 0; pointer-events: none; }
.hb-film__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	background: linear-gradient(180deg, rgba(20, 16, 14, 0.1), rgba(20, 16, 14, 0.45));
	border: 0;
	cursor: pointer;
	transition: opacity 0.25s ease;
}
.hb-film__play-icon {
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
	position: relative;
	transition: transform 0.2s ease;
}
.hb-film__play:hover .hb-film__play-icon { transform: scale(1.06); }
.hb-film__play-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 13px 0 13px 21px;
	border-color: transparent transparent transparent #14100e;
}
@media (max-width: 700px) {
	.hb-film { border-radius: 10px; }
	.hb-film__play-icon { width: 58px; height: 58px; }
	.hb-film__play-icon::after { border-width: 10px 0 10px 16px; }
}

/* Hero-Video: Bild-Alternative bei reduzierter Bewegung */
.hb-hero__video-fallback { display: none; }
@media (prefers-reduced-motion: reduce) {
	.hb-hero__video { display: none; }
	.hb-hero__video-fallback { display: block; width: 100%; height: 100%; object-fit: cover; }
}

/* Reportage-Kopf: zentrierter Titel, Subline und Location-Badges */
.hb-wedding-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hb-wedding-head__badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 4px 0 22px; }
.hb-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 16px;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 999px;
	background: rgba(255, 255, 255, .7);
	font-size: 14px;
	letter-spacing: .02em;
	line-height: 1.2;
	text-decoration: none;
	color: inherit;
}
.hb-badge--link { border-color: var(--hb-accent); color: var(--hb-accent); transition: background .2s ease, color .2s ease; }
.hb-badge--link:hover, .hb-badge--link:focus { background: var(--hb-accent); color: #fff; }
.hb-wedding-single .hb-film-section .hb-film { width: 100%; }

/* Reportagen-Kacheln: Titel & Ort als Overlay im unteren Drittel */
.hb-wedding__media { position: relative; }
.hb-wedding__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	padding: 22% 18px 18px;
	text-align: left;
	background: linear-gradient(to top, rgba(20, 14, 12, .72) 0%, rgba(20, 14, 12, .45) 45%, rgba(20, 14, 12, 0) 100%);
	pointer-events: none;
}
.hb-weddings .hb-wedding__title,
.hb-weddings--tiles .hb-wedding__title {
	display: block;
	margin: 0;
	color: #fff;
	font-family: var(--hb-display, inherit);
	font-size: clamp(1.05rem, 1.6vw, 1.45rem);
	line-height: 1.2;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.hb-weddings .hb-wedding__place,
.hb-weddings--tiles .hb-wedding__place {
	display: block;
	margin: 6px 0 0;
	color: rgba(255, 255, 255, .88);
	font-size: .7rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .35);
}

@media (max-width: 640px) {
	.hb-wedding__overlay { padding: 26% 14px 14px; }
	.hb-weddings .hb-wedding__title { font-size: 1.05rem; }
	.hb-weddings .hb-wedding__place { font-size: .64rem; letter-spacing: .14em; }
}

/* Location-Siegel auf der Reportage-Landingpage */
.hb-wedding-head__wrap { position: relative; }
.hb-seal {
	position: absolute;
	top: -28px;
	right: 0;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--hb-cream, #fbf6ef);
	border: 1px solid var(--hb-accent);
	box-shadow: 0 18px 40px rgba(20, 14, 12, .12);
	z-index: 3;
}
.hb-seal::before {
	content: "";
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .12);
	pointer-events: none;
}
.hb-seal__inner { display: block; padding: 0 24px; }
.hb-seal__row { display: block; }
.hb-seal__row + .hb-seal__row { margin-top: 12px; }
.hb-seal__label {
	display: block;
	font-size: .6rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--hb-accent);
}
.hb-seal__name {
	display: block;
	margin-top: 3px;
	font-family: var(--hb-display, inherit);
	font-size: .98rem;
	line-height: 1.25;
	color: inherit;
	text-decoration: none;
}
a.hb-seal__name:hover, a.hb-seal__name:focus { text-decoration: underline; }

@media (max-width: 980px) {
	.hb-seal {
		position: static;
		width: 175px;
		height: 175px;
		margin: 0 auto 24px;
	}
	.hb-wedding-head__wrap { display: flex; flex-direction: column-reverse; }
}

/* ---------------------------------------------------------------------------
   Doppelbilder, Paket-Siegel & Planer-Rubrik
   ------------------------------------------------------------------------ */
.hb-duo { position: relative; padding-bottom: 60px; padding-right: 40px; }
.hb-duo__main img,
.hb-duo__over img { width: 100%; height: auto; display: block; border-radius: 6px; }
.hb-duo__over {
	position: absolute; right: 0; bottom: 0; width: 46%;
	border: 6px solid var(--hb-cream, #fbf6ef);
	border-radius: 8px; overflow: hidden;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
@media (max-width: 700px) {
	.hb-duo { padding-bottom: 40px; padding-right: 24px; }
	.hb-duo__over { width: 52%; }
}

.hb-planner-teaser__shots .hb-duo__main img,
.hb-planner-teaser__shots .hb-duo__over img { border-radius: 8px; }
.hb-planner-teaser__shots .hb-duo__over { width: 58%; right: -8px; bottom: -8px; }
@media (max-width: 700px) {
	.hb-planner-teaser__shots { padding: 0; }
	.hb-planner-teaser__shots .hb-duo__over {
		position: static; width: 100%; margin-top: 16px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
	}
}

.hb-package__media { position: relative; overflow: visible; }
.hb-package__foot { margin-top: auto; padding-top: 14px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hb-package__foot .hb-btn { margin-top: 0; }
.hb-package__foot .hb-package__price { margin: 0; }

.hb-pseal {
	position: absolute; top: -18px; right: -14px; z-index: 3;
	width: 104px; height: 104px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--hb-accent, #d6156d); color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.85);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
	text-align: center; padding: 10px;
}
.hb-pseal__text {
	font-family: var(--hb-display, serif);
	font-size: 0.86rem; line-height: 1.15; letter-spacing: 0.02em;
	display: block; max-width: 84px;
}
.hb-pseal--rotate { animation: hb-seal-spin 18s linear infinite; }
.hb-pseal--signature {
	top: auto; bottom: -18px; right: auto; left: -14px;
	background: var(--hb-sand, #f6eee3);
	color: var(--hb-ink, #1f1a17);
	border: 2px solid var(--hb-gold, #c8a56a);
	animation-direction: reverse; animation-duration: 24s;
	width: 118px; height: 118px;
}
.hb-pseal--signature .hb-pseal__text { max-width: 96px; }
@keyframes hb-seal-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hb-pseal--rotate { animation: none; } }
@media (max-width: 620px) {
	.hb-pseal { width: 88px; height: 88px; }
	.hb-pseal--signature { width: 96px; height: 96px; left: -8px; }
	.hb-pseal__text { font-size: 0.76rem; }
}

/* Hinweis: Hochzeitsplaner an jeder Preiskachel */
.hb-package__planner {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
	margin: 2px 0 4px; padding: 7px 14px 7px 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--hb-accent, #d6156d) 10%, #fff);
	border: 1px solid color-mix(in srgb, var(--hb-accent, #d6156d) 35%, #fff);
	color: var(--hb-accent, #d6156d) !important;
	font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
	line-height: 1.2; text-decoration: none;
}
a.hb-package__planner:hover {
	background: var(--hb-accent, #d6156d);
	color: #fff !important;
	border-color: var(--hb-accent, #d6156d);
}
.hb-package__planner-icon {
	flex: none; width: 16px; height: 16px; border-radius: 4px;
	border: 1.5px solid currentColor; position: relative;
}
.hb-package__planner-icon::before {
	content: ""; position: absolute; left: 1px; right: 1px; top: 3px;
	border-top: 1.5px solid currentColor;
}
.hb-package__planner-icon::after {
	content: ""; position: absolute; left: 3px; top: 6px; width: 5px; height: 3px;
	border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
}
.hb-package--signature .hb-package__planner,
.hb-package__planner--signature {
	background: color-mix(in srgb, var(--hb-gold, #c8a56a) 16%, #fff);
	border-color: var(--hb-gold, #c8a56a);
	color: #8a6a2f !important;
}
a.hb-package__planner--signature:hover {
	background: var(--hb-gold, #c8a56a);
	border-color: var(--hb-gold, #c8a56a);
	color: #1f1a17 !important;
}

.hb-planner-teaser .hb-check { margin-top: 18px; }
.hb-planner-teaser__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Siegel als echtes Overlay + einheitliche Mobil-Abstände (v9) ---------- */
:root { --hb-gutter: 24px; }
.hb-container { padding-left: var(--hb-gutter); padding-right: var(--hb-gutter); }

/* Kacheln dürfen das Siegel überstehen lassen */
.hb-packages { padding-top: 34px; overflow: visible; }
.hb-package { overflow: visible; position: relative; }
.hb-package__media { overflow: hidden; border-radius: 14px 14px 0 0; }
.hb-package--signature { overflow: visible; }
.hb-package--signature .hb-package__media { border-radius: 6px 0 0 6px; }
@media (max-width: 900px) { .hb-package--signature .hb-package__media { border-radius: 6px 6px 0 0; } }

.hb-pseal {
	position: absolute; top: -32px; right: -26px; bottom: auto; left: auto; z-index: 6;
	width: 140px; height: 140px; padding: 14px;
	border: 3px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 14px 30px -12px rgba(20, 18, 17, 0.45);
}
.hb-pseal__text { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.1; max-width: 108px; }

.hb-pseal--signature {
	top: -34px; right: -28px; bottom: auto; left: auto;
	width: 152px; height: 152px;
	background: linear-gradient(180deg, #f7edd6 0%, #e8d09a 100%);
	color: #6b4f14;
	border: 3px solid #c9a227;
	box-shadow: 0 16px 34px -14px rgba(120, 90, 20, 0.5);
}
.hb-pseal--signature .hb-pseal__text { max-width: 118px; color: #6b4f14; }

@media (max-width: 1100px) {
	.hb-pseal { width: 118px; height: 118px; top: -26px; right: -16px; }
	.hb-pseal--signature { width: 126px; height: 126px; top: -28px; right: -18px; }
	.hb-pseal__text { font-size: 1rem; max-width: 96px; }
}
@media (max-width: 620px) {
	.hb-packages { padding-top: 30px; }
	.hb-pseal { width: 104px; height: 104px; top: -22px; right: -8px; }
	.hb-pseal--signature { width: 112px; height: 112px; top: -24px; right: -8px; }
	.hb-pseal__text { font-size: 0.95rem; max-width: 84px; }
}

/* Einheitliche Ränder in der Mobilansicht */
@media (max-width: 700px) {
	:root { --hb-gutter: 20px; }
	.hb-container,
	.hb-hero__content,
	.hb-form,
	.hb-planner-teaser__inner,
	.hb-wedding-single__intro { padding-left: var(--hb-gutter); padding-right: var(--hb-gutter); }
	.hb-container .hb-container,
	.hb-container .hb-hero__content,
	.hb-container .hb-form,
	.hb-container .hb-planner-teaser__inner,
	.hb-container .hb-wedding-single__intro { padding-left: 0; padding-right: 0; }
	.hb-narrow, .hb-center, .hb-entry-content, .hb-editorial, .hb-section__body, .hb-packages, .hb-check, .hb-upsells {
		padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0;
	}
	.hb-section > .hb-container { padding-left: var(--hb-gutter); padding-right: var(--hb-gutter); }
}

/* Drag & Drop in Galerien */
.hb-edit-mode .hb-masonry[data-hb-gallery-slot] img { cursor: grab; }
.hb-edit-mode .hb-masonry__item.is-dragging { opacity: 0.45; }
.hb-edit-mode .hb-masonry__item.is-drop-target { outline: 3px dashed var(--hb-accent, #d6156d); outline-offset: 3px; }

/* --- Hochzeitsplaner Login im Menü --- */
.hb-planner-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--hb-gold, #b79256); color: var(--hb-ink, #2b2724); background: transparent; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; flex: none; }
.hb-planner-icon:hover { background: var(--hb-gold, #b79256); color: #fff; transform: translateY(-1px); }
.hb-planner-icon.is-in::after { content: ""; position: absolute; top: 2px; right: 2px; width: 9px; height: 9px; border-radius: 50%; background: #4b9b6e; border: 2px solid #fff; }
@media (max-width: 900px) { .hb-planner-icon { width: 36px; height: 36px; } }

/* Planer Login/Registrierung */
.hb-planner-tabs { display: flex; gap: 8px; justify-content: center; margin: 0 0 22px; }
.hb-planner-tabs a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(0,0,0,.12); text-decoration: none; color: inherit; font-size: .9rem; }
.hb-planner-tabs a.is-active { background: var(--hb-gold, #b79256); border-color: var(--hb-gold, #b79256); color: #fff; }
.hb-register-card { max-width: 520px; margin: 0 auto; padding: 24px; border: 1px solid rgba(0,0,0,.1); border-radius: 16px; background: #fff; }
.hb-register-card label { display: block; margin-bottom: 14px; font-size: .9rem; }
.hb-register-card input[type="text"], .hb-register-card input[type="email"], .hb-register-card input[type="password"], .hb-register-card input[type="date"], .hb-register-card textarea { width: 100%; padding: 11px 13px; border: 1px solid rgba(0,0,0,.15); border-radius: 10px; font: inherit; margin-top: 6px; }
.hb-register-card .hb-hp { position: absolute; left: -9999px; }
.hb-notice { max-width: 520px; margin: 0 auto 18px; padding: 14px 16px; border-radius: 12px; font-size: .95rem; }
.hb-notice--ok { background: rgba(75,155,110,.12); border: 1px solid rgba(75,155,110,.4); }
.hb-notice--error { background: rgba(190,70,60,.1); border: 1px solid rgba(190,70,60,.35); }


/* ---------- Hochzeitsplanung: Tagesablauf als Karten ---------- */
.hb-timeline-wrap { margin-top: 48px; }
.hb-timeline {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 820px;
	display: grid;
	gap: 14px;
}
.hb-timeline__item {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, .08);
	border-radius: 16px;
	padding: 18px 20px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}
.hb-timeline__time {
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--hb-gold, #b08d57);
}
.hb-timeline__body { min-width: 0; }
.hb-timeline__title { margin: 0 0 6px; font-size: 1.15rem; }
.hb-timeline__body p { margin: 0; opacity: .85; }

@media (max-width: 720px) {
	.hb-timeline__item { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
}


/* --- Hochzeitsplaner: Drag & Drop, Dauer, Richtzeiten --- */
.hb-planner__handle { cursor: grab; opacity: .35; font-size: 18px; line-height: 1; user-select: none; }
.hb-planner__handle:active { cursor: grabbing; }
.hb-planner__card { grid-template-columns: 24px 128px minmax(0,1fr) 30px; align-items: start; transition: box-shadow .2s ease, transform .2s ease; }
.hb-planner__card.is-dragging { opacity: .5; }
.hb-planner__card.is-over { box-shadow: 0 0 0 2px var(--hb-accent, #e6497f); }
.hb-planner__times { display: grid; gap: 2px; }
.hb-planner__durwrap { display: flex; align-items: center; gap: 4px; font-size: 13px; opacity: .7; }
.hb-planner__duration { width: 62px !important; border: 1px solid rgba(38,32,29,.15) !important; border-radius: 8px; padding: 4px 6px !important; }
.hb-planner__end { font-size: 13px; opacity: .6; }
.hb-planner__tip { margin: 6px 0 0; font-size: .85rem; opacity: .7; }
.hb-planner__role { cursor: grab; }
.hb-planner__role:active { cursor: grabbing; }

@media (max-width: 640px) {
	.hb-planner__card { grid-template-columns: 20px 104px minmax(0,1fr) 26px; }
	.hb-planner__duration { width: 54px !important; }
}

@media print {
	.hb-planner__handle, .hb-planner__tip { display: none !important; }
	.hb-planner__card { grid-template-columns: 130px minmax(0,1fr); page-break-inside: avoid; }
	.hb-planner__end, .hb-planner__durwrap { opacity: 1; color: #000; }
	.hb-planner__role { box-shadow: none; border: 1px solid #ddd; page-break-inside: avoid; }
	.hb-planner__task select, .hb-planner__chip { display: none !important; }
}

/* SEO-Textblock der Startseite */
.hb-seo-text .hb-prose { font-size: 1.02rem; line-height: 1.85; }
.hb-seo-text .hb-prose h2 { margin-top: 1.4em; }
.hb-seo-text .hb-prose h2:first-child { margin-top: 0; }
.hb-seo-text .hb-prose h3 { margin-top: 1.2em; }
.hb-seo-text .hb-prose ul { padding-left: 1.2em; }
.hb-seo-text .hb-prose img { border-radius: 14px; }
