/* Grundlayout Main + Sektionen */

#kreditvergleich-inhalt {
background: #f9fafb;
color: #111827;
}

.content-section {
padding: 3rem 0;
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.content-section:last-of-type {
border-bottom: 0;
}

/* Container aus Hauptlayout wiederverwenden */

.content-section .container {
max-width: 1120px;
margin: 0 auto;
padding: 0 1.5rem;
}

/* Layout: Main links, Sidebar rechts */

.layout-main-with-sidebar-inner {
display: grid;
grid-template-columns: minmax(0, 2.1fr) minmax(260px, 1fr);
gap: 2.5rem;
align-items: flex-start;
}

/* Hauptspalte */

.content-main {
min-width: 0;
}

/* Sidebar rechts */

.content-sidebar {
min-width: 0;
display: flex;
flex-direction: column;
gap: 1.5rem;
}

/* Abschnittsheader */

.section-header {
margin-bottom: 1.8rem;
}

.section-header h2 {
font-size: 1.6rem;
margin: 0 0 0.7rem 0;
color: #111827;
}

.section-header p {
margin: 0;
font-size: 0.98rem;
line-height: 1.6;
color: #4b5563;
}

/* Zweispaltige Grids */

.section-grid.two-columns {
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
gap: 2rem;
margin-bottom: 2rem;
}

.section-col h3 {
font-size: 1.15rem;
margin-bottom: 0.6rem;
}

.section-col p {
margin: 0 0 0.8rem 0;
font-size: 0.97rem;
line-height: 1.6;
}

/* Bubble Points */

.bubble-points {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.5rem;
}

.bubble-points li {
position: relative;
padding: 0.55rem 0.85rem 0.55rem 2rem;
border-radius: 999px;
background: #ffffff;
border: 1px solid rgba(15, 23, 42, 0.06);
font-size: 0.93rem;
}

.bubble-points li::before {
content: "";
position: absolute;
left: 0.85rem;
top: 50%;
transform: translateY(-50%);
width: 9px;
height: 9px;
border-radius: 999px;
background: #0b599b;
}

/* CTA Boxen */

.cta-box {
margin-top: 2rem;
padding: 1.5rem 1.6rem;
border-radius: 14px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #ffffff;
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.cta-box h3 {
margin: 0 0 0.6rem 0;
font-size: 1.25rem;
}

.cta-box p {
margin: 0 0 1rem 0;
font-size: 0.96rem;
}

.cta-box .btn-primary {
width: auto;
}

/* Kleine Inline-CTA */

.cta-inline {
margin-top: 1.5rem;
padding: 0.9rem 1rem;
border-radius: 10px;
background: #eff6ff;
border: 1px solid #bfdbfe;
font-size: 0.92rem;
color: #1f2937;
}

.cta-inline p {
margin: 0;
}

/* Überschriften Ebene 3 im Fließtext */

.content-section h3 {
font-size: 1.15rem;
margin-top: 1.4rem;
margin-bottom: 0.5rem;
}

.content-section p {
font-size: 0.97rem;
line-height: 1.7;
margin: 0 0 0.9rem 0;
}

/* HowTo Liste */

.howto-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 1.2rem;
}

.howto-list li {
padding: 1.1rem 1.1rem 1rem 1.1rem;
border-radius: 12px;
background: #ffffff;
border: 1px solid rgba(15, 23, 42, 0.06);
}

.howto-list h3 {
margin-top: 0;
margin-bottom: 0.45rem;
font-size: 1.05rem;
}

.howto-list p {
margin: 0;
font-size: 0.96rem;
}

/* FAQ Akkordeon */

.faq-accordion {
border-radius: 14px;
background: #ffffff;
border: 1px solid rgba(15, 23, 42, 0.06);
overflow: hidden;
}

.faq-item + .faq-item {
border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.faq-question {
width: 100%;
padding: 0.9rem 1.1rem;
text-align: left;
background: #ffffff;
border: 0;
outline: none;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 0.98rem;
font-weight: 600;
color: #111827;
cursor: pointer;
}

.faq-question::after {
content: "+";
font-size: 1.1rem;
color: #6b7280;
margin-left: 0.75rem;
flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
content: "−";
}

.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.22s ease-out;
padding: 0 1.1rem;
}

.faq-item.is-open .faq-answer {
padding-bottom: 0.9rem;
}

.faq-answer p {
margin: 0.4rem 0 0.2rem 0;
font-size: 0.96rem;
color: #4b5563;
}

/* Sidebar Boxen rechts */

.sidebar-box {
border-radius: 14px;
background: #ffffff;
border: 1px solid rgba(15, 23, 42, 0.08);
padding: 1.1rem 1.1rem 1rem 1.1rem;
}

.sidebar-box h3 {
font-size: 1.05rem;
margin: 0 0 0.6rem 0;
}

.sidebar-list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.4rem;
}

