/*
Theme Name: Campingzelt Mieten Berlin
Theme URI: https://campingzelt-mieten.berlin
Description: Individuelles Kadence-Child-Theme für Campingzelt Mieten Berlin – Vermietung von Campingzelten und Campingausrüstung.
Author: campingzelt-mieten.berlin
Template: kadence
Version: 1.5.0
Text Domain: campingzelt-mieten
*/

:root {
  --czm-forest: #15382c;
  --czm-forest-dark: #0b261d;
  --czm-forest-soft: #2e5543;
  --czm-orange: #ed841d;
  --czm-orange-dark: #cf6e0d;
  --czm-cream: #f7ead0;
  --czm-sand: #d7b77f;
  --czm-bg: #f7f5ef;
  --czm-white: #ffffff;
  --czm-text: #202a24;
  --czm-muted: #65736b;
  --czm-border: #e3e7e2;
  --czm-shadow: 0 14px 36px rgba(18, 47, 36, 0.10);
  --czm-radius: 18px;
  --czm-max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.czm-site {
  margin: 0;
  color: var(--czm-text);
  background: var(--czm-bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}
body.czm-site a { color: inherit; }
body.czm-site img { max-width: 100%; height: auto; }
body.czm-site h1, body.czm-site h2, body.czm-site h3, body.czm-site h4 {
  color: var(--czm-forest-dark);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.czm-container { width: min(var(--czm-max), calc(100% - 40px)); margin-inline: auto; }
.czm-section { padding: 88px 0; }
.czm-section--white { background: var(--czm-white); }
.czm-section--forest { background: var(--czm-forest-dark); color: var(--czm-white); }
.czm-section--forest h2, .czm-section--forest h3 { color: var(--czm-white); }
.czm-eyebrow { margin: 0 0 10px; color: var(--czm-orange); font-size: .82rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.czm-section-title { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.4rem); }
.czm-lead { max-width: 760px; margin: 0; color: var(--czm-muted); font-size: 1.08rem; }
.czm-section--forest .czm-lead { color: rgba(255,255,255,.76); }

/* Header */
.czm-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(21,56,44,.08);
  backdrop-filter: blur(10px);
}
.admin-bar .czm-header { top: 32px; }
.czm-header__inner { min-height: 104px; display: grid; grid-template-columns: 190px 1fr auto; gap: 24px; align-items: center; }
.czm-brand { display: flex; align-items: center; text-decoration: none; }
.czm-brand img { display: block; width: 155px; max-height: 92px; object-fit: contain; }
.czm-nav { display: flex; justify-content: flex-end; }
.czm-nav ul { display: flex; gap: clamp(17px, 2vw, 29px); align-items: center; list-style: none; margin: 0; padding: 0; }
.czm-nav a { text-decoration: none; color: #263b31; font-size: .98rem; font-weight: 650; white-space: nowrap; transition: color .2s ease; }
.czm-nav a:hover, .czm-nav .current-menu-item > a { color: var(--czm-orange); }
.czm-header__cta { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 6px; background: var(--czm-orange); color: #fff !important; text-decoration: none; font-weight: 750; white-space: nowrap; box-shadow: 0 8px 18px rgba(237,132,29,.18); transition: transform .2s ease, background .2s ease; }
.czm-header__cta:hover { background: var(--czm-orange-dark); transform: translateY(-1px); }
.czm-nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; cursor: pointer; padding: 8px; }
.czm-nav-toggle span { display: block; height: 2px; width: 100%; background: var(--czm-forest-dark); margin: 6px 0; }

/* Hero */
.czm-hero { position: relative; min-height: 610px; display: grid; align-items: center; background-color: var(--czm-forest-dark); background-size: cover; background-position: center; isolation: isolate; overflow: hidden; }
.czm-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,25,19,.91) 0%, rgba(7,25,19,.74) 38%, rgba(7,25,19,.25) 67%, rgba(7,25,19,.10) 100%); }
.czm-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 110px; background: linear-gradient(transparent, rgba(5,20,15,.16)); z-index: -1; }
.czm-hero__content { width: min(720px, 62%); padding: 86px 0; color: #fff; }
.czm-hero__kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #ffdcb4; font-weight: 750; font-size: .92rem; }
.czm-hero__kicker::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: var(--czm-orange); }
.czm-hero h1 { margin: 0 0 22px; max-width: 760px; color: #fff8ea; font-size: clamp(2.55rem, 5.2vw, 4.9rem); font-weight: 850; letter-spacing: -.045em; text-shadow: 0 4px 24px rgba(0,0,0,.26); }
.czm-hero p { margin: 0 0 31px; max-width: 700px; color: rgba(255,255,255,.92); font-size: clamp(1.02rem, 1.6vw, 1.23rem); font-weight: 500; }
.czm-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.czm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 7px; border: 2px solid transparent; text-decoration: none; font-weight: 780; line-height: 1; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.czm-btn:hover { transform: translateY(-2px); }
.czm-btn--orange { background: var(--czm-orange); color: #fff !important; }
.czm-btn--orange:hover { background: var(--czm-orange-dark); }
.czm-btn--ghost { border-color: rgba(255,255,255,.58); color: #fff !important; background: rgba(13,47,36,.55); }
.czm-btn--ghost:hover { background: var(--czm-forest); border-color: #fff; }
.czm-hero__trust { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 31px; font-size: .92rem; color: rgba(255,255,255,.84); }
.czm-hero__trust span::before { content: "✓"; margin-right: 7px; color: #ffc27d; font-weight: 900; }

/* Cards */
.czm-grid { display: grid; gap: 22px; }
.czm-grid--5 { grid-template-columns: repeat(5, 1fr); }
.czm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.czm-card { position: relative; display: flex; flex-direction: column; min-height: 100%; padding: 28px; border: 1px solid var(--czm-border); border-radius: var(--czm-radius); background: #fff; box-shadow: 0 4px 18px rgba(24,52,42,.045); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.czm-card:hover { transform: translateY(-5px); border-color: rgba(237,132,29,.45); box-shadow: var(--czm-shadow); }
.czm-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 14px; background: #fff3e4; color: var(--czm-orange); }
.czm-icon svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.czm-card h3 { margin: 0 0 9px; font-size: 1.22rem; }
.czm-card p { margin: 0 0 18px; color: var(--czm-muted); font-size: .95rem; }
.czm-card__link { margin-top: auto; color: var(--czm-forest); font-weight: 800; font-size: .92rem; }
.czm-card__link::after { content: " →"; color: var(--czm-orange); }

/* Feature / Set cards */
.czm-set-card { padding: 0; overflow: hidden; text-decoration: none; }
.czm-set-card__top { min-height: 164px; display: flex; align-items: flex-end; padding: 26px; background: var(--czm-forest); color: #fff; }
.czm-set-card__top--image { min-height: 235px; background-size: contain !important; background-position: center !important; background-repeat: no-repeat !important; background-color: #f9f7f0 !important; }
.czm-set-card__top h3 { margin: 0; color: #fff; font-size: 1.42rem; }
.czm-set-card__body { padding: 26px; }
.czm-set-card__title {
  margin: 0 0 16px;
  color: var(--czm-forest-dark);
  font-size: 1.35rem;
  line-height: 1.25;
}

.czm-set-card ul { margin: 0 0 20px; padding: 0; list-style: none; }
.czm-set-card li { padding: 5px 0; color: var(--czm-muted); }
.czm-set-card li::before { content: "✓"; margin-right: 8px; color: var(--czm-orange); font-weight: 900; }
.czm-note { border-left: 4px solid var(--czm-orange); padding: 16px 18px; background: #fff7ec; color: #5b5143; border-radius: 0 9px 9px 0; }

/* Steps */
.czm-steps { counter-reset: step; grid-template-columns: repeat(4, 1fr); }
.czm-step { position: relative; padding: 28px 24px; border-radius: var(--czm-radius); background: #fff; border: 1px solid var(--czm-border); }
.czm-step::before { counter-increment: step; content: "0" counter(step); display: inline-flex; margin-bottom: 21px; color: var(--czm-orange); font-size: 1.6rem; font-weight: 900; letter-spacing: -.05em; }
.czm-step h3 { margin: 0 0 7px; font-size: 1.14rem; }
.czm-step p { margin: 0; color: var(--czm-muted); font-size: .94rem; }

/* Split */
.czm-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center; }
.czm-feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 28px; }
.czm-feature { padding: 17px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--czm-border); font-weight: 750; color: var(--czm-forest); }
.czm-feature::before { content: "✓"; margin-right: 8px; color: var(--czm-orange); }
.czm-visual-panel { min-height: 390px; border-radius: 26px; background: radial-gradient(circle at 75% 22%, rgba(237,132,29,.48), transparent 26%), linear-gradient(140deg, #204838, #0c291f 63%, #081f18); position: relative; overflow: hidden; box-shadow: var(--czm-shadow); }
.czm-visual-panel::before { content: ""; position: absolute; width: 270px; height: 160px; left: 50%; top: 50%; transform: translate(-50%,-43%) skew(-8deg); border: 4px solid var(--czm-cream); border-radius: 8px 8px 3px 3px; clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .88; }
.czm-visual-panel::after { content: "BERLIN · CAMPING · MIETEN"; position: absolute; bottom: 30px; left: 32px; color: rgba(255,255,255,.78); letter-spacing: .14em; font-size: .73rem; font-weight: 800; }

/* FAQ */
.czm-faq { max-width: 900px; margin-top: 34px; }
.czm-faq details { border-bottom: 1px solid var(--czm-border); background: #fff; }
.czm-faq details:first-child { border-radius: 14px 14px 0 0; }
.czm-faq details:last-child { border-radius: 0 0 14px 14px; border-bottom: 0; }
.czm-faq summary { cursor: pointer; list-style: none; padding: 20px 23px; font-weight: 800; color: var(--czm-forest-dark); }
.czm-faq summary::-webkit-details-marker { display: none; }
.czm-faq summary::after { content: "+"; float: right; color: var(--czm-orange); font-size: 1.35rem; line-height: 1; }
.czm-faq details[open] summary::after { content: "–"; }
.czm-faq details div { padding: 0 23px 21px; color: var(--czm-muted); }

/* Page shell */
.czm-page-hero { padding: 76px 0 58px; background: linear-gradient(140deg, #eef2ed, #f8f3e8); border-bottom: 1px solid var(--czm-border); }
.czm-page-hero h1 { margin: 0 0 13px; font-size: clamp(2.4rem, 5vw, 4.3rem); }
.czm-page-content { padding: 70px 0 90px; }
.czm-page-content .entry-content { max-width: 860px; }
.czm-page-content .entry-content:empty { display: none; }
.czm-product-placeholder { margin-top: 42px; padding: 28px; border: 2px dashed #cad5ce; border-radius: 16px; color: var(--czm-muted); background: #fbfcfa; }

/* WooCommerce base */
.woocommerce .button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--czm-orange) !important; color: #fff !important; border-radius: 7px !important; font-weight: 800 !important; }
.woocommerce ul.products li.product { background: #fff; padding: 14px 14px 20px; border: 1px solid var(--czm-border); border-radius: 14px; }
.woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce ul.products li.product .price { color: var(--czm-orange-dark) !important; font-weight: 800; }

/* Footer */
.czm-footer { background: #071f17; color: rgba(255,255,255,.76); }
.czm-footer__main { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 44px; padding: 64px 0 48px; }
.czm-footer__brand img { width: 145px; margin-bottom: 16px; }
.czm-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 17px; }
.czm-footer ul { list-style: none; padding: 0; margin: 0; }
.czm-footer li { margin: 8px 0; }
.czm-footer a { color: rgba(255,255,255,.73); text-decoration: none; }
.czm-footer a:hover { color: #fff; }
.czm-footer__bottom { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.11); font-size: .88rem; }
.czm-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .czm-header__inner { grid-template-columns: 150px 1fr auto; }
  .czm-brand img { width: 135px; }
  .czm-nav ul { gap: 15px; }
  .czm-nav a { font-size: .91rem; }
  .czm-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .czm-split { gap: 36px; }
}

@media (max-width: 900px) {
  .admin-bar .czm-header { top: 46px; }
  .czm-header__inner { min-height: 84px; grid-template-columns: 130px 1fr 46px; gap: 10px; }
  .czm-brand img { width: 118px; max-height: 74px; }
  .czm-header__cta { justify-self: end; font-size: .9rem; min-height: 43px; padding: 0 14px; }
  .czm-nav-toggle { display: block; justify-self: end; }
  .czm-nav { display: none; position: absolute; left: 0; top: 100%; width: 100%; background: #fff; border-top: 1px solid var(--czm-border); box-shadow: 0 14px 24px rgba(0,0,0,.08); }
  .czm-nav.is-open { display: block; }
  .czm-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
  .czm-nav a { display: block; padding: 11px 4px; font-size: 1rem; }
  .czm-hero { min-height: 570px; background-position: 62% center; }
  .czm-hero::before { background: linear-gradient(90deg, rgba(7,25,19,.94) 0%, rgba(7,25,19,.80) 56%, rgba(7,25,19,.34) 100%); }
  .czm-hero__content { width: 76%; }
  .czm-grid--3 { grid-template-columns: 1fr 1fr; }
  .czm-steps { grid-template-columns: 1fr 1fr; }
  .czm-split { grid-template-columns: 1fr; }
  .czm-visual-panel { min-height: 300px; }
  .czm-footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .czm-container { width: min(100% - 28px, var(--czm-max)); }
  .czm-section { padding: 64px 0; }
  .czm-header__inner { grid-template-columns: 104px 1fr 44px; }
  .czm-brand img { width: 96px; }
  .czm-header__cta { display: none; }
  .czm-hero { min-height: 590px; background-position: 68% center; }
  .czm-hero::before { background: linear-gradient(90deg, rgba(6,23,17,.96), rgba(6,23,17,.78)); }
  .czm-hero__content { width: 100%; padding: 74px 0; }
  .czm-hero h1 { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .czm-hero p { font-size: 1.03rem; }
  .czm-actions { flex-direction: column; align-items: stretch; max-width: 330px; }
  .czm-grid--5, .czm-grid--3, .czm-steps { grid-template-columns: 1fr; }
  .czm-feature-list { grid-template-columns: 1fr; }
  .czm-footer__main { grid-template-columns: 1fr; }
  .czm-footer__bottom { align-items: flex-start; flex-direction: column; }
}
