/**
 * Typography - Dein-Brautstrauss
 */

:root {
    --heading-font: 'Libre Baskerville', serif;
    --body-font: 'Nunito', sans-serif;
    --primary-text-color: #444444;
    --heading-color: #2c2c2c;
    --accent-red: #b6000f;
    --accent-bg: #F8DDCF; /* Pfirsich-Ton für CTA-Boxen */
}

body {
    font-family: var(--body-font);
    color: var(--primary-text-color);
    font-size: 19px;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-weight: 700;
}

/* Copy-Blöcke aus Elementor-HTML (Startseite und Unterseiten) */
.dbs-kicker,
.dbs-copy {
    max-width: 1000px;
    margin: 2.25rem auto 0;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.dbs-kicker {
    text-align: center;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0.5rem 1.5rem !important;
}

/* Kit-34630 h2 (24px/#B30000/600) lädt später — nur dbs-Kicker, nicht globale H2 */
.elementor-kit-34630 .dbs-kicker h2,
.dbs-kicker h2 {
    font-family: var(--heading-font);
    font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
    font-weight: 400 !important;
    color: var(--accent-red) !important;
    margin: 0;
    line-height: 1.5;
}

/* Abschnittstitel: Brautstrauß, Kirchendeko, Accessoires, FAQ, Service … */
.dbs-headline,
.headline-section {
    max-width: 1000px;
    margin: 1.5rem auto 0.35rem;
    padding: 0 1.5rem;
    text-align: center;
    box-sizing: border-box;
    border: none;
}

/* Kit-H2/H1 nicht global überschreiben — Hero-H1 bleibt rot (liegt nicht in .dbs-headline) */
.elementor-kit-34630 .dbs-headline h1,
.elementor-kit-34630 .dbs-headline h2,
.elementor-kit-34630 .headline-section h1,
.elementor-kit-34630 .headline-section h2,
.dbs-headline h1,
.dbs-headline h2,
.headline-section h1,
.headline-section h2 {
    font-family: var(--heading-font);
    font-size: 2.1rem !important;
    font-weight: 400 !important;
    color: var(--heading-color) !important;
    margin: 0;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .elementor-kit-34630 .dbs-headline h1,
    .elementor-kit-34630 .dbs-headline h2,
    .elementor-kit-34630 .headline-section h1,
    .elementor-kit-34630 .headline-section h2,
    .dbs-headline h1,
    .dbs-headline h2,
    .headline-section h1,
    .headline-section h2 {
        font-size: 2.5rem !important;
        letter-spacing: 0.03em;
    }
}

@media (min-width: 1100px) {
    .elementor-kit-34630 .dbs-headline h1,
    .elementor-kit-34630 .dbs-headline h2,
    .elementor-kit-34630 .headline-section h1,
    .elementor-kit-34630 .headline-section h2,
    .dbs-headline h1,
    .dbs-headline h2,
    .headline-section h1,
    .headline-section h2 {
        font-size: 2.75rem !important;
    }
}

.dbs-headline .dbs-sub {
    font-family: var(--body-font);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-text-color);
    margin: 0.45rem 0 0;
}

/* Elementor-Leerraum um den Titel zusammenziehen */
.elementor-widget-text-editor:has(.dbs-headline),
.elementor-widget-text-editor:has(.headline-section) {
    margin: 0 !important;
    padding-block: 0 !important;
}

.e-con:has(> .e-con-inner .dbs-headline),
.e-con:has(> .dbs-headline),
.e-con:has(.dbs-headline):not(:has(.dbs-copy)),
.elementor-element:has(> .elementor-widget-container .dbs-headline),
.elementor-element:has(> .elementor-widget-container .headline-section) {
    --padding-block-start: 12px;
    --padding-block-end: 4px;
    padding-top: 12px !important;
    padding-bottom: 4px !important;
    min-height: 0 !important;
}

.dbs-copy section {
    margin: 0 0 2rem;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.dbs-copy section:last-child {
    margin-bottom: 0;
}

.elementor-kit-34630 .dbs-copy h3,
.dbs-copy h3 {
    font-family: var(--body-font);
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--primary-text-color) !important;
    text-align: center;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}

.dbs-copy p {
    font-family: var(--body-font);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--primary-text-color);
    margin: 0;
}

.dbs-copy .is-center p,
.dbs-copy p.is-center {
    text-align: center;
}

.dbs-copy ul {
    margin: 0.5rem 0 0;
    padding-left: 1.4rem;
}

.dbs-copy li {
    margin: 0 0 0.35rem;
    padding: 0.45rem 0;
    line-height: 1.55;
}