.sidebar-list li a {
display: flex;
flex-direction: column;
gap: 0.1rem;
padding: 0.45rem 0.55rem;
border-radius: 10px;
text-decoration: none;
color: #111827;
font-size: 0.9rem;
transition: background 0.15s ease-out, transform 0.1s ease-out;
}

.sidebar-list li a span:first-child {
font-weight: 600;
}

.sidebar-list li a span:last-child {
font-size: 0.83rem;
color: #6b7280;
}

.sidebar-list li a:hover {
background: #eff6ff;
transform: translateY(-1px);
}

.sidebar-tagline {
margin-top: 0.6rem;
font-size: 0.85rem;
color: #6b7280;
}

/* Sidebar CTA */

.sidebar-cta {
border-radius: 14px;
padding: 1.1rem 1.1rem 1rem 1.1rem;
background: linear-gradient(135deg, #0b599b, #38bdf8);
color: #ffffff;
}

.sidebar-cta h3 {
margin: 0 0 0.55rem 0;
font-size: 1.1rem;
}

.sidebar-cta p {
margin: 0 0 0.8rem 0;
font-size: 0.9rem;
}

.btn-sidebar {
width: 100%;
border-radius: 999px;
border: 0;
padding: 0.55rem 1.1rem;
font-size: 0.9rem;
font-weight: 600;
cursor: pointer;
background: #ffffff;
color: #0b599b;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
transition: background 0.15s ease-out, transform 0.1s ease-out, box-shadow 0.1s ease-out;
}

.btn-sidebar:hover {
background: #e5efff;
transform: translateY(-1px);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
}

.sidebar-note {
margin-top: 0.7rem;
font-size: 0.8rem;
opacity: 0.9;
}

/* Responsive Anpassungen */

@media (max-width: 1024px) {
.layout-main-with-sidebar-inner {
grid-template-columns: minmax(0, 1.9fr) minmax(260px, 1.1fr);
gap: 2rem;
}

.section-grid.two-columns {
grid-template-columns: minmax(0, 1fr);
}
}

@media (max-width: 820px) {
.content-section .container {
padding: 0 1rem;
}

.layout-main-with-sidebar-inner {
grid-template-columns: minmax(0, 1fr);
}

.content-sidebar {
order: -1;
}

.sidebar-cta {
order: -1;
}
}

@media (max-width: 640px) {
.content-section {
padding: 2.2rem 0;
}

.content-section .container {
padding: 0 0.75rem;
}

.section-header h2 {
font-size: 1.35rem;
}
}

/* Überschriften im Content stärker blau betonen */
.content-section h2 {
  color: #0b599b;
}

.content-section h3 {
  color: #1f2933;
}

/* Info-Boxen leicht blau rahmen */
.cta-box,
.cta-inline {
  border-left: 3px solid #0b599b;
}

/* FAQ-Fragen leicht blau */
.faq-question {
  color: #0b599b;
}

/* Links im Content-Bereich */
.content-section a {
  color: #0b599b;
}

.content-section a:hover {
  text-decoration: none;
}

/************************************************************
 * AKZENTE & FARBEN – BLAU FÜR PROFESSIONALITÄT
 ************************************************************/

/* H2 – wichtige Sektionen (starkes Markenblau) */
.content-section h2 {
  color: #0b599b;
  margin-bottom: 1rem;
}

/* H3 – Unterpunkte (dunkler, aber leicht bläulich) */
.content-section h3 {
  color: #1f2933;
  margin-bottom: 0.75rem;
}

/* Links im Content */
.content-section a {
  color: #0b599b;
  text-decoration: none;
}

.content-section a:hover {
  text-decoration: none;
}

/* Bullet-Listen – Icon-Punkte blau */
.bubble-points li::before {
  background: #0b599b;
}

/* CTA-Boxen */
.cta-box,
.cta-inline {
  border-left: 4px solid #0b599b;
  padding-left: 1rem;
}

/* CTA-Button normal */
.cta-box .btn-primary,
.cta-inline .btn-primary {
  background: #0b599b;
}

/* CTA-Button Hover */
.cta-box .btn-primary:hover,
.cta-inline .btn-primary:hover {
  background: #094674;
}

/* FAQ-Akkordeon – Fragen blau, Antworten normal */
.faq-question {
  color: #0b599b;
  font-weight: 600;
}

.faq-question:hover {
  color: #094674;
}

.faq-answer p {
  color: #111827;
}

/* HowTo-Nummern stärker hervorheben */
.howto-list > li::marker {
  color: #0b599b;
}

/* Breadcrumb Highlight */
.breadcrumb a {
  color: #0b599b;
}

.breadcrumb a:hover {
  color: #094674;
}

/* Tabelle, falls später genutzt */
table thead th {
  background: #0b599b;
  color: white;
}

/* Cluster-Sektion für interne SEO-Links */

.content-cluster {
background: #f9fafb;
}

.cluster-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1.8rem;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}

