:root{
  --bg:#f6f1ea;
  --bg-2:#f3ece3;
  --text:#2a2a2a;
  --muted:#6f6b66;
  --card:#ffffffcc;
  --stroke:#e7ddd2;
  --shadow:0 16px 40px rgba(35,24,16,.10);
  --shadow-soft:0 10px 24px rgba(35,24,16,.10);
  --radius:18px;
  --accent:#e69545;
  --accent-2:#d7843a;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,var(--bg) 0%,#faf6f1 40%,#f7f1ea 100%);
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

.container{
  width:min(1100px, calc(100% - 40px));
  margin-inline:auto;
}

/* ================= HEADER ================= */

.header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:blur(10px);
  background:rgba(246,241,234,.65);
  border-bottom:1px solid rgba(231,221,210,.6);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:18px;
}

.brand__logo{
  height:36px;
}

/* ================= Unterseiten-Titel neben Logo (nur im Header) ================= */

.header .head-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  gap:2px;
}

.header .head-brand{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin:0;
}

.header .head-page{
  font-size:15px;
  font-weight:600;
  color:#3b3734;
  margin:0;
}

/* Mobile feinjustieren */
@media (max-width: 560px){
  .brand__logo{ height:32px; }
  .header .head-page{ font-size:14px; }
}


/* ================= PAGEHEAD (Unterseiten-Header wie Bildnachweise) ================= */
.pagehead{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:22px;
}

.pagehead .header__actions{
  margin-left:auto;
}

.pagehead__logo{
  height:36px;
  width:auto;
}

.pagehead__text{
  line-height:1.2;
}

.pagehead__company{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

.pagehead__title{
  font-size:15px;
  font-weight:600;
  color:#3b3734;
}

@media (max-width: 760px){
  .pagehead__logo{ height:32px; }
  .pagehead{ gap:12px; }
}



/* ================= BRAND MIT SEITENTITEL ================= */

.brand--with-text{
  display:flex;
  align-items:center;
  gap:12px;
}

/* WICHTIG: Text untereinander */
.brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}

/* Berger / Solutions */
.brand-name{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  white-space:pre-line; /* Zeilenumbruch aus HTML respektieren */
}

/* Erste Zeile (Berger) minimal stärker */
.brand-name::first-line{
  font-weight:600;
}

/* Seitenname (Datenschutz, Impressum, …) */
.brand-page{
  font-size:14px;
  font-weight:600;
  color:#3b3734;
}

/* Mobile */
@media (max-width: 760px){
  .brand__logo{ height:32px; }
}




.nav{
  display:flex;
  gap:26px;
  font-size:14px;
}
.nav a{ opacity:.9; }
.nav a:hover{ opacity:1; }

/* ===== NAV als Liste (für korrektes HTML: <ul class="nav__list"> ...) ===== */
.nav__list{
  list-style:none;
  display:flex;
  align-items:center;
  gap:26px;
  margin:0;
  padding:0;
}
.nav__list li{
  list-style:none;
}

.nav__list li::marker{
  content:"";
}

.nav__list a{ opacity:.9; }
.nav__list a:hover{ opacity:1; }


/* Optional: Shop Domain kleiner anzeigen */
.nav__shopDomain{
  font-size:.85em;
  opacity:.7;
  margin-left:6px;
}

.header__actions{
  display:flex;
  gap:12px;
  align-items:center;
}

/* ================= BUTTONS ================= */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:11px 18px;
  border-radius:12px;
  font-weight:600;
  font-size:14px;
  transition:.15s ease;
}

.btn--primary{
  background:linear-gradient(180deg,var(--accent),var(--accent-2));
  color:#fff;
  box-shadow:0 10px 18px rgba(231,149,69,.25);
}
.btn--primary:hover{
  box-shadow:0 14px 28px rgba(231,149,69,.28);
}

.btn--ghost{
  background:rgba(255,255,255,.55);
  border:1px solid rgba(231,221,210,.9);
}

.btn--wide{ width:140px; }

.chev{ font-size:18px; }

/* ================= BURGER ================= */

.burger{
  width:52px;
  height:52px;
  border-radius:12px;
  border:1px solid rgba(231,221,210,.9);
  background:rgba(255,255,255,.55);

  display:none;                /* wird im Mobile-Media-Query eingeblendet */
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;

  padding:8px 10px;
  cursor:pointer;
}

.burger__icon{
  display:grid;
  gap:6px;
  place-items:center;
  line-height:0;
}

.burger__line{
  display:block;
  width:22px;
  height:2px;
  background:#3b3b3b;
  border-radius:999px;
}

.burger__label{
  font-size:11px;
  font-weight:600;
  letter-spacing:.2px;
  color:#3b3b3b;
  line-height:1;
}

