:root{
  /* Palette angelehnt an dein aktuelles Erscheinungsbild (hell, neutral, dezenter Salbei-Ton) */
  --bg:#ffffff;
  --bg-alt:rgba(218,226,204,0.22); /* wie im aktuellen Theme-Overlay */
  --text:#333333;
  --muted:#5f6770;
  --line:rgba(0,0,0,.10);
  --line-strong:rgba(0,0,0,.14);
  --card:#ffffff;
  --shadow:0 10px 24px rgba(0,0,0,.08);
  --radius:14px;

  /* Akzent */
  --accent:#333333; /* in deinem aktuellen Customizer taucht #333333 als Fokus/hover auf */
  --accent-soft:rgba(218,226,204,0.35);

  --max:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Roboto, system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, var(--bg), #fafafa);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:var(--max);margin:0 auto;padding:0 18px}
.muted{color:var(--muted)}
.small{font-size:.92rem}
.center{text-align:center}

.header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(140%) blur(8px);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex;align-items:center;justify-content:space-between;min-height:64px;gap:16px}

.brand{display:flex;align-items:center;gap:10px}
.brand__mark{
  width:26px;height:26px;border-radius:9px;
  background:linear-gradient(135deg, rgba(218,226,204,0.9), rgba(218,226,204,0.5));
  border:1px solid var(--line);
}
.brand__name{font-weight:700;letter-spacing:.2px}

.nav{display:flex;align-items:center;gap:12px}
.nav a{padding:10px 10px;border-radius:12px}
.nav a:hover{background:var(--bg-alt);text-decoration:none}
.nav__cta{
  border:1px solid var(--line-strong);
  background:var(--bg-alt);
}
.nav-toggle{display:none}

.hero{
  padding:52px 0 26px;
  background:linear-gradient(180deg, var(--bg-alt), transparent 70%);
  border-bottom:1px solid var(--line);
}
.hero__grid{display:grid;grid-template-columns:1.15fr .85fr;gap:24px;align-items:stretch}

.kicker{color:var(--muted);margin:0 0 10px}
h1,h2{font-family:"Roboto Slab", Roboto, serif}
h1{font-size:2.05rem;line-height:1.15;margin:0 0 14px}
h2{font-size:1.55rem;margin:0 0 12px}
h3{font-size:1.15rem;margin:0 0 8px}
.lead{font-size:1.05rem;color:var(--muted);max-width:60ch}

.hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 14px;border-radius:12px;
  border:1px solid var(--line-strong);
  background:#fff;
  font-weight:700;
  box-shadow:0 8px 18px rgba(0,0,0,.06);
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}

.btn--primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}
.btn--primary:hover{opacity:.92}
.btn--ghost{background:transparent}

.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.trust__item{
  padding:12px;border:1px solid var(--line);
  border-radius:var(--radius);background:rgba(255,255,255,.85);
}
.trust__title{font-weight:800;margin-bottom:4px}

.hero__media{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:260px
}
.media-card{padding:18px}
.media-card__tag{
  display:inline-block;font-size:.85rem;color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px;border-radius:999px;background:#fff
}
.media-card__title{margin-top:12px;font-weight:800;font-size:1.05rem}

.section{padding:42px 0}
.section--alt{background:rgba(218,226,204,0.18);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}

.grid{display:grid;gap:14px;margin-top:14px}
.grid--3{grid-template-columns:repeat(3,1fr)}