.cluster-card {
background: #ffffff;
border-radius: 12px;
border: 1px solid #e5e7eb;
padding: 1.4rem 1.5rem;
box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.cluster-card h3 {
font-size: 1.1rem;
margin-top: 0;
margin-bottom: 0.6rem;
color: #111827;
}

.cluster-card p {
font-size: 0.95rem;
color: #4b5563;
margin-bottom: 0.8rem;
}

.cluster-links {
list-style: none;
margin: 0;
padding: 0;
}

.cluster-links li {
margin-bottom: 0.3rem;
}

.cluster-links a {
font-size: 0.9rem;
color: #0b599b;
text-decoration: none;
}

.cluster-links a:hover {
text-decoration: none;
}

/* Zweite CTA-Box */

.cta-box-secondary {
margin-top: 0.8rem;
border-left: 4px solid #0b599b;
background: #eef2ff;
}

.btn-secondary {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.55rem 1.4rem;
font-size: 0.9rem;
font-weight: 600;
border-radius: 999px;
border: 1px solid #0b599b;
background: #0b599b;
color: #ffffff;
cursor: pointer;
transition: background 0.15s ease-out, color 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.08s ease-out;
}

.btn-secondary:hover {
background: #094674;
box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
transform: translateY(-1px);
}

.btn-secondary:active {
transform: translateY(0);
box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

@media (max-width: 900px) {
.cluster-grid {
grid-template-columns: 1fr;
}
}

Footer erweitern zu professionellem Linkbereich

Deine footer.php ist schon gut aufgebaut. Wir ergänzen nur eine strukturierte Linksektion, das Design aus style-light.css (Footer) bleibt nutzbar.

Ersetze in footer.php den Bereich innerhalb von <div class="container footer-inner"> durch diese Version:

<div class="container footer-inner"> <div class="footer-top"> <div class="footer-brand"> <p>© <?php echo $currentYear; ?> Vergleich-Kredit.de</p> <p class="footer-small"> Alle Vergleiche powered by TARIFCHECK24 GmbH. </p> </div>
<nav class="footer-nav" aria-label="Footer Navigation">
  <a href="/impressum/">Impressum</a>
  <a href="/datenschutz/">Datenschutz</a>
  <a href="/ratgeber/">Ratgeber</a>
  <a href="/faq/">FAQ</a>
  <a href="/kontakt/">Kontakt</a>
</nav>

</div> <div class="footer-links-grid"> <div class="footer-links-col"> <h3>Kreditvergleich</h3> <ul> <li><a href="/">Kreditvergleich Startseite</a></li> <li><a href="/kreditrechner/">Kreditrechner</a></li> <li><a href="/kredit-laufzeiten/">Laufzeiten im Überblick</a></li> <li><a href="/kredit-bonitaet/">Bonität und Voraussetzungen</a></li> </ul> </div>
<div class="footer-links-col">
  <h3>Kreditbeträge</h3>
  <ul>
    <li><a href="/5000-euro-kredit/">5.000 Euro Kredit</a></li>
    <li><a href="/10000-euro-kredit/">10.000 Euro Kredit</a></li>
    <li><a href="/20000-euro-kredit/">20.000 Euro Kredit</a></li>
    <li><a href="/50000-euro-kredit/">50.000 Euro Kredit</a></li>
  </ul>
</div>

<div class="footer-links-col">
  <h3>Verwendungszwecke</h3>
  <ul>
    <li><a href="/kredit-zur-freien-verwendung/">Freie Verwendung</a></li>
    <li><a href="/autokredit/">Autokredit</a></li>
    <li><a href="/modernisierungskredit/">Modernisierung</a></li>
    <li><a href="/umschuldung/">Umschuldung</a></li>
  </ul>
</div>

</div> </div>

Dann in style-content.css oder in style-light.css (wo deine Footer-Styles liegen) diese Klassen ergänzen:

.footer-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 1.5rem;
margin-bottom: 1.5rem;
flex-wrap: wrap;
}

.footer-brand p {
margin: 0;
}

.footer-nav {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
font-size: 0.85rem;
}

.footer-nav a {
color: #4b5563;
text-decoration: none;
}

.footer-nav a:hover {
text-decoration: none;
}

.footer-links-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1.8rem;
margin-top: 1rem;
}

