body {
  background: #ffffff;
}

a {
  font-weight: 500;
  color:#000000;
}

.page-header h1 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em 0;
  /*background-color:#983452;*/
}

body.site {
  background: linear-gradient(
        to bottom,
        #e1c25a 0%,
        #d4af37 100%
    );
}

header.header,
.container-header,
.container-header.full-width {
  background: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none;
 }


.header.container-header {
  padding: 12px 0 10px 0;
  margin: 0;
}


.header.container-header .grid-child {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.navbar-brand img,
.brand-logo img {
  max-height: 70px;
  width: auto;
  height: auto;
}

.header .navbar-brand .site-description {
  display: block;
  margin-top: 0.3rem;
  padding-top: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  font-weight: 400;
  color: #9a7a24 !important;
}

.container-nav ul.mod-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  background: transparent;
}

.container-nav .mod-menu a {
  font-weight: 500;
  color: #001b4c;
  text-decoration: none;
}

.container-nav .mod-menu a:hover,
.container-nav .mod-menu .active > a,
.container-nav ul.mod-menu li.active a {
  color: #b18a1b;
  text-decoration: underline;
}

.site-grid {
  background: transparent;
  position: relative;
}

body.site .site-grid .grid-child.container-component {
  max-width: 980px;
  margin: 20px auto 40px auto;
  padding: 10px 20px 0px 20px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  margin-top: 0.5rem;
}


/* Obere Akzentlinie entfernen – wird durch echten Rahmen ersetzt */
body.site .site-grid .grid-child.container-component::before {
    content: none;
}


.com-content-category .content-category h1 {
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.com-content-category__table .list-title a {
  color: #001B4C;
  text-decoration: none;
}

.com-content-category__table .list-title a:hover {
  text-decoration: underline;
}

.table {
  border-color: #e6e6e6;
}

.table thead th {
  background: #f7f7f7;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #fafafa;
}

@media (max-width: 768px) {
  .navbar-brand img,
    .brand-logo img {
  max-height: 56px;
}

  .header.container-header .grid-child {
  padding-left: 16px;
  padding-right: 16px;
}

  body.site .site-grid .grid-child.container-component {
  padding: 20px;
  border-radius: 0;
  margin: 10px;
  margin-top: 0;
}

}

@media (min-width: 1400px) {
  body.site .site-grid .grid-child.container-component {
  max-width: 1000px;
}

}


/* =========================================================
   HEADER – STABIL & VOLLSTÄNDIG (LOGO LINKS, MENU RECHTS)
   ========================================================= */

/* 1) Header als EIN Flex-Container */
header.header.container-header {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start; /* vorher space-between */

    background: #fff;
    padding: 24px 48px 14px 48px;
    border-bottom: 1px solid #e6e6e6;

    /* KRITISCH */
    overflow: visible;

  gap: 2.2rem;   /* Abstand Logo ↔ Menü */
}

/* 2) Alle Cassiopeia-Grid-Kinder entschärfen */
header.header.container-header > .grid-child {
    all: unset;
    display: block;
}

/* 3) Logo-Block links */
header.header .navbar-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Logo */
header.header .navbar-brand img {
    max-height: 100px;  /* original 72px */
    width: auto;
}

/* Claim */
header.header .site-description {
    font-size: 0.95rem;
    color: #b18a1b;
}

/* 4) NAVIGATION – rechts, vollständig sichtbar */
header.header .container-nav {
    display: flex;
    align-items: flex-end;

    /* WICHTIG */
    overflow: visible;
    white-space: nowrap;
}

/* Menü horizontal */
header.header .container-nav ul.mod-menu {
    display: flex;
    gap: 1.0rem;

    margin: 0;
    padding: 0;

    list-style: none;
    overflow: visible;
}

/* Links */
header.header .container-nav ul.mod-menu li a {
    font-weight: 500;
    color: #001b4c;
    text-decoration: none;
}

header.header .container-nav ul.mod-menu li a:hover,
header.header .container-nav ul.mod-menu li.active a {
    color: #b18a1b;
    text-decoration: underline;
}

/* 5) Mobile: sauber umbrechen */
@media (max-width: 900px) {
    header.header.container-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    header.header .container-nav ul.mod-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }
}




/* =========================================================
   KONTAKTSEITE – STANDORTÜBERSCHRIFTEN BERUHIGEN
   ========================================================= */

.com-content-article__body h3 {
    font-size: 1.05rem;
    font-weight: 600;

    /* NEU: ruhigere Farbe */
    color: #7a5a14; /* dunkles Gold */

    margin-top: 1.2rem;
    margin-bottom: 0.3rem;
}



/* Kategorie-Listen: Titel leichter setzen */
.com-content-category__table .list-title a {
    font-weight: 400;          /* normal */
    letter-spacing: 0.01em;    /* optional: ruhiger */
    color:black;
}


.com-content-article__body {
    padding-left: 0.5rem;   /* minimal */
    padding-right: 4rem;
}


/* ---------------------------------------------------------------------
Aufpeppen 
------------------------------------------------------------------------*/
.com-content-category__table tbody tr {
    position: relative;
}

.com-content-category__table tbody tr::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: transparent;
}

.com-content-category__table tbody tr:hover::before {
    background: #d6b44a; /* Goldton */
}


.com-content-category__table td.list-date {
    color: #888;
    font-size: 0.9rem;
    text-align: right;
}

