/* site-modern.css */
/* Modernes Overlay für die bestehende Altstruktur */
/* Reihenfolge:
   1. Variablen / Basis
   2. Layout / Grundstruktur
   3. Header / Hero / Navigation
   4. Typografie / Inhalt
   5. Komponenten
   6. Sidebar / Footer
   7. Seitenmodule Birkenweg
   8. Responsive
*/

/* =========================================
   1. Variablen / Basis
   ========================================= */
:root{
  --bg:#f5f1ea;
  --card:#ffffff;
  --text:#2d2a26;
  --muted:#6d645a;
  --accent:#6b4d2e;
  --accent-2:#8f6b44;
  --line:#ddd3c7;
  --soft:#efe7dc;
  --shadow:0 10px 30px rgba(48,38,28,.08);
  --radius:18px;
}

html,
body{
  margin:0;
  padding:0;
  background:linear-gradient(180deg,#f7f4ef 0%,#f1ece4 100%);
  color:var(--text);
}

body{
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.6;
}

a{
  color:#6d441f;
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

table{
  max-width:100%;
}

/* =========================================
   2. Layout / Grundstruktur
   ========================================= */
#container{
  width:min(1120px,calc(100% - 32px));
  margin:18px auto 24px;
  background:transparent;
  box-shadow:none;
}

#content{
  width:calc(100% - 320px);
  padding:28px 34px 36px;
  box-sizing:border-box;
  background:var(--card);
  border-radius:0 0 var(--radius) var(--radius);
  box-shadow:var(--shadow);
}

#links{
  width:280px;
  margin-top:0;
  box-sizing:border-box;
}

#partner{
  width:min(1120px,calc(100% - 32px));
  margin:18px auto;
  clear:both;
}

#breadcrumb{
  position:static !important;
  left:auto !important;
  top:auto !important;
  display:block;
  width:min(1120px,calc(100% - 32px));
  margin:8px auto !important;
}

#content #breadcrumb{
  width:auto;
}

#partner .empfehlung,
#breadcrumb{
  padding:16px 20px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
}

#footerimage,
#footer,
.footer-panels{
  clear:both;
}

#footerimage{
  width:100%;
  margin-top:22px;
}

#footerimage img{
  width:100%;
  border-radius:18px 18px 0 0;
}

/* =========================================
   3. Header / Hero / Navigation
   ========================================= */
#header-utility{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:12px 18px;
  font-size:14px;
  color:#fff;
  background:#31261c;
  border-radius:var(--radius) var(--radius) 0 0;
}

#header-utility a{
  color:#fff;
  font-weight:bold;
}

.utility-links{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.site-hero{
  position:relative;
  overflow:hidden;
  border-radius:0;
  box-shadow:none;
}

.site-hero img{
  width:100%;
  filter:saturate(1.02);
}

.site-hero-overlay{
  position:absolute;
  right:0;
  bottom:0;
  left:0;
  padding:12px 30px;
  color:#fff;
  background:linear-gradient(180deg,rgba(20,15,10,.05),rgba(20,15,10,.78));
}

.site-kicker{
  display:inline-block;
  margin-bottom:12px;
  padding:1px 10px;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.32);
  border-radius:999px;
}

.site-title{
  margin:0;
  font-size:34px;
  line-height:1.15;
  color:aliceblue;
}

.site-subtitle{
  max-width:820px;
  margin:10px 0 0;
  font-size:17px;
  color:#f3ece4;
}

/* Altes Menü bewusst ausblenden, da primary-nav die Hauptnavigation übernimmt */
#menucontainer{
  display:none !important;
  position:static !important;
  left:auto !important;
  top:auto !important;
  height:auto !important;
  line-height:normal !important;
  text-align:left !important;
}

#menucontainer ul{
  display:flex;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:10px;
  margin:0;
  padding:0;
  list-style:none;
}

#menucontainer li a{
  display:inline-flex;
  padding:10px 14px;
  font-weight:bold;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:var(--shadow);
}

.primary-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  width:min(1120px,calc(100% - 32px));
  margin:18px auto 12px;
  padding:16px 20px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  border-bottom:1px solid var(--line);
  box-shadow:var(--shadow);
}