.card{
  padding:16px;border-radius:var(--radius);
  background:var(--card);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.link{display:inline-block;margin-top:10px}
.split{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}

.checks{padding-left:18px;margin:12px 0 0}
.checks li{margin:8px 0}

.quote{
  padding:16px;border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}
.step{
  display:flex;gap:12px;align-items:flex-start;
  padding:14px;border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
}
.step__n{
  width:34px;height:34px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  background:var(--bg-alt);
  border:1px solid var(--line);
  font-weight:800
}
.step__t{font-weight:800;margin-bottom:3px}

.faq{display:grid;gap:10px;margin-top:10px}
details{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
  padding:12px
}
summary{cursor:pointer;font-weight:800}
details p{margin:10px 0 0;color:var(--muted)}

.cta-card{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:18px;border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
}
.cta-card__actions{display:flex;gap:10px;flex-wrap:wrap}

.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
.gallery__item{
  margin:0;border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;overflow:hidden;
  box-shadow:var(--shadow);
}
.gallery__ph{
  height:160px;
  background:linear-gradient(135deg, rgba(218,226,204,0.8), rgba(218,226,204,0.3));
}
.gallery__item figcaption{padding:12px}
.gallery__t{font-weight:800;margin-bottom:4px}

.form{display:grid;gap:10px}
label{display:grid;gap:6px;font-weight:800}
input,select,textarea{
  width:100%;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  outline:none;
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{border-color:rgba(0,0,0,.28)}
.checkbox{display:flex;gap:10px;align-items:center;font-weight:800}
.checkbox input{width:18px;height:18px}
.hp{position:absolute;left:-9999px;opacity:0}

.footer{
  padding:34px 0 18px;
  border-top:1px solid var(--line);
  background:#fff;
}
.footer__grid{display:grid;grid-template-columns:1.2fr .9fr .9fr;gap:18px}
.footer__brand{font-weight:900;margin-bottom:8px}
.footer__title{font-weight:900;margin-bottom:10px}
.footer__cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.footer__bottom{margin-top:18px;padding-top:12px;border-top:1px solid var(--line)}
.list{list-style:none;padding:0;margin:0;display:grid;gap:8px}

@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(2,1fr)}
  .footer__grid{grid-template-columns:1fr}
  h1{font-size:1.85rem}
}
@media (max-width: 680px){
  .nav{display:none;position:absolute;top:64px;left:0;right:0;padding:12px 18px;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch}
  .nav a{padding:12px 12px}
  .nav.open{display:flex}
  .nav-toggle{display:inline-flex;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--text)}
  .trust{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr}
  .cta-card{flex-direction:column;align-items:stretch}
}


/* Kontakt + Karte */
.contact-split{align-items:stretch}
.map-card{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
  min-height:340px;
  display:flex;
  flex-direction:column;
}
.map-card iframe{
  width:100%;
  flex:1;
  border:0;
  min-height:280px;
}
.map-card__bar{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  padding:10px 12px;
  border-top:1px solid var(--line);
  background:#fff;
}
@media (max-width: 980px){
  .map-card{min-height:300px}
  .map-card__bar{flex-direction:column;align-items:flex-start}
}


.map-placeholder{
  width:100%;
  flex:1;
  min-height:280px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:10px;
  padding:14px;
  background:linear-gradient(180deg, rgba(218,226,204,0.22), rgba(255,255,255,1));
}
.map-placeholder iframe{
  width:100%;
  height:100%;
  min-height:280px;
  border:0;
}
.gallery{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
}

@media (max-width: 900px){
  .gallery{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .gallery{ grid-template-columns:1fr; }
}

.gallery__item{
  overflow:hidden;
}

.gallery__media{
  width:100%;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  border-radius:12px;
  background:#f2f2f2;
}

.gallery__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.hero__media {
  border-radius: 14px;
  overflow: hidden;
}

.hero__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand__logo{
  width:34px;
  height:34px;
  object-fit:contain;
  display:block;
}
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:9999;padding:14px}
.cookie__box{max-width:1100px;margin:0 auto;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:14px;box-shadow:0 10px 24px rgba(0,0,0,.12);padding:14px 14px;display:grid;gap:10px}
.cookie__t{font-weight:700

.gallery__item{
  overflow:hidden;
}

.gallery__item img{
  display:block;
  width:100%;
  height:260px;         
  object-fit:cover;     
  object-position:center;
}

/* адаптация под телефон */
@media (max-width: 720px){
  .gallery__item img{
    height:210px;
  }
}
/* FIX: не даём браузеру рисовать фото "крупными пикселями" */
.gallery__item img,
.gallery__img{
  display:block;
  width:100%;
  height:260px;
  object-fit:cover;
  object-position:center;

  image-rendering:auto !important;
  -ms-interpolation-mode:bicubic;
}

/* мобильная высота */
@media (max-width: 720px){
  .gallery__item img,
  .gallery__img{
    height:210px;
  }
}
.gallery__link{
  display:block;
  border-radius:inherit;
  overflow:hidden;
}
.gallery__link:focus-visible{
  outline:2px solid rgba(0,0,0,.35);
  outline-offset:3px;
}