.footer-links-col h3 {
font-size: 0.95rem;
margin: 0 0 0.5rem 0;
color: #111827;
}

.footer-links-col ul {
list-style: none;
padding: 0;
margin: 0;
}

.footer-links-col li {
margin-bottom: 0.3rem;
}

.footer-links-col a {
font-size: 0.85rem;
color: #4b5563;
text-decoration: none;
}

.footer-links-col a:hover {
text-decoration: none;
}

@media (max-width: 800px) {
.footer-links-grid {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 520px) {
.footer-links-grid {
grid-template-columns: 1fr;
}
}

.footer {
border-top: 1px solid #e5e7eb;
background: #ffffff;
color: #4b5563;
}

.footer-inner {
max-width: 1120px;
margin: 0 auto;
padding: 2rem 1.5rem 2.5rem;
}

.footer-grid {
display: grid;
grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
gap: 2rem 1.5rem;
align-items: flex-start;
}

.footer-col-brand {
max-width: 320px;
}

.footer-brand-title {
font-size: 1rem;
font-weight: 600;
color: #111827;
margin-bottom: 0.4rem;
}

.footer-brand-copy {
font-size: 0.86rem;
line-height: 1.5;
margin-bottom: 0.8rem;
}

.footer-heading {
font-size: 0.9rem;
font-weight: 600;
margin-bottom: 0.6rem;
color: #111827;
}

.footer-links {
list-style: none;
margin: 0;
padding: 0;
}

.footer-links li + li {
margin-top: 0.3rem;
}

.footer-links a {
font-size: 0.86rem;
color: #4b5563;
text-decoration: none;
padding: 0.1rem 0;
display: inline-block;
}

.footer-links a:hover {
color: #0b599b;
}

.footer-small {
font-size: 0.78rem;
color: #9ca3af;
margin: 0.1rem 0;
}

.footer-small-partner {
margin-top: 0.35rem;
}

/* Cookie-Banner */

.cookie-banner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 900;
display: none;
padding: 0.75rem 1rem;
background: rgba(15, 23, 42, 0.96);
color: #e5e7eb;
}

.cookie-banner-inner {
max-width: 1120px;
margin: 0 auto;
display: flex;
gap: 0.75rem;
align-items: center;
justify-content: space-between;
}

.cookie-text {
font-size: 0.8rem;
line-height: 1.5;
margin: 0;
}

.cookie-btn {
border: 0;
border-radius: 999px;
padding: 0.4rem 1.1rem;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
background: #f9fafb;
color: #111827;
}

.cookie-btn:hover {
background: #e5e7eb;
}

/* Footer und Cookie-Banner mobil */

@media (max-width: 900px) {
.footer-grid {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 640px) {
.footer-inner {
padding: 1.8rem 1rem 2.8rem;
}

.footer-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
}

.cookie-banner-inner {
flex-direction: column;
align-items: flex-start;
}

.cookie-btn {
width: 100%;
text-align: center;
}
}

/* Hero-Subpage: Titel/Untertitel begrenzen und mobil korrekt stapeln */