.dbs-copy li:last-child {
    margin-bottom: 0;
}

.dbs-copy a {
    color: var(--accent-red);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.dbs-copy a:hover {
    color: var(--heading-color);
}

/* FAQ <details>: Tipplücke mobil, kein Extra-Design */
.dbs-copy details {
    margin: 0 0 0.45rem;
}

.dbs-copy details + h3 {
    margin-top: 1.75rem;
}

.dbs-copy summary {
    cursor: pointer;
    display: block;
    box-sizing: border-box;
    padding: 0.75rem 0;
    line-height: 1.45;
    min-height: 44px;
}

.dbs-copy details p {
    margin: 0.35rem 0 0.9rem;
}

/* Alte Inline-Überschriftenbox (voller Rahmen + radius) — kein Kasten mehr */
.elementor-widget-text-editor section[style*="border-radius"] {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.elementor-widget-text-editor h2[style*="#b02a35"],
.elementor-widget-text-editor h3[style*="#b02a35"],
.elementor-widget-text-editor a[style*="#b02a35"] {
    color: var(--accent-red) !important;
}

.elementor-widget-text-editor section[style*="#b02a35"] {
    border-color: var(--accent-red) !important;
}

/* Spezifische CTA-Boxen Styling von dein-brautstrauss.de */
.entry-content div[style*="background-color: #F8DDCF"],
div[style*="background-color: #F8DDCF"] {
  background-color: var(--accent-bg) !important;
  color: #222 !important;
  padding: 1.5rem 2rem !important;
  border-radius: 1rem !important;
  text-align: center !important;
}

.zufaelliger-text {
    background: #fff9f6;
    padding: 20px;
    border-left: 4px solid var(--accent-bg);
    margin: 20px 0;
    font-style: italic;
}

/* Legal Pages — Styles nur hier, nie als <style> im Editor (TinyMCE-Korruption) */
.liza-legal-section {
    max-width: 1000px;
    margin: 2.25rem auto 0;
    padding: 0 1.5rem;
    box-sizing: border-box;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--body-font);
    color: var(--primary-text-color);
    line-height: 1.8;
}

.elementor-kit-34630 .liza-legal-section h2,
.elementor-kit-34630 .liza-legal-section h3,
.elementor-kit-34630 .liza-legal-section h4,
.liza-legal-section h2,
.liza-legal-section h3,
.liza-legal-section h4 {
    color: var(--heading-color) !important;
    font-weight: 400 !important;
    border: none;
    padding-bottom: 0;
}

.elementor-kit-34630 .liza-legal-section h2,
.liza-legal-section h2 {
    font-family: var(--heading-font);
    font-size: 1.5rem !important;
    margin: 2.25rem 0 1rem;
}

.elementor-kit-34630 .liza-legal-section h3,
.liza-legal-section h3 {
    font-family: var(--body-font);
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    margin: 1.75rem 0 0.75rem;
}

.elementor-kit-34630 .liza-legal-section h4,
.liza-legal-section h4 {
    font-family: var(--body-font);
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    margin: 1.5rem 0 0.5rem;
}

.liza-legal-section h2:first-child {
    margin-top: 0;
}

.liza-legal-section p {
    margin: 0 0 1.2rem;
}

.liza-legal-section ul {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.liza-legal-section li {
    margin-bottom: 0.5rem;
}

.liza-legal-section a {
    color: var(--accent-red);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* Footer-Block (Elementor-HTML-Widget, gleiche Texte) */
.dbs-footer {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    box-sizing: border-box;
    text-align: center;
    font-family: var(--body-font);
    color: var(--primary-text-color);
    background: none;
}

.dbs-footer-logo {
    display: inline-block;
    margin: 0 0 1rem;
}

.dbs-footer-logo img {
    display: block;
    width: auto;
    max-width: 200px;
    height: auto;
    max-height: 80px;
    margin: 0 auto;
}

.dbs-footer-claim {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--heading-color);
    margin: 0 0 1.25rem;
    line-height: 1.4;
}

.dbs-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0;
    margin: 0 0 1.25rem;
}

.dbs-footer-nav a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0;
}

.dbs-footer-nav a:not(:last-child)::after {
    content: "|";
    margin: 0 0.75rem;
    color: #888;
    font-weight: 400;
}

.dbs-footer-nav a:hover {
    color: var(--heading-color);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.dbs-footer p {
    margin: 0.25rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
}

.dbs-footer-phone {
    margin-top: 0.75rem !important;
    font-weight: 600;
}

.dbs-footer-phone a {
    color: var(--heading-color);
    text-decoration: none;
}

.dbs-footer-phone a:hover {
    color: var(--accent-red);
}
