*{
box-sizing:border-box;
margin:0;
padding:0;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#f5f7fb;
color:#222;
}

.container{
max-width:1200px;
margin:auto;
padding:0 20px;
}

.navbar{
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:1000;
}

.nav-inner{
display:flex;
justify-content:space-between;
align-items:center;
height:70px;
}

.logo a{
font-size:22px;
font-weight:bold;
text-decoration:none;
color:#1a2a4a;
}

.nav-links a{
margin-left:20px;
text-decoration:none;
color:#333;
font-weight:500;
}

/* Modern typography helpers */
.hero h1,
h1,h2,h3{letter-spacing:-.02em}

/* HERO (modern) */
.hero{
  position:relative;
  overflow:hidden;
  border-radius:0 0 28px 28px;
}

.hero .container{
  max-width:900px;
}

.hero h1{
  font-size:clamp(2rem, 4.6vw, 3.1rem);
  line-height:1.08;
}

.hero p{
  max-width:70ch;
  margin:0 auto;
  line-height:1.6;
}

/* Optional CTA links inside hero */
.hero a{
  color:#fff;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
  padding:10px 14px;
  border-radius:10px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.20);
  margin:12px 6px 0;
  transition:transform .15s ease, background .15s ease;
}
.hero a:hover{background:rgba(255,255,255,.20);transform:translateY(-1px)}

/* --- Hero comparison selector (cards inside hero) --- */
.hero-search{
  margin-top:40px;
}

.hero-search-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

@media (max-width: 768px){
  .hero-search-grid{
    grid-template-columns:1fr 1fr;
  }
}

.hero-search-card{
  background:white;
  padding:18px;
  border-radius:10px;
  box-shadow:0 6px 20px rgba(0,0,0,0.08);
  text-align:center;
  cursor:pointer;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
  user-select:none;
}

.hero-search-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.hero-search-card .icon,
.hero-search-card .hero-search-icon{
  font-size:28px;
  margin-bottom:8px;
  display:block;
}

@media (prefers-reduced-motion: reduce){
  .hero-search-card{transition:none}
}

/* CATEGORY GRID + CARDS (modern comparison categories) */
.category-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:18px;
}

/* 2 columns on tablet */
@media (min-width: 720px){
  .category-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

/* min 3 columns on desktop */
@media (min-width: 980px){
  .category-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
}

.category-card,
.category-grid > a{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:18px 18px;
  background:#fff;
  border-radius:14px;
  box-shadow:0 10px 26px rgba(0,0,0,0.06);
  text-decoration:none;
  color:#1a2a4a;
  border:1px solid rgba(0,0,0,0.06);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  overflow:hidden;
}

/* subtle accent glow */
.category-card:before,
.category-grid > a:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:radial-gradient(480px 220px at 14% 0%, rgba(26,115,232,.16), rgba(26,115,232,0) 62%);
  opacity:.9;
  pointer-events:none;
}
.category-card > *,
.category-grid > a > *{position:relative;z-index:1}

.category-card:hover,
.category-grid > a:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 44px rgba(0,0,0,0.12);
  border-color:rgba(26,115,232,.30);
}

.category-card:active,
.category-grid > a:active{transform:translateY(-3px)}

/* If plain <a> is used as a card label, add arrow + make it look like a CTA */
.category-grid > a{
  justify-content:space-between;
  min-height:96px;
}
.category-grid > a:after{
  content:"Jetzt vergleichen →";
  display:inline-flex;
  align-self:flex-start;
  margin-top:2px;
  padding:10px 12px;
  border-radius:10px;
  background:#1a73e8;
  color:#fff;
  font-weight:800;
}

/* Card internals (for richer markup) */
.category-icon{
  position:relative;
  display:block;
  width:52px;
  height:52px;
  margin:0 auto 10px;
  font-size:28px;
  line-height:52px;
  text-align:center;
}

.category-icon:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(26,115,232,0.10);
  border:1px solid rgba(26,115,232,0.12);
  box-shadow:0 10px 22px rgba(26,115,232,0.10);
  z-index:-1;
}