.hero-subpage .hero-inner {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.hero-subpage .hero-title,
.hero-subpage .hero-sub {
max-width: 600px;
width: 100%;
text-align: left;
}

/* Tablet: etwas schmaler */

@media (max-width: 1024px) {
.hero-subpage .hero-title,
.hero-subpage .hero-sub {
max-width: 520px;
}
}

/* Mobile: volle Breite, Formular mit Abstand darunter */

@media (max-width: 640px) {
.hero-subpage .hero-inner {
display: block;
}

.hero-subpage .hero-title,
.hero-subpage .hero-sub {
max-width: 100%;
}

.hero-subpage .hero-form-shell {
margin-top: 1.2rem;
}
}

/* Hero-Überschriften auf Unterseiten verkleinern */
.hero-subpage .hero-title {
  font-size: 2.4rem;
  line-height: 1.15;
}

.hero-subpage .hero-sub {
  font-size: 1rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-subpage .hero-title {
    font-size: 2.1rem;
  }
  .hero-subpage .hero-sub {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-subpage .hero-title {
    font-size: 1.8rem;
  }
  .hero-subpage .hero-sub {
    font-size: 0.9rem;
  }
}


.footer {
  background: #f3f8ff;
  border-top: 1px solid #dbe7ff;
  color: #374151;
}
.footer-inner {
max-width: 1120px;
margin: 0 auto;
padding: 2rem 1.5rem 2.5rem;
}
.footer-head {
display: flex;
justify-content: space-between;
gap: 2rem;
align-items: flex-start;
flex-wrap: wrap;
margin-bottom: 1.5rem;
}
.footer-brand-title {
font-size: 1rem;
font-weight: 600;
color: #111827;
margin: 0 0 0.3rem 0;
}
.footer-brand-copy {
font-size: 0.88rem;
line-height: 1.5;
margin: 0 0 0.4rem 0;
}
.footer-small {
font-size: 0.78rem;
color: #9ca3af;
margin: 0;
}
.footer-nav {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
font-size: 0.86rem;
}
.footer-nav a {
color: #4b5563;
text-decoration: none;
}
.footer-nav a:hover {
color: #0b599b;
text-decoration: none;
}
.footer-links-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 1.8rem;
margin-top: 0.5rem;
}
.footer-links-col h3 {
font-size: 0.9rem;
font-weight: 600;
margin: 0 0 0.5rem 0;
color: #111827;
}
.footer-links-col ul {
list-style: none;
margin: 0;
padding: 0;
}
.footer-links-col li {
margin-bottom: 0.28rem;
}
.footer-links-col a {
font-size: 0.85rem;
color: #4b5563;
text-decoration: none;
display: inline-block;
padding: 0.05rem 0;
}
.footer-links-col a:hover {
color: #0b599b;
text-decoration: none;
}
/* Cookie-Banner bleibt wie gehabt, falls schon vorhanden.
Falls noch nicht in style-content.css, kannst du diesen Block nutzen: */
.cookie-banner {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 900;
display: none;
padding: 0.75rem 1rem;
background: rgba(15, 23, 42, 0.96);
color: #e5e7eb;
}
.cookie-banner-inner {
max-width: 1120px;
margin: 0 auto;
display: flex;
gap: 0.75rem;
align-items: center;
justify-content: space-between;
}
.cookie-text {
font-size: 0.8rem;
line-height: 1.5;
margin: 0;
}
.cookie-btn {
border: 0;
border-radius: 999px;
padding: 0.4rem 1.1rem;
font-size: 0.8rem;
font-weight: 600;
cursor: pointer;
background: #f9fafb;
color: #111827;
}
.cookie-btn:hover {
background: #e5e7eb;
}
@media (max-width: 960px) {
.footer-links-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 640px) {
.footer-inner {
padding: 1.8rem 1rem 3rem;
}
.footer-links-grid {
grid-template-columns: 1fr;
gap: 1.4rem;
}
.cookie-banner-inner {
flex-direction: column;
align-items: flex-start;
}
.cookie-btn {
width: 100%;
text-align: center;
}
}

/* Hero Unterseiten sauber links, mit Abstand und ohne Überlagerung */

.hero.hero-subpage .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1120px;
}

/* Titel: max. 600px, klarer Abstand nach unten */

.hero.hero-subpage .hero-title {
  max-width: 600px;
  width: 100%;
  margin: 0 0 0.9rem 0;
  font-size: 1.8rem;
  line-height: 1.25;
  text-align: left;
}

/* Sub-Text: ebenfalls 600px, eigener Abstand */

.hero.hero-subpage .hero-sub {
  max-width: 600px;
  width: 100%;
  margin: 0 0 1.3rem 0;
  font-size: 1.02rem;
  line-height: 1.5;
  text-align: left;
}