/* ================= HERO ================= */
.hero{
  position:relative;
  overflow:hidden;
  padding:72px 0 52px;
}

.hero__bg{
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(900px 260px at 20% 30%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(700px 320px at 70% 40%, rgba(255,255,255,.45), transparent 55%),
    linear-gradient(180deg, rgba(246,241,234,.35), rgba(246,241,234,.85)),
    url("assets/hero-desk.jpg") center/cover no-repeat;
}

.hero__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1fr;
  align-items:start;
}

/* TEXTBLOCK */
.hero__text{
  max-width:640px;
}

/* HEADLINE */
.hero__text h1{
  font-family:"Playfair Display", Georgia, serif;
  font-size:clamp(38px, 4.4vw, 56px);
  line-height:1.15;
  margin:0 0 22px;
  color:#3b3734;
}

/* zweite Zeile der Headline */
.hero__headline-sub{
  display:block;
  margin-top:12px;
  font-size:0.92em;
  font-weight:500;
  color:#4a4642;
}

.hero__text h1 .amp{
  font-family:Inter,system-ui,sans-serif;
}

/* SUBLINE */
.hero__sub{
  font-size:15px;
  line-height:1.7;
  color:var(--muted);
  margin:0 0 32px;
  max-width:520px;
}

/* CTA */
.hero__cta{
  display:flex;
  gap:16px;
}

/* MOBILE */
@media (max-width: 760px){
  .hero{
    padding:52px 0 42px;
  }

  .hero__text h1{
    font-size:clamp(30px, 7vw, 38px);
  }

  .hero__cta{
    flex-direction:column;
    gap:12px;
  }
}



/* Sections */
.section{
  padding: 34px 0 42px;
}
.section--soft{
  background: linear-gradient(180deg, #f8f3ed 0%, rgba(248,243,237,.55) 100%);
}
.section__head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  margin: 0 0 6px;
}
.section__head h2{
  font-family:"Playfair Display", Georgia, serif;
  font-weight:600;
  margin:0;
  font-size: clamp(24px, 2.1vw, 34px);
  color:#3b3734;
}
.section__rule{
  height:1px;
  width: min(160px, 18vw);
  background: rgba(231,221,210,.95);
}
.section__sub{
  text-align:center;
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 13px;
}

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 14px;
}

/* ✅ Doppelte .card zusammengeführt (funktional identisch) */
.card{
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(231,221,210,.9);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  overflow:hidden;

  text-decoration:none;
  color:inherit;
  display:block;              /* wichtig, damit <a> wie ein Block/Artikel wirkt */
  cursor:pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(35,24,16,.15);
}
.card:focus-visible{
  outline: 3px solid rgba(231,149,69,.35);
  outline-offset: 3px;
}

.card__img{
  height: 130px;
  background: rgba(255,255,255,.35);
}
.card__img img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.card h3{
  font-size: 14px;
  margin: 12px 14px 6px;
  color:#3a3734;
}
.card p{
  margin: 0 14px 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height:1.45;
}

/* Steps */
.steps{
  list-style:none;
  padding:0;
  margin: 18px 0 0;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items:center;
}
.step{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 14px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(231,221,210,.85);
  box-shadow: var(--shadow-soft);
}
.step__badge{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-weight:700;
  color:#fff;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 12px 22px rgba(231,149,69,.25);
}
.step__label{
  font-size: 13px;
  color:#3b3734;
  font-weight:600;
}

/* Contact section */
.contact{
  position:relative;
  padding: 54px 0 56px;
}
.contact__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(246,241,234,.15), rgba(246,241,234,.68)),
    url("assets/bg-livingroom.jpg") center/cover no-repeat;
  filter: saturate(1.05);
}
.contact__grid{
  position:relative;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:start;
}

.panel{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(231,221,210,.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
}
.panel h3{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight:700;
  color:#3a3734;
}
.panel__rule{
  height:1px;
  width: 100%;
  background: rgba(231,221,210,.95);
  margin: 0 0 14px;
}

.field{ display:block; margin-bottom: 10px; }
.field__label{ display:none; }

input, textarea{
  width:100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(231,221,210,.95);
  background: rgba(255,255,255,.72);
  outline:none;
  font: inherit;
  font-size: 13px;
}
textarea{ resize: vertical; min-height: 110px; }
input:focus, textarea:focus{
  box-shadow: 0 0 0 4px rgba(231,149,69,.14);
  border-color: rgba(231,149,69,.55);
}

.contactlist{
  list-style:none;
  padding:0;
  margin: 6px 0 0;
  display:grid;
  gap: 12px;
}
.contactlist li{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(231,221,210,.75);
}
.icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  background: rgba(231,149,69,.18);
  color: #b45f23;
  font-weight:700;
}
.muted{ color: var(--muted); font-size: 12px; margin-bottom:2px; }