.primary-nav a{
  display:inline-flex;
  align-items:center;
  padding:0px 10px;
  font-weight:bold;
  color:#4d3824;
  text-decoration:none;
  background:var(--soft);
  border-radius:999px;
}

.primary-nav a:hover{
  text-decoration:none;
  background:#e5d7c5;
}

/* =========================================
   4. Typografie / Inhalt
   ========================================= */
h1{
  margin:0 0 20px;
  font-size:38px;
  line-height:1.15;
  color:#2d241c;
}

h2{
  margin:34px 0 14px;
  font-size:24px;
  line-height:1.25;
  color:#4d3824;
}

h3{
  margin:28px 0 12px;
  font-size:20px;
  line-height:1.3;
  color:#4d3824;
}

/* Alte dekorative Anführungszeichen entfernen */
h2,
h3{
  padding-left:0 !important;
  background-image:none !important;
}

p,
li{
  font-size:16px;
  color:#3f352b;
}

ul{
  padding-left:22px;
}

#content > p:first-of-type,
#content > .texte:first-of-type{
  font-size:18px;
  color:#4d4033;
}

/* =========================================
   5. Komponenten
   ========================================= */
.page-intro,
.home-summary,
.linkhub-intro,
.trust-strip,
.cta-panel,
.region-grid,
.link-card-grid,
.mini-card-grid,
.feature-list-modern,
.notice-card,
.host-box,
.theme-links{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

.page-intro,
.home-summary,
.linkhub-intro,
.cta-panel,
.notice-card,
.host-box{
  padding:22px;
}

.home-summary{
  margin:0 0 26px;
}

.home-summary p:last-child,
.page-intro p:last-child,
.linkhub-intro p:last-child,
.notice-card p:last-child,
.host-box p:last-child{
  margin-bottom:0;
}

.quick-facts{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:22px 0 8px;
}

.quick-facts .fact{
  padding:16px;
  background:var(--soft);
  border:1px solid var(--line);
  border-radius:16px;
}

.quick-facts strong{
  display:block;
  margin-bottom:6px;
  font-size:15px;
  color:#4b3927;
}

.cta-panel{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:30px 0;
  background:linear-gradient(135deg,#f8f1e8,#f1e7d8);
}

.cta-panel .cta-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btn-primary,
.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  font-weight:bold;
  text-decoration:none;
  border-radius:999px;
}

.btn-primary{
  color:#fff;
  background:var(--accent);
}

.btn-primary:hover{
  text-decoration:none;
  background:#5a3f24;
}

.btn-secondary{
  color:#4a3622;
  background:#fff;
  border:1px solid var(--line);
}

.btn-secondary:hover{
  text-decoration:none;
  background:#f8f4ef;
}

.feature-list-modern{
  margin:28px 0;
  padding:24px;
}

.feature-list-modern ul{
  margin:0;
  column-count:2;
  column-gap:26px;
}

.feature-list-modern li{
  margin:0 0 10px;
  break-inside:avoid;
}

.region-grid,
.link-card-grid,
.mini-card-grid{
  display:grid;
  gap:18px;
  margin:26px 0;
  padding:18px;
}

.region-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.link-card-grid,
.mini-card-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.region-card,
.link-card,
.mini-card{
  padding:18px;
  background:#fcfaf7;
  border:1px solid var(--line);
  border-radius:16px;
}

.region-card h3,
.link-card h3,
.mini-card h3{
  margin-top:0;
  font-size:19px;
}

.region-card p,
.link-card p,
.mini-card p{
  margin:0 0 12px;
}

.region-card a,
.link-card a,
.mini-card a{
  font-weight:bold;
}

.notice-card{
  margin:26px 0;
  background:#fcfaf7;
}

.host-box{
  margin:28px 0;
  background:linear-gradient(135deg,#fff,#f6f0e8);
}

.link-cleanup-note{
  font-size:14px;
  color:var(--muted);
}

#social{
  display:none;
}

/* =========================================
   6. Sidebar / Footer
   ========================================= */
.sidebar-card,
#links .block,
#menufewo{
  margin-bottom:18px;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.sidebar-card h2,
.sidebar-card h3{
  margin-top:0;
}

#menufewo p{
  margin:0 0 12px;
}

