/*
Theme Name: Mäusenest Smart Final
Theme URI: https://example.com/
Author: OpenAI
Description: Finale editierbare WordPress-Theme-Version für das Hennefer Mäusenest.
Version: 1.0.0
Text Domain: maeusenest-smart-final
*/

:root{
  --bg:#f6f1eb;
  --paper:#ffffff;
  --ink:#1e3253;
  --muted:#63738c;
  --accent:#f47f20;
  --accent-dark:#e06c11;
  --green:#6cb36d;
  --line:#eadfd3;
  --shadow:0 18px 40px rgba(24,34,56,.08);
  --radius-xl:28px;
  --radius-lg:22px;
  --container:min(1180px, calc(100% - 32px));
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:radial-gradient(circle at top left, #fbf6ef 0%, #f6f1eb 44%, #f1e9df 100%);
  color:var(--ink);
  font-family:Inter, "Segoe UI", Arial, sans-serif;
  line-height:1.6;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

a{
  text-decoration:none;
}

.container{
  width:var(--container);
  margin-inline:auto;
}

.center{
  text-align:center;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(234,223,211,.95);
}

.header-inner{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo-link{
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--ink);
}

.logo-badge{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg,#fff4e7 0%,#ffe2c2 100%);
  box-shadow:0 8px 20px rgba(244,127,32,.18);
  font-size:1.35rem;
}

.logo-text{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.logo-text strong{
  font-size:1rem;
  line-height:1;
}

.logo-text span{
  font-size:.84rem;
  color:var(--muted);
  line-height:1.15;
}

.main-nav{
  margin-left:auto;
}

.main-nav .menu{
  display:flex;
  align-items:center;
  gap:12px;
  list-style:none;
  padding:0;
  margin:0;
}

.main-nav .menu a{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  color:var(--ink);
  font-weight:600;
}

.main-nav .menu a:hover,
.main-nav .current-menu-item > a{
  background:#fff5eb;
  color:var(--accent-dark);
}

.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  background:linear-gradient(180deg,#ff9e39 0%,#f47f20 100%);
  color:#fff;
  font-weight:700;
  box-shadow:0 12px 24px rgba(244,127,32,.22);
  white-space:nowrap;
}

/* Sections */
.section{
  padding:72px 0;
}

.section-title{
  margin:0 0 12px;
  font-size:clamp(2rem,2.6vw,3rem);
  line-height:1.08;
  text-align:center;
}

.section-copy{
  max-width:760px;
  margin:0 auto 32px;
  color:var(--muted);
  text-align:center;
  font-size:1.03rem;
}

/* Hero */
.hero{
  padding:34px 0 44px;
}

.hero-shell{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:34px;
  align-items:center;
  background:linear-gradient(180deg,rgba(255,255,255,.82) 0%,rgba(255,247,239,.9) 100%);
  border:1px solid rgba(255,255,255,.7);
  box-shadow:var(--shadow);
  border-radius:38px;
  padding:28px;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:#fff5eb;
  color:var(--accent-dark);
  font-weight:700;
  font-size:.85rem;
  margin-bottom:18px;
}

.hero h1{
  margin:0 0 16px;
  font-size:clamp(2.6rem,5vw,4.8rem);
  line-height:1.02;
  letter-spacing:-.03em;
}

.hero p{
  margin:0 0 22px;
  color:var(--muted);
  font-size:1.12rem;
  max-width:590px;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}

.hero-stats{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:22px;
}

.hero-stat{
  background:#fff;
  border:1px solid #f0e6da;
  box-shadow:0 10px 24px rgba(34,45,69,.05);
  border-radius:18px;
  padding:12px 14px;
  min-width:150px;
}

.hero-stat strong{
  display:block;
  font-size:1.1rem;
}

.hero-stat span{
  color:var(--muted);
  font-size:.92rem;
}

.hero-frame{
  background:linear-gradient(180deg,#f6efe5 0%,#f1e7da 100%);
  border-radius:34px;
  padding:18px;
  box-shadow:var(--shadow);
}

.hero-frame img{
  border-radius:26px;
  width:100%;
  object-fit:cover;
  aspect-ratio:1/1;
}

.hero-media{
  position:relative;
}

.float-card{
  position:absolute;
  left:-22px;
  bottom:20px;
  background:#fff;
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:14px 16px;
  min-width:220px;
}

.float-card strong{
  display:block;
  margin-bottom:4px;
}

.float-card span{
  color:var(--muted);
  font-size:.92rem;
}

/* Generic grids/cards */
.grid{
  display:grid;
  gap:24px;
}

.grid-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.grid-4{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

.card{
  background:var(--paper);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow);
  overflow:hidden;
  border:1px solid rgba(244,244,244,.7);
}

.card-media{
  padding:14px 14px 0;
}

.card-media img{
  width:100%;
  aspect-ratio:16/12;
  object-fit:cover;
  border-radius:16px;
}

.card-body{
  padding:18px 20px 20px;
}

.card-title{
  margin:0 0 8px;
  font-size:1.3rem;
}

.card-copy{
  margin:0;
  color:var(--muted);
}

/* SEO / Benefits block */
.seo-block{
  background:linear-gradient(180deg,rgba(255,255,255,.88) 0%,rgba(255,248,241,.9) 100%);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:28px;
}

.benefits-list{
  list-style:none;
  padding:0;
  margin:22px 0 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.benefits-list li{
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  box-shadow:0 8px 18px rgba(0,0,0,.05);
  font-weight:600;
  color:var(--ink);
}

/* Story */
.story-wrap{
  background:linear-gradient(180deg,rgba(255,255,255,.82) 0%,rgba(255,248,241,.85) 100%);
  border-radius:36px;
  box-shadow:var(--shadow);
  padding:28px;
}

.story-card{
  background:transparent;
  box-shadow:none;
  border:none;
}

.story-card .card-body{
  padding:16px 6px 4px;
}

.story-card .card-media{
  padding:0;
}

.story-card .card-media img{
  border-radius:26px;
  aspect-ratio:4/3;
}

/* Schedule */
.schedule-panel{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  background:linear-gradient(180deg,rgba(255,255,255,.88) 0%,rgba(255,249,243,.86) 100%);
  box-shadow:var(--shadow);
  border-radius:28px;
  padding:22px;
}

.schedule-item{
  background:#fff;
  border:1px solid #f1e6db;
  border-radius:22px;
  padding:18px;
  text-align:center;
}

.schedule-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  border-radius:50%;
  background:#fff3e7;
  color:var(--accent-dark);
  font-size:1.4rem;
}

.schedule-time{
  display:block;
  font-size:1.4rem;
  font-weight:800;
  line-height:1.1;
}

.schedule-label{
  color:var(--muted);
  font-weight:600;
}

/* Availability */
.availability-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
  margin-top:28px;
}

.availability-card{
  background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,248,241,.92) 100%);
  border-radius:24px;
  box-shadow:0 18px 40px rgba(24,34,56,.08);
  padding:28px;
  text-align:center;
}

.availability-name{
  margin:0 0 10px;
  font-size:1.4rem;
}

.availability-status{
  display:inline-block;
  padding:10px 16px;
  border-radius:999px;
  font-weight:800;
  margin:10px 0 14px;
  line-height:1;
}

.availability-info{
  margin:0;
  color:var(--muted);
  font-size:1rem;
}

.availability-note{
  max-width:760px;
  margin:22px auto 0;
  color:var(--muted);
  text-align:center;
}

.availability-button{
  display:block;
  width:max-content;
  margin:22px auto 0;
}

/* Contact section */
.contact-shell{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:26px;
  align-items:stretch;
}

.contact-card,
.map-card{
  background:var(--paper);
  box-shadow:var(--shadow);
  border-radius:30px;
}

.contact-card{
  padding:28px;
}

.contact-list{
  display:grid;
  gap:16px;
  margin-top:18px;
}

.contact-row{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:14px 16px;
  border-radius:18px;
  background:#fbf7f2;
}

.contact-row-icon{
  width:46px;
  height:46px;
  flex:0 0 46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.contact-row strong{
  display:block;
}

.contact-row span,
.contact-row a{
  color:var(--muted);
}

.contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:20px;
}

/* Real map in right card */
.map-card{
  padding:0 !important;
  overflow:hidden;
  min-height:420px;
}

.map-card iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:420px;
  border:0;
}

