/* =========================================================
   NOVAPRESS THEME STYLESHEET
   =========================================================

   INHALT
   01. Root / Tokens
   02. Reset / Base
   03. Typography
   04. Layout
   05. Header / Navigation / Search
   06. Buttons
   07. Hero
   08. Content / Page
   09. Grid System
   10. Cards
   11. PageBuilder
   12. Smartform
   13. Footer
   14. Utilities
   15. Responsive

   ========================================================= */


/* =========================================================
   01. ROOT / TOKENS
   ========================================================= */

:root {
    --surface: #f3f4f5;
    --page-bg: #e8e9eb;
    --text: #333333;

    /* Fallbacks / ergänzte Variablen */
    --primary: #c2484d;
    --primary-dark: #a83a3f;
    --accent: #ff6600;
    --dark: #222222;
    --container-width: 1400px;

    /* Optional, falls nicht dynamisch gesetzt */
    --hero-bg: none;
    --body-bg: none;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 18px;

    /* Shadows */
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.10);
    --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 16px 34px rgba(0, 0, 0, 0.16);
}


/* =========================================================
   02. RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page-bg) var(--body-bg) repeat-x top center;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.2;
    font-weight: normal;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}


/* =========================================================
   03. TYPOGRAPHY
   ========================================================= */

p {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: normal;
}

.hero-black {
    color: #333333;
    font-weight: 600;
}


/* =========================================================
   04. LAYOUT
   ========================================================= */

.boxed {
    min-height: 100vh;
    max-width: var(--container-width);
    margin: 0 auto;
    background: var(--surface);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.18);
}

.container {
    width: 100%;
    padding: 0 40px;
}

.content-area {
    padding: 0 40px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 400;
}

.page-box {
    padding: 28px;
    background: #fff;
    border-radius: var(--radius-lg);
}

ul li {
    font-weight: normal;
}


/* =========================================================
   05. HEADER / NAVIGATION / SEARCH
   ========================================================= */

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 40px;
    background: #f3f4f5;
    border-bottom: 1px solid #e4e6e9;
}

.site-logo img {
    width: auto;
    max-height: 92px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    position: relative;
    padding: 8px 0;
    color: var(--dark);
    font-weight: 600;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: 0.25s;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
    left: 0;
    width: 100%;
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    padding: 11px;
    border-radius: var(--radius-sm);
}


/* =========================================================
   06. BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: max-content;
    padding: 10px 20px;
    background: #c2484d;
    color: #fff !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    white-space: nowrap;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: #000 !important;
}

/* Absicherung gegen gestreckte Buttons in Plugins / Formularen */
.btn,
a.btn,
button.btn,
input.btn,
.smartform .btn,
.smartform .btn.btn-primary {
    align-self: flex-start !important;
    color: #fff !important;
    flex: 0 0 auto !important;
    max-width: max-content !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    white-space: nowrap !important;
    width: auto !important;
}


/* =========================================================
   07. HERO
   ========================================================= */

.home-hero {
    max-height: 360px;
    padding: 70px 40px;
    background: var(--hero-bg) center / cover no-repeat;
    color: #c2484d;
}

.home-hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.home-hero-left {
    transform: translateY(-60px);
}

.home-hero-left h1 {
    margin-bottom: 16px;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

.home-hero-left p {
    color: #333333;
}

.home-hero-left .btn {
    display: inline-flex;
    margin-top: 15px;
}

.home-hero-right img {
    max-width: 100%;
    filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.35));
}


/* =========================================================
   08. CONTENT / PAGE
   ========================================================= */

.home-pagebuilder-content .container {
    padding-left: 0;
    padding-right: 0;
}


/* =========================================================
   09. GRID SYSTEM
   ========================================================= */

.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* =========================================================
   10. CARDS
   ========================================================= */

.card {
    position: relative;
    overflow: hidden;
    padding: 34px 28px;
    background: #f3f4f5;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    display: none;
    width: 100%;
    height: 8px;
}

.card:nth-child(2)::before {
    background: var(--primary-dark);
}

.card:nth-child(3)::before {
    background: var(--accent);
}

.card:nth-child(4)::before {
    background: #e74c3c;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.card h3 {
    margin-top: 0;
    color: #ca4b45;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 20px;
    font-weight: 700;
    transition: color 0.2s ease;
}

.card:hover h3 {
    color: var(--primary-dark);
}

.card img {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 !important;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card .btn {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}


/* =========================================================
   11. PAGEBUILDER
   ========================================================= */

/* Hero */
.pb-hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.pb-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    pointer-events: none;
}

.pb-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.pb-hero-content {
    max-width: 700px;
}

.pb-hero h1 {
    margin-bottom: 15px;
    color: var(--primary);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
}

.pb-hero p {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.1rem;
}

.pb-hero .btn {
    display: inline-flex;
}

/* Tabs */
.pb-tab-btn {
    color: #666;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 16px;
    font-weight: 700;
    transition: 0.2s;
}

.pb-tab-btn.active {
    color: #ca4b45;
    border-bottom: 2px solid #ff6600;
}

.pb-tab-btn:hover {
    color: #ca4b45;
}

