/* =============================================
   AURES – Hausverwaltung Theme CSS
   ============================================= */

/* ── Roboto Slab lokal ─────────────────────────────── */
@font-face {
    font-family: 'Roboto Slab';
    src: url('../fonts/roboto-slab-v24-latin-regular.woff2') format('woff2'),
         url('../fonts/roboto-slab-v24-latin-regular.woff')  format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Slab';
    src: url('../fonts/roboto-slab-v24-latin-700.woff2') format('woff2'),
         url('../fonts/roboto-slab-v24-latin-700.woff')  format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- Farben & Variablen -------------------- */
:root {
    --aures-braun:      #ac6d2c;
    --aures-braun-dark: #855c2e;
    --aures-gold:       #c9a96e;
    --aures-hell:       #f5f1eb;
    --aures-weiss:      #ffffff;
    --aures-text:       #2c2c2c;
    --aures-grau:       #6c757d;
    --font-body:        'Roboto', sans-serif;
    --font-heading:     'Roboto Slab', serif;
    --navbar-height:    80px;
    --navbar-bg-color:  #f5f1ebb3;
}

/* --- Reset & Basis ------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html, bodyb { scroll-behavior: smooth; }

body {
    font-family:    var(--font-body);
    color:          var(--aures-text);
    background:     var(--aures-hell);
    margin:         0;
    padding-top:    var(--navbar-height);
}

a { color: var(--aures-braun); text-decoration: none; }
a:hover { color: var(--aures-gold); text-decoration: underline; }

/* --- Navbar -------------------------------- */
.aures-navbar {
    background-color: var(--aures-hell);
    height:           var(--navbar-height);
    transition:       background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow:       0 2px 8px rgba(0,0,0,0.3);
}

.ms-auto {margin-right: auto !important;}

.aures-navbar.scrolled {
    background-color: rgba(74, 51, 25, 0.97);
    box-shadow:       0 2px 16px rgba(0,0,0,0.97);
}

.navbar-logo {
    max-height: 56px;
    width:      auto;
}

.aures-navbar .nav-link {
    color:          var(--aures-braun) !important;
    font-family:    var(--font-heading);
    font-weight:    600;
    letter-spacing: 0.02em;
    padding:        0.5rem 0.5rem !important;
    transition:     color 1s;
}

.aures-navbar .nav-link:hover,
.aures-navbar .nav-link.active {
    color: var(--aures-gold) !important;
}

.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-color: rgba(255, 255, 255, 0.55);
    --bs-navbar-hover-color: rgba
#ffffffbf
(255, 255, 255, 0.75);
    --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
    --bs-navbar-active-color: #fff;
    --bs-navbar-brand-color: #fff;
    --bs-navbar-brand-hover-color: #fff;
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
    --bs-navbar-toggler-icon-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28128, 128, 128, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e);
}