/* CTA strip */
.cta-strip{
  padding:34px 0 78px;
}

.cta-panel{
  background:linear-gradient(135deg,#304c7a 0%,#23385f 100%);
  border-radius:34px;
  box-shadow:var(--shadow);
  color:#fff;
  padding:34px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.cta-panel h2{
  margin:0 0 6px;
  color:#fff;
  text-align:left;
}

.cta-panel p{
  margin:0;
  color:rgba(255,255,255,.8);
  text-align:left;
}

/* Footer */
.site-footer{
  background:#2f4d7b;
  color:#fff;
  margin-top:10px;
}

.footer-inner{
  min-height:86px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.site-footer p{
  margin:0;
}

.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.footer-links a{
  color:rgba(255,255,255,.9);
}

/* Content pages */
.entry-card,
.archive-card,
.error-card{
  padding:28px;
}

.entry-title,
.archive-title{
  margin:0 0 12px;
  font-size:clamp(2rem,2.5vw,3rem);
}

.entry-meta{
  color:var(--muted);
  margin-bottom:16px;
}

.entry-thumbnail img,
.archive-thumb img{
  width:100%;
  border-radius:20px;
  margin-bottom:20px;
  box-shadow:var(--shadow);
}

.archive-grid{
  margin-top:24px;
}

.archive-card-title{
  margin:16px 0 10px;
  font-size:1.35rem;
}

.archive-card-title a{
  color:var(--ink);
}

.archive-card-excerpt{
  color:var(--muted);
  margin-bottom:14px;
}

.pagination{
  margin-top:30px;
  text-align:center;
}

.pagination .nav-links{
  display:inline-flex;
  gap:10px;
  flex-wrap:wrap;
}

.pagination a,
.pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  box-shadow:var(--shadow);
}

.pagination .current{
  background:var(--accent);
  color:#fff;
}

/* Forms */
.simple-contact-form input,
.simple-contact-form textarea{
  width:100%;
  padding:14px 16px;
  font:inherit;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
}

.simple-contact-form textarea{
  resize:vertical;
}

.simple-contact-form p{
  margin:0 0 16px;
}

/* Buttons */
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 22px;
  border:none;
  border-radius:999px;
  font-weight:800;
  cursor:pointer;
}

.button-primary{
  color:#fff;
  background:linear-gradient(180deg,#ff9e39 0%,#f47f20 100%);
  box-shadow:0 16px 32px rgba(244,127,32,.28);
}

.button-secondary{
  color:var(--ink);
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}

.button-whatsapp{
  background:linear-gradient(180deg,#304c7a 0%,#23385f 100%);
  color:#fff;
  box-shadow:0 16px 32px rgba(35,56,95,.18);
}

/* Animation */
.reveal{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .55s ease, transform .55s ease;
}

.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

.no-js .reveal{
  opacity:1;
  transform:none;
}

/* Responsive */
@media (max-width:1080px){
  .hero-shell,
  .contact-shell,
  .grid-3,
  .grid-4,
  .schedule-panel,
  .availability-grid{
    grid-template-columns:1fr;
  }

  .cta-panel{
    flex-direction:column;
    align-items:flex-start;
  }

  .float-card{
    position:static;
    margin-top:16px;
    min-width:0;
  }

  .benefits-list{
    grid-template-columns:1fr;
  }

  .map-card,
  .map-card iframe{
    min-height:360px;
  }
}

@media (max-width:860px){
  .header-inner{
    min-height:auto;
    padding:14px 0;
    flex-wrap:wrap;
    justify-content:center;
  }

  .main-nav{
    width:100%;
    order:3;
  }

  .main-nav .menu{
    justify-content:center;
    flex-wrap:wrap;
  }

  .hero{
    padding-top:20px;
  }

  .hero-shell{
    padding:18px;
    border-radius:28px;
  }

  .card-title{
    font-size:1.2rem;
  }

  .footer-inner{
    min-height:auto;
    padding:18px 0;
    flex-direction:column;
    text-align:center;
  }
}
.entry-content > *{
  margin-top:0;
  margin-bottom:24px;
}

.entry-content .wp-block-group{
  border-radius:28px;
}

.entry-content .wp-block-columns{
  gap:24px;
}

.entry-content .wp-block-image img{
  border-radius:22px;
}

.entry-content .wp-block-button__link{
  border-radius:999px;
  font-weight:800;
  padding:14px 22px;
}

.entry-content .is-style-outline .wp-block-button__link{
  border-radius:999px;
}

.entry-content .wp-block-cover,
.entry-content .wp-block-group.has-background{
  border-radius:28px;
  overflow:hidden;
}

.entry-content h1{
  font-size:clamp(2.6rem,5vw,4.8rem);
  line-height:1.02;
  letter-spacing:-.03em;
}

.entry-content h2{
  font-size:clamp(2rem,2.6vw,3rem);
  line-height:1.08;
  margin-bottom:12px;
}

.entry-content p{
  color:var(--ink);
}

.entry-content .has-text-color p,
.entry-content .has-text-color{
  color:inherit;
}