/* Footer */
.footer{
  padding: 18px 0;
  background: rgba(246,241,234,.85);
  border-top: 1px solid rgba(231,221,210,.7);
}
.footer__inner{
  display:flex;
  justify-content:space-between; /* statt center */
  gap: 12px;
  color:#6b6661;
  font-size: 12.5px;
  align-items:center;
}

.footer__links a{ color:#6b6661; }
.footer__links a:hover{ color:#3b3734; }
.sep{ opacity:.6; margin: 0 6px; }

/* ================= MOBILE & RESPONSIVE FIXES ================= */

/* Allgemeiner Schutz gegen horizontales Scrollen */
html, body{
  overflow-x: hidden;
}

/* ---------- Kontaktbereich ---------- */
@media (max-width: 980px){
  .contact__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px){
  .contact{
    padding: 36px 0 40px;
  }

  .contact__grid{
    gap: 14px;
  }

  .panel{
    padding: 16px;
  }

  input,
  textarea{
    font-size: 16px; /* iOS Zoom-Fix */
  }

  .btn--wide{
    width: 100%;
  }
}

/* Grid-Kinder dürfen schrumpfen */
.contact__grid > *{
  min-width: 0;
}

/* Lange Inhalte umbrechen */
.panel,
.contactlist,
.contactlist li,
.contactlist div{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ---------- Hero ---------- */
/* Desktop */
.hero__grid{
  grid-template-columns: 1.1fr .9fr;
}

/* Tablet & kleiner */
@media (max-width: 980px){
  .hero__grid{
    grid-template-columns: 1fr;
  }
}

/* ---------- Leistungen & Ablauf ---------- */
@media (max-width: 980px){
  .cards{
    grid-template-columns: repeat(2, 1fr);
  }
  .steps{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px){
  .cards{
    grid-template-columns: 1fr;
  }
  .steps{
    grid-template-columns: 1fr;
  }
}

/* ---------- Section Spacing (wichtig für Mobile-Höhe) ---------- */
@media (max-width: 760px){
  .section{
    padding-bottom: 28px;
  }
}

/* ============================================================= */
/* ================= MOBILE NAV (GLOBAL) ======================= */
/* ============================================================= */

/* Mobile Dropdown – Grundzustand */
.mobile{
  display:none; /* geschlossen */
  width:100%;
  border-top:1px solid rgba(231,221,210,.6);
  background: rgba(246,241,234,.92);
  backdrop-filter: blur(10px);
  padding: 0; /* Padding kommt über .mobile__inner */
}

.mobile[hidden]{
  display:none !important;
}

/* Inhalt: Links UNTEREINANDER */
.mobile__inner{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding: 12px 0 16px;
}
/* Leere / unsichtbare Links im Mobile-Menü ausblenden */
.mobile__inner a{
  display:block;
}

/* wirklich leer */
.mobile__inner a:empty{
  display:none !important;
}

/* nur Whitespace (iOS/Safari-Fix) */
.mobile__inner a:not(.btn){
  min-height: 1px;
}
.mobile__inner a:not(.btn):not(:has(*)){
  white-space: nowrap;
}




/* Menü-Links */
.mobile__inner a{
  display:block;
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(231,221,210,.75);
  background: rgba(255,255,255,.45);
}

.mobile__inner a:hover{
  background: rgba(255,255,255,.65);
}

/* Button im Menü volle Breite */
.mobile__inner .btn--primary{
  color:#000000;
  box-shadow: none;
}


/* ============================================================= */
/* ================= HEADER RESPONSIVE ========================= */
/* ============================================================= */

@media (max-width: 900px){
  .nav{ display:none; }
  .burger{ display:inline-flex; }
  .header__inner{ gap:12px; }
  .brand__logo{ height:32px; }

  /* Mobile Dropdown darf sichtbar werden, wenn hidden entfernt ist */
  .mobile{ display:block; }
}

@media (min-width: 901px){
  .mobile{ display:none !important; }
}
/* ================= COPY BUTTON (Kontakt) ================= */

.contactitem{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.contactline{
  display:flex;
  align-items:center;
  gap:10px;
}

.copy-btn{
  font-size:11px;
  padding:4px 8px;
  border-radius:8px;
  border:1px solid rgba(231,221,210,.9);
  background:rgba(255,255,255,.55);
  color:#3b3734;
  cursor:pointer;
  transition:.15s ease;
}

.copy-btn:hover{
  background:rgba(255,255,255,.8);
}

.copy-btn:active{
  transform:translateY(1px);
}

/* Mobile */
@media (max-width: 560px){
  .contactline{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
}