/* ═══════════════════════════════════════════════════════════════
   SEOVisory — assets/custom.css
   Blocksy-Overrides: Typo, Header, Nav, Buttons, Footer, Blöcke
   Blocksy-Version: 2.x (getestet mit Blocksy Pro)
═══════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────
   GLOBALE TYPOGRAFIE
──────────────────────────────────────── */
body,
.entry-content,
.ct-container {
    font-family: 'DM Sans', sans-serif;
    color: #1a2a3a;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.ct-header h1,
.ct-header h2 {
    font-family: 'Syne', sans-serif;
    color: #2d3e50;
    line-height: 1.18;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 700; }

/* ────────────────────────────────────────
   HEADER & NAVIGATION
──────────────────────────────────────── */

/* Haupt-Header-Hintergrund */
.ct-header,
#header,
.site-header {
    background-color: #1e2d3e !important;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Sticky Header */
.ct-sticky-active .ct-header,
[data-sticky="yes"] .ct-header {
    background-color: rgba(30,45,62,0.97) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Logo */
.ct-logo-container a,
.site-title a,
.custom-logo-link {
    color: #ffffff !important;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Nav-Links */
.ct-main-header-row .ct-menu > li > a,
#menu-main-menu > li > a,
.menu-item a {
    color: rgba(255,255,255,0.78) !important;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.ct-main-header-row .ct-menu > li > a:hover,
.ct-main-header-row .ct-menu > li.current-menu-item > a {
    color: #ffffff !important;
}

/* Nav CTA Button (letzte Menüoption) */
.ct-main-header-row .ct-menu > li:last-child > a,
.menu-item.cta-button > a {
    background: #f9a800 !important;
    color: #1e2d3e !important;
    border-radius: 8px;
    padding: 10px 20px !important;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ct-main-header-row .ct-menu > li:last-child > a:hover {
    background: #e09600 !important;
    transform: translateY(-1px);
}

/* Mobile Menu */
.ct-mobile-header,
[data-device="mobile"] .ct-header {
    background-color: #1e2d3e !important;
}
.ct-mobile-header .menu-item a { color: rgba(255,255,255,0.85) !important; }

/* Dropdown */
.ct-header .sub-menu {
    background: #253649;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.ct-header .sub-menu .menu-item a {
    color: rgba(255,255,255,0.78) !important;
    font-size: 0.88rem !important;
}
.ct-header .sub-menu .menu-item a:hover { color: #fff !important; }

/* ────────────────────────────────────────
   BUTTONS (Gutenberg + Blocksy)
──────────────────────────────────────── */
.wp-block-button__link,
.ct-button,
.button,
input[type="submit"],
button[type="submit"] {
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
}

/* Primary Button */
.wp-block-button:not(.is-style-outline) .wp-block-button__link,
.ct-button,
.blocksy-button {
    background-color: #f9a800 !important;
    color: #1e2d3e !important;
    border-color: #f9a800 !important;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.ct-button:hover {
    background-color: #e09600 !important;
    border-color: #e09600 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(249,168,0,0.32) !important;
}

/* Outline Button */
.wp-block-button.is-style-outline .wp-block-button__link {
    border-color: #2d3e50 !important;
    color: #2d3e50 !important;
    background: transparent !important;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #f7f8f9 !important;
}

/* ────────────────────────────────────────
   LINKS
──────────────────────────────────────── */
a {
    color: #f9a800;
    transition: color 0.2s ease;
}
a:hover { color: #e09600; }

.entry-content a:not(.wp-block-button__link):not(.btn) {
    color: #f9a800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

/* ────────────────────────────────────────
   FORMULARE
──────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select {
    font-family: 'DM Sans', sans-serif;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f7f8f9;
    color: #1a2a3a;
    transition: border-color 0.2s ease, background 0.2s ease;
    padding: 10px 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #f9a800;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(249,168,0,0.12);
}

/* ────────────────────────────────────────
   BLOCKSY WIDGETS / CARDS
──────────────────────────────────────── */

/* Content Cards */
.ct-card,
article.ct-post,
.card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.ct-card:hover,
article.ct-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    border-color: #f9a800;
}

/* Section Headings */
.ct-section-title,
.wp-block-heading {
    font-family: 'Syne', sans-serif;
    color: #2d3e50;
}

/* ────────────────────────────────────────
   HERO-BLOCK (Blocksy Hero / Gutenberg Cover)
──────────────────────────────────────── */
.wp-block-cover,
.ct-hero-section {
    background-color: #2d3e50;
}

.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover p,
.ct-hero-section h1,
.ct-hero-section p {
    color: #ffffff;
}

/* ────────────────────────────────────────
   GUTENBERG FARB-KLASSEN
   Damit Farbfelder im Editor nutzbar sind
──────────────────────────────────────── */
.has-sv-orange-color         { color: #f9a800 !important; }
.has-sv-navy-color           { color: #2d3e50 !important; }
.has-sv-lightblue-color      { color: #7ecde4 !important; }
.has-sv-coral-color          { color: #ff6464 !important; }

.has-sv-orange-background-color    { background-color: #f9a800 !important; }
.has-sv-navy-background-color      { background-color: #2d3e50 !important; }
.has-sv-lightblue-background-color { background-color: #7ecde4 !important; }
.has-sv-off-background-color       { background-color: #f7f8f9 !important; }
.has-sv-grey-background-color      { background-color: #e8e9ea !important; }

/* ────────────────────────────────────────
   FOOTER
──────────────────────────────────────── */
#footer,
.ct-footer-area,
.site-footer {
    background-color: #1e2d3e !important;
    color: rgba(255,255,255,0.6);
}

.ct-footer-area h4,
.ct-footer-area h5,
.ct-footer-area .widget-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 16px;
}

.ct-footer-area a,
.site-footer a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none;
    transition: color 0.2s;
}
.ct-footer-area a:hover,
.site-footer a:hover {
    color: #ffffff !important;
}

/* Footer Bottom Bar */
.ct-footer-bottom,
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.28);
    font-size: 0.75rem;
}

/* ────────────────────────────────────────
   WP SEARCH / WIDGETS
──────────────────────────────────────── */
.search-submit,
.wp-block-search__button {
    background: #f9a800 !important;
    color: #1e2d3e !important;
    border-radius: 8px;
    font-weight: 600;
}

/* ────────────────────────────────────────
   SCROLLBAR (optional, Chrome/Edge)
──────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f7f8f9; }
::-webkit-scrollbar-thumb { background: #c2ccd6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #2d3e50; }

/* ────────────────────────────────────────
   SELECTION COLOR
──────────────────────────────────────── */
::selection {
    background: rgba(249,168,0,0.25);
    color: #1a2a3a;
}

/* ────────────────────────────────────────
   UTILITY — eigene Klassen für Blöcke
   (im Gutenberg-Editor als "Zusätzliche CSS-Klasse" verwendbar)
──────────────────────────────────────── */

/* Hintergründe */
.sv-bg-navy      { background-color: #2d3e50 !important; color: #fff; }
.sv-bg-navy-dark { background-color: #1e2d3e !important; color: #fff; }
.sv-bg-orange    { background-color: #f9a800 !important; }
.sv-bg-off       { background-color: #f7f8f9 !important; }
.sv-bg-blue-pale { background-color: #eaf6fb !important; }

/* Abgerundete Karte */
.sv-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 36px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sv-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.1);
    border-color: #f9a800;
}

/* Orange Akzentlinie oben */
.sv-accent-top {
    border-top: 4px solid #f9a800 !important;
}
.sv-accent-top-blue {
    border-top: 4px solid #7ecde4 !important;
}

/* CTA Bereich auf Orange */
.sv-cta-section {
    background: #f9a800;
    border-radius: 12px;
    padding: 56px;
    text-align: center;
}
.sv-cta-section h2 { color: #1e2d3e !important; }
.sv-cta-section p  { color: rgba(30,45,62,0.72); }

/* Eyebrow Label */
.sv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f9a800;
    background: #fff8e6;
    border: 1px solid rgba(249,168,0,0.25);
    padding: 4px 13px;
    border-radius: 99px;
    margin-bottom: 16px;
    display: inline-block;
}
.sv-eyebrow.blue {
    color: #2180a0;
    background: #eaf6fb;
    border-color: rgba(126,205,228,0.3);
}

/* Schritt-Nummern */
.sv-step-num {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #2d3e50;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