.category-card h3{font-size:1.05rem;margin:0}
.category-card p{margin:6px 0 0;line-height:1.5;color:#334155}

.category-button{
  margin-top:4px;
  align-self:flex-start;
  display:inline-flex;
  padding:10px 12px;
  border-radius:10px;
  background:#1a73e8;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  transition:filter .15s ease, transform .15s ease;
}
.category-button:hover{filter:brightness(1.05);transform:translateY(-1px)}

@media (prefers-reduced-motion: reduce){
  .category-card,
  .category-grid > a,
  .category-button{transition:none}
}

/* TRUST SECTION */
.trust-section{
  background:#fff;
  border-radius:16px;
  padding:26px;
  box-shadow:0 10px 26px rgba(0,0,0,0.06);
}

.trust-items{
  margin-top:14px;
  display:grid;
  gap:10px;
}

.trust-items > *{
  background:#f5f7fb;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:12px;
  padding:12px 14px;
  line-height:1.6;
}

/* --- Navigation: sticky + mobile menu --- */
.nav-toggle{
  display:none;
  border:1px solid rgba(0,0,0,0.12);
  background:#fff;
  padding:10px 12px;
  border-radius:10px;
  font-weight:700;
}

@media (max-width: 900px){
  .nav-toggle{display:inline-flex}
  .nav-links{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:70px;
    background:#fff;
    padding:14px 20px;
    box-shadow:0 10px 26px rgba(0,0,0,0.08);
  }
  .nav-links.is-open{display:block}
  .nav-links a{display:block;margin:10px 0}
  .nav-inner{position:relative}
}

/* --- Trust grid classes (homepage) --- */
.trust-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}

.trust-item{
  background:#f5f7fb;
  border:1px solid rgba(0,0,0,0.06);
  border-radius:12px;
  padding:14px 14px;
}