#menufewo a{
  font-weight:bold;
}

#footer{
  padding:18px 20px;
  color:#fff;
  background:#31261c;
}

#footer a{
  color:#fff;
}

.footer-panels{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  padding:22px;
  background:#fff;
  border:1px solid var(--line);
  border-top:0;
  border-radius:0 0 18px 18px;
  box-shadow:var(--shadow);
}

.footer-panels .panel{
  padding:16px;
  background:#faf7f2;
  border:1px solid var(--line);
  border-radius:16px;
}

.footer-panels h3{
  margin:0 0 10px;
  font-size:18px;
}

/* =========================================
   7. Seitenmodule Birkenweg
   ========================================= */
.birkenweg-intro{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:24px;
  margin:8px 0 24px;
}

.birkenweg-intro .lead{
  margin:12px 0 0;
  font-size:18px;
  color:#4c433a;
}

.birkenweg-intro-image{
  min-height:320px;
}

.birkenweg-intro-image img,
.birkenweg-gallery-strip img,
.birkenweg-card img,
.birkenweg-final-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:18px;
  box-shadow:var(--shadow);
}

.birkenweg-gallery-strip{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:18px;
  margin:8px 0 28px;
}

.birkenweg-gallery-strip img{
  min-height:180px;
}

.birkenweg-section{
  margin:0 0 30px;
}

.birkenweg-section > p{
  margin:0 0 16px;
  color:#4f463e;
}

.birkenweg-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}

.birkenweg-card-grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.birkenweg-card{
  overflow:hidden;
  background:#fff;
  border:1px solid #eadfce;
  border-radius:20px;
  box-shadow:var(--shadow);
}

.birkenweg-card img{
  aspect-ratio:16/10;
}

.birkenweg-card-body{
  padding:16px 18px 18px;
}

.birkenweg-card-body h3{
  margin:0 0 8px;
  font-size:22px;
  line-height:1.25;
}

.birkenweg-card-body p{
  margin:0;
  color:#5a5148;
}

.birkenweg-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:18px 0 0;
}

/* Leuchtende, aber nicht zu hohe CTA-Buttons */
a.cta-bright{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  font-weight:700;
  line-height:1.2;
  color:#2b1a00;
  background:linear-gradient(180deg,#ffb300 0%,#ff8f00 100%);
  border:1px solid rgba(171,95,0,.18);
  border-radius:999px;
  box-shadow:0 8px 20px rgba(255,143,0,.28);
}

a.cta-bright:hover{
  text-decoration:none;
  filter:brightness(1.03);
}

.birkenweg-section-cta{
  padding:22px;
  background:#fbf7f1;
  border:1px solid #ebdfd0;
  border-radius:22px;
}

.birkenweg-final-image{
  margin:14px 0 8px;
}

.birkenweg-final-image img{
  max-height:260px;
}

/* =========================================
   8. Responsive
   ========================================= */
@media (max-width:980px){
  #container{
    width:min(100%,calc(100% - 20px));
  }

  #content{
    width:100%;
    padding:22px 18px 28px;
    border-radius:0 0 18px 18px;
  }

  #links{
    width:100%;
    margin-top:18px;
  }

  #header-utility,
  .cta-panel{
    flex-direction:column;
    align-items:flex-start;
  }

  .quick-facts,
  .region-grid,
  .link-card-grid,
  .mini-card-grid,
  .footer-panels,
  .birkenweg-intro,
  .birkenweg-gallery-strip,
  .birkenweg-card-grid,
  .birkenweg-card-grid-3{
    grid-template-columns:1fr;
  }

  .feature-list-modern ul{
    column-count:1;
  }

  .site-title{
    font-size:28px;
  }

  .birkenweg-intro-image,
  .birkenweg-card img,
  .birkenweg-gallery-strip img{
    min-height:auto;
  }
}