.pb-tabs {
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Two Column Grid */
.pb-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Two Column Box */
.pb-two-col-box {
    position: relative;
    overflow: hidden;
    padding: 34px 28px;
    background: #f3f4f5;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 15px;
    line-height: 1.2;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.pb-two-col-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}


/* =========================================================
   12. SMARTFORM
   ========================================================= */

.smartform-wrapper {
    margin: 40px 0;
}

.smartform {
    max-width: 820px;
    padding: 32px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.smartform-title {
    margin: 0 0 22px;
    color: #111;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.15;
}

.smartform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.smartform .mb-3 {
    margin-bottom: 18px;
}

.smartform .form-label {
    display: block;
    margin-bottom: 8px;
    color: #222;
    font-size: 14px;
    font-weight: 700;
}

.smartform .form-control {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #d7dde3;
    border-radius: var(--radius-md);
    color: #111;
    font-size: 15px;
    line-height: 1.45;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.smartform textarea.form-control {
    min-height: 160px;
    resize: vertical;
}

.smartform .form-control::placeholder {
    color: #8a8f98;
}

.smartform .form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(216, 91, 99, 0.14);
}

.smartform .btn.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    background: #111;
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.smartform .btn.btn-primary:hover {
    background: #222;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.smartform .btn.btn-primary:active {
    transform: translateY(0);
}

.smartform .alert,
.smartform-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
}

.smartform .alert-success,
.smartform-message.success {
    background: #ecfdf3;
    border: 1px solid #b7ebc6;
    color: #166534;
}

.smartform .alert-danger,
.smartform-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}


/* =========================================================
   13. FOOTER
   ========================================================= */

.site-footer {
    padding: 40px;
    background: var(--dark);
    color: #fff;
    text-align: center;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 700;
}

.footer-grid,
.site-footer .footer-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px;
}

.footer-col,
.site-footer .footer-col {
    width: 100%;
    min-width: 0;
}

.site-footer .footer-col,
.site-footer .footer-col * {
    text-align: left !important;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ccc;
}


/* =========================================================
   14. UTILITIES
   ========================================================= */

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

/* ========================================================
   14.1 NEUESTE BEITRÄGE
   ======================================================== */

.home-news {
    margin: 60px 0;
}

.home-news .section-title {
    margin-bottom: 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 16px;
}

.news-content h3 {
    margin: 0;
    color: #333;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}


/* =========================================================
   15. RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 868px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container,
    .content-area {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-logo {
        width: 100%;
    }

    .site-logo img {
        max-height: 72px;
    }

    .main-nav a {
        display: block;
        width: 100%;
        padding: 6px 0;
    }

.site-header {
    flex-direction: column;
    align-items: flex-end; /* 👉 alles nach rechts */
    justify-content: flex-start;
    gap: 16px;
    padding: 20px;
}

.site-logo {
    width: 100%;
    text-align: left; /* 👉 Logo bleibt links */
}

.main-nav {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end; /* 👉 Nav rechts */
}

.main-nav a {
    text-align: right;
    width: auto;
}

.search-form {
    width: 100%;
    align-items: flex-end; /* 👉 Suche rechts */
}

.search-form input,
.search-form button {
    width: 100%;
}

    .smartform {
        padding: 22px;
        border-radius: 14px;
    }

    .smartform-title {
        font-size: 24px;
    }

    .smartform-grid {
        grid-template-columns: 1fr;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .news-grid,
    .pb-two-col-grid {
        grid-template-columns: 1fr;
    }

    .pb-two-col-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .site-footer .footer-bottom {
        margin-top: 20px;
        padding-top: 16px;
    }
}

/* =========================================================
   PLUGIN INLINE STYLES
   Diese Datei enthält Styles, die zuvor als Inline-CSS in Plugin-Dateien waren
   ========================================================= */

/* PageBuilder Card Styles */
.pb-card-inline{position:relative;overflow:hidden}.pb-card-top-bar{height:0;position:absolute;top:0;left:0;width:100%;background:var(--pb-card-top-bar-bg,#d85b63)}.pb-card-image{width:100%;border-radius:10px;margin-bottom:12px}.pb-card-icon{font-size:28px;margin-bottom:8px}.pb-card-button{margin-top:10px;display:inline-block}.fb-savebar-inline{justify-content:flex-start}.fb-form-inline{display:inline}.fb-table-cell-min-width{min-width:320px}.fb-table-cell-min-width-lg{min-width:360px}.fb-pre-inline{white-space:pre-wrap;margin:0;font-size:.82rem}.fb-step-hidden{display:none}.plugin-info-padding{padding:20px}.admin-h2-margin{margin-bottom:15px}.admin-margin-bottom{margin-bottom:10px}
.pb-pricing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:30px 0}.pb-pricing-card{height:100%;border:1px solid rgba(202,75,69,.18);box-shadow:0 18px 40px rgba(42,24,21,.08)}.pb-pricing-card-inner{height:100%;display:flex;flex-direction:column;gap:14px;font-family:"Bricolage Grotesque",sans-serif}.pb-pricing-title{margin:0;font-family:"Bricolage Grotesque",sans-serif;font-size:20px;line-height:1.2;color:#ca4b45}.pb-pricing-description{margin:0;font-family:"Bricolage Grotesque",sans-serif;font-size:14px;line-height:1.6;color:#3d3d3d}.pb-pricing-features{margin:0;padding-left:18px;font-family:"Bricolage Grotesque",sans-serif;font-size:14px;line-height:1.7;color:#2f2f2f}.pb-pricing-features li+li{margin-top:6px}.pb-pricing-price{margin-top:auto;font-family:"Bricolage Grotesque",sans-serif;font-size:19.5px;font-weight:700;line-height:1.3;color:#1f1f1f}.pb-pricing-button{margin-top:8px;display:inline-flex;align-self:flex-start}
@media (max-width:1100px){.pb-pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:680px){.pb-pricing-grid{grid-template-columns:1fr}}