.com-content-category__table tbody tr {
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.com-content-category__table tbody tr:hover {
    background: #fafafa;
    box-shadow: inset 0 0 0 1px #eee;
}
.com-content-category h1 {
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #d6b44a;
    margin-bottom: 1.2rem;
}

/*
------------- ICONS
*/

.com-content-category__table .list-title a {
    display: flex;
    align-items: flex-start;
}

.com-content-category__table .list-title a::before {
    content: none;              /* leer, aber vorhanden */
    flex: 0 0 6em;          /* fixe Breite der ersten Box 4.8em */
    display: inline-flex;
    justify-content: left;
    white-space: nowrap;
    font-weight: 600;
    margin-right: 0.7em;
}



/* Rechtsprechung subtil markieren */
.list-title a[href*="rechtsprechung"]::before {
    content: "§";
    color: #d6b44a;          /* dein Goldton */
    opacity: 0.85;
}
.list-title a[href*="rechtsprechung"]:hover::before {
    opacity: 1;
}

/* Leitfaden, Empfehlung, Referenzzinssatz */
a[href*="Leitfaden"]::before { content: "📘"; }
a[href*="Empfehlung"]::before { content: "•"; }
/* Referenzzinssatz subtil kennzeichnen */
.list-title a[href*="referenzzinssatz"]::before {
    content: "% RZ";
    color: #8a6a00;
    opacity: 0.85;
}


.list-title a[href*="praxisleitfaden"]::before,
.list-title a[href*="hauseigentümerverband"]::before,
.list-title a[href*="hev"]::before {
    content: "HEV";
    color: #1f2937;
    opacity: 0.8;
}
.list-title a[href*="nebenkosten"]::before {
    content: "§ NK";
    color: #444;
}

/* Stowe */
.list-title a[href*="stockwerkeigentuemer"]::before,
.list-title a[href*="stockwerkeigentum"]::before {
    content: "§ STOWE";
    color: #8a6a00;
}

/* energie */
.list-title a[href*="energetisch"]::before,
.list-title a[href*="energie"]::before {
    content: "⚡ kWh";
    color: #374151;
}

/* Datenschutz */
.list-title a[href*="datenschutz"]::before {
    content: "🛡 DS";
    color: #bfa54a;
}

/* solar */ 
.list-title a[href*="solar"]::before {
    content: "☀ Solar";
    color: #333;
}

/* Haustiere */
.list-title a[href*="haustiere"]::before {
    content: "🐾 HT";
    color: #555;
}

/* Mieter */
.list-title a[href*="mieter"]::before {
    content: "👤 Mieter";
    color: #555;
}

/* Homeoffice / Corona */
.list-title a[href*="homeoffice"]::before,
.list-title a[href*="corona"]::before {
    content: "⌂ HO";
    color: #333;
}

/* Digitalisierung */
.list-title a[href*="digitalisierung"]::before {
    content: "💻 DIG";
    color: #555;
}

/* Eigenmietwert */
.list-title a[href*="eigenmietwert"]::before {
    content: "EMW";
    color: #555;
}

/* Steuern */
.list-title a[href*="liegenschaftssteuer"]::before,
.list-title a[href*="steuerwerte"]::before {
    content: "💰 Steuer";
    color: #8a6a00;
}

/* Mietzins & Entwicklung */
.list-title a[href*="mietzins"]::before,
.list-title a[href*="trend"]::before,
.list-title a[href*="prognose"]::before {
    content: "↗ TREND";
    color: #555;
}




/* --------------------------------------------------------
------------ Eigenes Suchfeld ---------------------------
*/
/*
.table-search { margin-bottom: 1rem; }
.table-search input[type="search"]{
  max-width: 420px;
  padding: 0.45rem 0.6rem;
  font-size: 0.95rem;
}
*/

.table-search input[type="search"] {
  width: 100%;
  max-width: 420px;
  padding: 0.45rem 0.6rem;
  font-size: 0.95rem;
  border-radius: 4px;
}

/* ===== Suchfeld-Modul: Cassiopeia komplett neutralisieren ===== */

/* äusserer Modul-Container */
.mod-table-search.card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 5 0 1.6rem 0 !important; /* etwas weiter nach unten */
}

/* innerer Card-Body */
.mod-table-search .card-body {
  padding: 0 !important;
}

/* Modultitel ("Suche") entfernen */
.mod-table-search .card-title,
.mod-table-search h3 {
  display: none !important;
}

/* Suchfeld selbst */
.mod-table-search .table-search input[type="search"] {
  width: 100%;
  max-width: 340px;
  padding: 0.4rem 0.55rem;
  font-size: 0.95rem;

  border: 1px solid #d1d5db;
  border-radius: 4px;
  box-shadow: none;
}

.mod-table-search {
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
}


/* Fokus */
.mod-table-search .table-search input[type="search"]:focus {
  outline: none;
  border-color: #bfa54a;
}


/* Suchfeld exakt an Tabellen-Innenkante ausrichten */
.mod-table-search .table-search {
  display: flex;
  justify-content: flex-end;
  padding-right: 10.1rem; /* ← DAS ist der entscheidende Punkt */
}



/* -----------------eigenes Suchfeld ----------------------*/ 

.pagination {
    margin-top: 1.7rem;
}

.pagination .page-item.active .page-link {
    background: #d6b44a;
    border-color: #d6b44a;
    color: #111;
}