/* --- Portal-Button-------------------------------- */
.portal-btn {
    background-color: var(--aures-gold);
    color: #fff;
    border: 1px solid var(--aures-gold);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.portal-btn:hover,
.portal-btn:focus {
    background-color: var(--aures-braun);
    border-color: var(--aures-braun-dark);
    color: #fff;
    text-decoration: none;
}

/* Abstand in der Navbar */
.navbar-nav .portal-btn {
    margin-top: 8px;
    margin-left: 10px;
}

/* Mobil */
@media (max-width: 767px) {
    .navbar-nav .portal-btn {
        margin: 10px 15px;
        display: block;
        text-align: center;
    }
}

/* --- Hero ---------------------------------- */
.hero-section {
    position:            relative;
    min-height:          100vh;
    background-image:    url('../images/Jena_linie_05_braun.jpg');
    background-size:     cover;
    background-position: center;
    background-attachment: fixed;
    display:             flex;
    align-items:         center;
    justify-content:     center;
}

.hero-overlay {
    position:   absolute;
    inset:      0;
    background: rgba(74, 51, 25, 0.55);
}

.hero-content {
    position: relative;
    z-index:  2;
    color:    var(--aures-weiss);
    padding:  2rem;
}

.hero-logo {
    max-width: 280px;
    width:     80%;
    height:    auto;
}

.hero-title {
    font-family: var(--font-heading);
    font-size:   clamp(2rem, 5vw, 3.5rem);
    margin:      1rem 0 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size:   clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* --- Sections ------------------------------ */
.op-section {
    padding: 80px 0;
}

.section-light  { background-color: var(--aures-hell); }
.section-white  { background-color: var(--aures-weiss); }
.section-cta    { background-color: var(--aures-braun); color: var(--aures-weiss); }
.section-cta a  { color: var(--aures-gold); }

.section-title {
    font-family:   var(--font-heading);
    font-size:     clamp(1.6rem, 3.5vw, 2.4rem);
    color:         var(--aures-braun);
    margin-bottom: 0.5rem;
}

.section-cta .section-title { color: var(--aures-weiss); }

.section-subtitle {
    color:     var(--aures-grau);
    font-size: 1.05rem;
}

/* --- Trennerbild (section-divider) --------- */
.section-divider {
    width:               100%;
    height:              160px;
    background-image:    url('../images/Jena_linie_05_braun.jpg');
    background-size:     cover;
    background-position: center;
    background-attachment: fixed;
    position:            relative;
}

.section-divider::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(74, 51, 25, 0.45);
}

/* --- Blurbs (Unternehmen) ------------------ */
.blurb { padding: 1.5rem; }

.blurb-icon {
    font-size:     4.2rem;
    color:         var(--aures-braun);
    margin-bottom: 0.75rem;
}

.blurb-title {
    font-family:   var(--font-heading);
    font-size:     1.2rem;
    margin-bottom: 0.5rem;
    color:         var(--aures-braun);
}

.blurb-text { 
    color: var(--aures-text); 
    line-height: 1.4em; 
    text-align: right;
}

/* --- Standorte ----------------------------- */
.standort-card {
    background:    var(--aures-weiss);
    border:        1px dotted #e0d6c8;
    border-radius: 6px;
    padding:       2rem 1.5rem;
    height:        100%;
    box-shadow:    0 2px 8px rgba(0,0,0,0.06);
    transition:    box-shadow 0.2s;
}

.standort-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

.standort-title {
    font-family:   var(--font-heading);
    font-size:     1.3rem;
    font-weight:   600;
    color:         var(--aures-braun);
    margin:        0.75rem 0 1rem;
}

.standort-text {
    font-size:   0.95rem;
    line-height: 1.4;
    color:       var(--aures-text);
    white-space: pre-line;
}

/* --- App-Badges (Portal-App) --------------- */
.app-badge {
    display:        inline-flex;
    align-items:    center;
    gap:            0.75rem;
    background:     var(--aures-braun-dark);
    color:          var(--aures-weiss) !important;
    border-radius:  8px;
    padding:        0.75rem 1.5rem;
    font-size:      0.9rem;
    text-decoration: none;
    transition:     background 0.2s, transform 0.2s;
}

.app-badge:hover {
    background:  var(--aures-braun);
    color:       var(--aures-weiss) !important;
    transform:   translateY(-2px);
}

.app-badge .fa {
    font-size: 2rem;
}

.app-badge strong { display: block; font-size: 1rem; }
.app-badge small  { opacity: 0.8; }

/* --- Kontaktformular ----------------------- */
.form-control:focus,
.form-select:focus {
    border-color: var(--aures-gold);
    box-shadow:   0 0 0 0.2rem rgba(201,169,110,0.25);
}

.btn-aures {
    background-color: var(--aures-braun);
    color:            var(--aures-weiss);
    border:           none;
    padding:          0.65rem 2rem;
    font-weight:      600;
    letter-spacing:   0.04em;
    border-radius:    4px;
    transition:       background-color 0.2s, transform 0.15s;
}

.btn-aures:hover {
    background-color: var(--aures-braun-dark);
    color:            var(--aures-weiss);
    transform:        translateY(-1px);
}

/* --- Modals -------------------------------- */
.aures-modal .modal-header {
    background-color: var(--aures-braun);
    color:            var(--aures-weiss);
}

.aures-modal .modal-header .modal-title { font-family: var(--font-heading); }

.aures-modal .modal-body {
    font-size:   0.95rem;
    line-height: 1.7;
}

.aures-modal .modal-body h2 {
    font-family: var(--font-heading);
    font-size:   1.3rem;
    color:       var(--aures-braun);
    margin-top:  1.5rem;
}

/* --- Footer -------------------------------- */
.aures-footer {
    background-color: var(--aures-braun-dark);
    color:            rgba(255,255,255,0.8);
    padding:          2.5rem 0;
    font-size:        0.9rem;
}

.footer-logo  { max-height: 48px; width: auto; }
.footer-copy  { opacity: 0.7; font-size: 0.8rem; margin-top: 0.25rem; }

.aures-footer a {
    color:      rgba(255,255,255,0.8);
    transition: color 0.2s;
}

.aures-footer a:hover { color: var(--aures-gold); text-decoration: none; }

.footer-legal { margin: 0; }
.footer-legal .list-inline-item { opacity: 0.9; }

/* --- Responsive ---------------------------- */
@media (max-width: 991.98px) {
    .aures-navbar .navbar-collapse {
        background-color: var(--aures-braun-dark);
        padding:          1rem;
        border-top:       1px solid rgba(255,255,255,0.1);
    }

    .hero-section { background-attachment: scroll; }
    .section-divider { background-attachment: scroll; }
}

@media (max-width: 767.98px) {
    .op-section { padding: 50px 0; }
    .section-divider { height: 100px; }
}
/* --- Kontakt-Sektion ----------------------- */
.kontakt-info-title {
    font-family:   var(--font-heading);
    font-size:     1.3rem;
    color:         var(--aures-gold);
    margin-bottom: 1.5rem;
}

.kontakt-info-list {
    list-style: none;
    padding:    0;
    margin:     0;
}

.kontakt-info-list li {
    display:       flex;
    gap:           0.75rem;
    margin-bottom: 1.25rem;
    color:         rgba(255,255,255,0.9);
    line-height:   1.6;
}

.kontakt-info-list .fa {
    color:      var(--aures-gold);
    font-size:  1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.kontakt-info-list a {
    color:      rgba(255,255,255,0.9);
    transition: color 0.2s;
}

.kontakt-info-list a:hover { color: var(--aures-gold); }

.kontakt-form-wrapper {
    background:    rgba(255,255,255,0.08);
    border-radius: 8px;
    padding:       2rem;
}

.kontakt-form-wrapper .form-label {
    color:       rgba(255,255,255,0.9);
    font-weight: 600;
    font-size:   0.9rem;
}

.kontakt-form-wrapper .form-control,
.kontakt-form-wrapper .form-select {
    background-color: rgba(255,255,255,0.12);
    border:           1px solid rgba(255,255,255,0.25);
    color:            var(--aures-weiss);
}

.kontakt-form-wrapper .form-control::placeholder {
    color: rgba(255,255,255,0.45);
}

.kontakt-form-wrapper .form-control:focus,
.kontakt-form-wrapper .form-select:focus {
    background-color: rgba(255,255,255,0.18);
    border-color:     var(--aures-gold);
    color:            var(--aures-weiss);
}

.kontakt-form-wrapper .form-check-label {
    color:     rgba(255,255,255,0.85);
    font-size: 0.85rem;
}

.kontakt-form-wrapper .form-check-label a {
    color: var(--aures-gold);
}

/* --- Leistungen-Cards (WEG/Miet) ----------- */
.leistung-card {
    background:    var(--aures-weiss);
    border:        1px dotted #e0d6c8;
    border-radius: 6px;
    padding:       2rem;
    height:        100%;
    box-shadow:    0 2px 8px rgba(0,0,0,0.06);
}

.leistung-icon {
    font-size:     3.5rem;
    color:         var(--aures-braun);
    margin-bottom: 0.75rem;
}

.leistung-title {
    font-family:   var(--font-heading);
    font-size:     1.25rem;
    color:         var(--aures-braun);
    margin-bottom: 1.25rem;
}

.leistung-list {
    list-style:  none;
    padding:     0;
    margin:      0;
}

.leistung-list li {
    padding:       0.4rem 0 0.4rem 1.5rem;
    position:      relative;
    border-bottom: 1px solid #f0e8dc;
    font-size:     0.95rem;
    line-height:   1.5;
}

.leistung-list li::before {
    content:  '\f00c';
    font-family: FontAwesome;
    position: absolute;
    left:     0;
    color:    var(--aures-gold);
    font-size: 0.8rem;
    top:      0.55rem;
}

.btn-download {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: var(--aures-primary);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}
.btn-download:hover {
    opacity: 0.85;
}
.btn-download i {
    margin-right: 6px;
}