@media (min-width: 720px){
  .trust-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (min-width: 980px){
  .trust-grid{grid-template-columns:repeat(4, minmax(0,1fr))}
}

/* --- FAQ --- */
.faq-section details{background:#fff;border:1px solid rgba(0,0,0,0.08);border-radius:12px;padding:12px 14px}
.faq-section details + details{margin-top:10px}
.faq-section summary{cursor:pointer;font-weight:800}
.faq-answer{margin-top:10px;line-height:1.65;color:#334155}

/* --- Footer --- */
.footer{background:#0b1b33;color:#e5e7eb;margin-top:44px;padding:28px 0}
.footer a{color:#e5e7eb;text-decoration:none;display:block;margin:8px 0}
.footer a:hover{text-decoration:underline}
.footer-inner{display:grid;grid-template-columns:1fr;gap:18px}
.footer-col h4{margin-bottom:10px;color:#fff}
@media (min-width: 720px){.footer-inner{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* --- Embedded comparison widgets (large responsive container) --- */
.widget-section .widget-container{
  max-width:1200px;
  margin:22px auto;
  background:#fff;
  padding:30px;
  border-radius:12px;
  box-shadow:0 14px 38px rgba(0,0,0,0.08);
  border:1px solid rgba(0,0,0,0.06);
}

.widget-section .widget-container iframe{
  width:100% !important;
  max-width:100% !important;
}

@media (max-width: 719px){
  .widget-section .widget-container{padding:16px}
}

/* Second category section (below SEO) */
.category-bottom{
  padding-top:60px;
  padding-bottom:60px;
  background:linear-gradient(180deg, rgba(26,115,232,0.06), rgba(245,247,251,0));
  margin-top:44px;
  border-top:1px solid rgba(0,0,0,0.06);
}

.category-bottom .container{
  max-width:1200px;
  text-align:center;
}

.category-bottom header p,
.category-bottom header .muted{
  margin-top:10px;
  color:#475569;
  line-height:1.6;
}

/* Keep cards centered and consistent */
.category-bottom .category-grid{
  margin-top:22px;
}

/* Visual separation from SEO text if SEO precedes */
.seo-content + .category-bottom{
  margin-top:60px;
}

@media (max-width: 719px){
  .category-bottom{padding-top:44px;padding-bottom:44px}
}

/* --- Header compare dropdown --- */
.nav-dropdown{position:relative;display:inline-flex;align-items:center}
.nav-dropbtn{
  border:1px solid rgba(0,0,0,0.10);
  background:#fff;
  padding:10px 12px;
  border-radius:10px;
  font-weight:800;
  cursor:pointer;
}
.nav-dropmenu{
  display:none;
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  min-width:260px;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:12px;
  box-shadow:0 18px 44px rgba(0,0,0,0.12);
  padding:10px;
}
.nav-dropmenu.is-open{display:block}
.nav-dropmenu a{margin:0; padding:10px 10px; border-radius:10px}
.nav-dropmenu a:hover{background:#f5f7fb}
.nav-ico{display:inline-flex;width:1.4em;align-items:center;justify-content:center;margin-right:8px}

@media (max-width: 900px){
  .nav-dropdown{display:block;margin:6px 0}
  .nav-dropmenu{position:static;display:none;box-shadow:none;border:0;padding:6px 0}
  .nav-dropmenu.is-open{display:block}
  .nav-dropbtn{width:100%;justify-content:space-between}
}

/* --- Nav list (semantic) --- */
.nav-list{list-style:none;display:flex;align-items:center;margin:0;padding:0}
.nav-list > li{margin-left:20px}
.nav-list a{margin-left:0}

@media (max-width: 900px){
  .nav-list{display:block}
  .nav-list > li{margin-left:0}
}

/* --- Sticky compare button (global, always visible) --- */
.sticky-compare{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:1200;
  display:block;
}

.sticky-compare .sticky-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:560px;
  margin:0 auto;
  padding:14px 16px;
  background:#1a73e8;
  color:#fff;
  text-decoration:none;
  font-weight:900;
  border-radius:14px;
  box-shadow:0 18px 44px rgba(0,0,0,0.18);
  border:1px solid rgba(255,255,255,0.18);
}

.sticky-compare .sticky-btn:hover{filter:brightness(1.05)}

/* Make sure content isn't covered by the sticky button */
.site-main{padding-bottom:92px}

@media (min-width: 720px){
  .sticky-compare{left:24px;right:24px}
}

/* Spacing between SEO content and comparison category sections */
.seo-content{
  margin-bottom:60px;
}

.category-section{
  margin-top:40px;
}

/* --- Comparison cards component (reusable) --- */
.comparison-section{
  margin-top:50px;
  margin-bottom:60px;
  padding:32px 0;
}

.comparison-section header{
  text-align:center;
}

.comparison-section header p{
  margin-top:10px;
  color:#475569;
  line-height:1.6;
}

.comparison-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:18px;
}

@media (min-width: 720px){
  .comparison-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (min-width: 980px){
  .comparison-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
}

.comparison-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:20px;
  background:#fff;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 26px rgba(0,0,0,0.06);
  overflow:hidden;
  transform:translateY(0);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.comparison-card:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:radial-gradient(480px 220px at 14% 0%, rgba(26,115,232,.16), rgba(26,115,232,0) 62%);
  opacity:.9;
  pointer-events:none;
}

.comparison-card > *{position:relative;z-index:1}

.comparison-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 44px rgba(0,0,0,0.12);
  border-color:rgba(26,115,232,.30);
}

.comparison-card:active{transform:translateY(-2px)}

/* Icons in comparison cards (scoped) */
.comparison-card .category-icon{
  position:relative;
  display:block;
  width:52px;
  height:52px;
  margin:0 auto 10px;
  font-size:28px;
  line-height:52px;
  text-align:center;
}

.comparison-card .category-icon:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:999px;
  background:rgba(26,115,232,0.10);
  border:1px solid rgba(26,115,232,0.12);
  box-shadow:0 10px 22px rgba(26,115,232,0.10);
  z-index:-1;
}

.comparison-card h3{font-size:1.05rem;margin:0}
.comparison-card p{margin:0;line-height:1.5;color:#334155}

.comparison-button{
  margin-top:6px;
  align-self:flex-start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border-radius:10px;
  background:#1a73e8;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  transition:filter .15s ease, transform .15s ease;
}

.comparison-button:hover{
  background:#0b5bd3;
  transform:translateY(-1px);
}

.comparison-button:focus-visible{
  outline:3px solid rgba(26,115,232,0.28);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  .comparison-card,
  .comparison-button{transition:none}
}

/* --- Ratgeber (Article Hub) --- */
.ratgeber-section{
  padding:40px 0;
}

.ratgeber-title{
  font-size:clamp(1.6rem, 3.4vw, 2.2rem);
  line-height:1.15;
  letter-spacing:-.02em;
}

.ratgeber-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:25px;
  margin-top:18px;
}

@media (min-width: 720px){
  .ratgeber-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

@media (min-width: 980px){
  .ratgeber-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
}

.ratgeber-card{
  background:#fff;
  border-radius:12px;
  padding:22px;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
  transition:transform .18s ease, box-shadow .18s ease;
}

.ratgeber-card:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 25px rgba(0,0,0,0.12);
}

.ratgeber-card h2,
.ratgeber-card .ratgeber-title{
  margin:0;
}

.ratgeber-card p{
  margin-top:10px;
  line-height:1.6;
  color:#334155;
}

.ratgeber-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  background:#1a73e8;
  color:#fff;
  text-decoration:none;
  border-radius:6px;
  padding:10px 16px;
  font-weight:600;
  transition:filter .15s ease, transform .15s ease;
}

.ratgeber-button:hover{
  filter:brightness(0.95);
  transform:translateY(-1px);
}

@media (prefers-reduced-motion: reduce){
  .ratgeber-card,
  .ratgeber-button{transition:none}
}

/* --- Solar comparison widget container --- */
.comparison-widget{
  max-width:1100px;
  margin:40px auto;
  padding:20px;
  background:#ffffff;
  border-radius:12px;
  box-shadow:0 6px 20px rgba(0,0,0,0.08);
  border:1px solid rgba(0,0,0,0.06);
}

.comparison-widget iframe{
  width:100% !important;
  max-width:100% !important;
  display:block;
}

@media (max-width: 719px){
  .comparison-widget{margin:24px auto;padding:14px}
}

/* --- Modern content sections (break large text blocks) --- */
.content-section{
  margin:70px 0;
}

.content-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

@media (max-width: 900px){
  .content-grid{grid-template-columns:1fr;gap:22px}
}

.content-image{
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  overflow:hidden;
  background:#fff;
}

.content-image img{
  width:100%;
  height:auto;
  display:block;
}

.content-text{
  color:#0f172a;
}

.content-text h2,
.content-text h3{
  margin:0 0 12px;
  color:#0b1b33;
}

.content-text p{
  margin:0;
  line-height:1.7;
  color:#334155;
}

.content-text p + p{
  margin-top:12px;
}

.content-highlight{
  background:#f5f8ff;
  padding:20px;
  border-radius:10px;
  border-left:4px solid #2d6cdf;
  box-shadow:0 10px 26px rgba(0,0,0,0.05);
}

.content-highlight p{color:#1f2a44}

.content-cta{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.content-cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border-radius:10px;
  text-decoration:none;
  font-weight:800;
}

.content-cta a.primary{
  background:#1a73e8;
  color:#fff;
}

.content-cta a.primary:hover{background:#0b5bd3}

.content-cta a.secondary{
  background:#ffffff;
  color:#1a2a4a;
  border:1px solid rgba(0,0,0,0.10);
}

.content-cta a.secondary:hover{background:#f5f7fb}

.content-cta a:focus-visible{
  outline:3px solid rgba(26,115,232,0.28);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  .content-cta a{transition:none}
}

/* --- SEO content split layout (images + text, alternating) --- */
.seo-split{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  align-items:center;
  margin-top:18px;
}

.seo-split-media{
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 26px rgba(0,0,0,0.06);
  background:#f8fafc;
}

.seo-split-media img,
.seo-highlight-media img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio: 16 / 9;
  object-fit:cover;
}

.seo-split-content{
  padding:6px 0;
}

@media (min-width: 720px){
  .seo-split{grid-template-columns:1fr 1fr;gap:24px}
  /* alternate: image right */
  .seo-split--right .seo-split-media{order:2}
  .seo-split--right .seo-split-content{order:1}
}

.seo-highlight{
  margin-top:20px;
}

.seo-highlight-inner{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(26,115,232,0.14);
  background:linear-gradient(180deg, rgba(26,115,232,0.06), rgba(26,115,232,0.02));
  box-shadow:0 16px 44px rgba(0,0,0,0.10);
}

@media (min-width: 720px){
  .seo-highlight-inner{grid-template-columns:0.9fr 1.1fr;align-items:center;gap:22px}
}

.seo-highlight-content ul{margin:0;padding-left:18px}

/* --- Icon benefits list (SEO) --- */
.icon-benefits{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

@media (min-width: 720px){
  .icon-benefits{grid-template-columns:repeat(2, minmax(0, 1fr))}
}

.icon-benefit{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px 12px;
  border-radius:12px;
  background:rgba(255,255,255,0.65);
  border:1px solid rgba(0,0,0,0.06);
}

.icon-benefit .icon{
  flex:0 0 auto;
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(26,115,232,0.10);
  border:1px solid rgba(26,115,232,0.14);
  font-size:22px;
  line-height:1;
}

.icon-benefit .content{display:flex;flex-direction:column;gap:4px}
.icon-benefit .title{font-weight:900;color:#0b1b33}
.icon-benefit .text{color:#334155;line-height:1.55}

@media (min-width: 901px){
  .content-grid--reverse .content-image{order:2}
  .content-grid--reverse .content-text{order:1}
}

.hero.hero--bg{
  color:#fff;
  background-image:var(--hero-bg);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.hero.hero--bg::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,0.40), rgba(0,0,0,0.62));
  pointer-events:none;
  z-index:0;
}

.hero.hero--bg > *{
  position:relative;
  z-index:1;
}

/* Make text readable on hero backgrounds */
.hero.hero--bg h1,
.hero.hero--bg p{
  text-shadow:0 10px 30px rgba(0,0,0,0.35);
}
