/* =========================================================
   MountDesign – Global Stylesheet
   Version 1.0 | Beige + Rot Design | Responsive Layout
   ========================================================= */
   /* ########################################################### 
                                                        
       MOUNTDESIGN.CH – Webdesign & Hosting 🇨🇭          
        Design • Hosting • Support • Interlaken          
                                                        
 ########################################################### */

       /* ====== Design Tokens ====== */
    :root{
      --md-red:#E00000;
      --md-bg:#F3F1EC;      /* warmes Hellgrau-Beige */
      --md-bg-2:#F7F5F1;    /* hellere Fläche */
      --md-text:#1F2328;    /* dunkles Grau */
      --md-muted:#666;
      --md-white:#fff;
      --radius:14px;
      --shadow:0 8px 24px rgba(0,0,0,.08);
      --maxw:1200px;
    }
    *{box-sizing:border-box}
    html,body{margin:0;padding:0;color:var(--md-text);font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;background:var(--md-bg)}
    img{max-width:100%;height:auto}
    a{color:var(--md-red);text-decoration:none}
    a:hover{text-decoration:underline}
    .container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
    .btn{display:inline-block;background:var(--md-red);color:#fff;padding:12px 18px;border-radius:999px;font-weight:600;box-shadow:var(--shadow)}
    .btn--ghost{background:transparent;color:var(--md-red);border:1.5px solid var(--md-red)}
    .tag{display:inline-flex;gap:8px;align-items:center;padding:8px 12px;border-radius:999px;background:var(--md-white);color:var(--md-red);font-weight:600;border:1px solid #f0e9e0}
    .grid{display:grid;gap:28px}
    .two{grid-template-columns:1fr;}.three{grid-template-columns:1fr}
    @media (min-width:900px){.two{grid-template-columns:1fr 1fr}.three{grid-template-columns:repeat(3,1fr)}}

    header{position:sticky;top:0;background:rgba(243,241,236,.85);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid #e9e3da;z-index:50}
    .nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
    .nav__brand{display:flex;align-items:center;gap:12px}
    .nav__brand img{height:34px;width:auto}
    .nav__links{display:flex;gap:18px;flex-wrap:wrap}
    .nav__links a{font-weight:600;color:var(--md-text)}


    h1{font-size:clamp(28px,3.4vw,46px);line-height:1.12;margin:0 0 10px}
    .lead{color:var(--md-muted);font-size:18px;margin:6px 0 18px}
    .pillrow{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 22px}

    section{padding:64px 0}
    .section__title{font-size:28px;margin:0 0 8px}
    .section__kicker{color:var(--md-red);font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:13px}
    .card{background:var(--md-white);border:1px solid #efe7dc;border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
    .icon{font-weight:700;color:var(--md-red);font-size:22px}

    /* Pricing */
    .pricing{background:var(--md-bg-2);border-top:1px solid #e9e3da;border-bottom:1px solid #e9e3da}
    .pricecard{position:relative;display:flex;flex-direction:column;gap:14px}
    .price{font-size:22px;font-weight:800;color:var(--md-red)}
    .list{padding-left:18px;margin:0;display:grid;gap:8px}
    .badge{position:absolute;top:14px;right:14px;background:var(--md-red);color:#fff;font-weight:800;font-size:12px;padding:6px 10px;border-radius:999px}

    /* Vergleichstabelle */
    /* .tablewrap{overflow:auto;background:var(--md-white);border:1px solid #efe7dc;border-radius:var(--radius);box-shadow:var(--shadow)}
    table{width:100%;border-collapse:collapse;min-width:760px}
    th,td{padding:14px 16px;text-align:left;border-bottom:1px solid #f0e9e0}
    th{background:#fff5f3;color:#8a0000;font-size:14px}
    tbody tr:hover{background:#faf7f3} */

    /* Kontakt / Footer */
    .cta{background:linear-gradient(180deg, #fff 0%, var(--md-bg) 100%);border-top:1px solid #e9e3da}
    footer{padding:28px 0;color:var(--md-muted);border-top:1px solid #e9e3da}
    .footer__row{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
    .footer__brand{display:flex;gap:12px;align-items:center}
    .footer__brand img{height:26px}
    .small{font-size:14px;color:var(--md-muted)}
    .muted{color:var(--md-muted)}

    :root{
      --md-red:#E00000;
      --md-bg:#F3F1EC;
      --md-bg-2:#F7F5F1;
      --md-text:#1F2328;
      --md-muted:#666;
      --md-white:#fff;
      --radius:14px;
      --shadow:0 8px 24px rgba(0,0,0,.08);
      --maxw:1200px;
    }
    *{box-sizing:border-box}
    body{margin:0;padding:0;color:var(--md-text);font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;background:var(--md-bg)}
    a{color:var(--md-red);text-decoration:none}
    a:hover{text-decoration:underline}
    img{max-width:100%;height:auto}
    .container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
    header{position:sticky;top:0;background:rgba(243,241,236,.9);backdrop-filter:blur(10px);border-bottom:1px solid #e9e3da;z-index:50;padding:14px 0}
    .nav__brand{display:flex;align-items:center;gap:10px}
    .nav__brand img{height:32px}
    h1,h2{line-height:1.2;margin:0 0 14px}
    .muted{color:var(--md-muted)}
    section{padding:70px 0}
    .card{background:var(--md-white);border:1px solid #efe7dc;border-radius:var(--radius);padding:26px;box-shadow:var(--shadow)}
    .grid{display:grid;gap:28px}
    @media (min-width:900px){.two{grid-template-columns:1fr 1fr}}
    .btn{display:inline-block;background:var(--md-red);color:#fff;padding:12px 20px;border-radius:999px;font-weight:600;box-shadow:var(--shadow)}
    .btn--ghost{background:transparent;color:var(--md-red);border:1.5px solid var(--md-red)}
    footer{padding:30px 0;text-align:center;border-top:1px solid #e9e3da;color:var(--md-muted);font-size:14px}
  header{position:sticky;top:0;background:rgba(243,241,236,.85);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid #e9e3da;z-index:50}
    .nav{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
    .nav__brand{display:flex;align-items:center;gap:12px}
    .nav__brand img{height:34px;width:auto}
    .nav__links{display:flex;gap:18px;flex-wrap:wrap}
    .nav__links a{font-weight:600;color:var(--md-text)}
    /* Hero */
    .hero{position:relative}
    .hero img{width:100%;height:420px;object-fit:cover;filter:brightness(85%)}
    .hero__text{position:absolute;bottom:40px;left:40px;background:rgba(255,255,255,.85);padding:24px 30px;border-radius:var(--radius);max-width:420px}
    .hero__text h1{font-size:clamp(26px,3.2vw,46px)}
    .gallery img{border-radius:var(--radius);box-shadow:var(--shadow)}
  blockquote {
  max-width: 760px;
  margin: 60px auto;
  background: var(--md-white);
  border-left: 4px solid var(--md-red);
  border-radius: var(--radius);
  padding: 28px 32px;
  font-style: italic;
  color: var(--md-muted);
  box-shadow: 0 6px 22px rgba(0,0,0,0.06);
  position: relative;
  text-align: center;
  line-height: 1.6;
}
blockquote::before {
  content: "“";
  color: var(--md-red);
  opacity: .15;
  font-size: 80px;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-style: normal;
}
blockquote strong {
  display: block;
  margin-top: 16px;
  font-style: normal;
  color: var(--md-text);
}
/* ================================
   RESPONSIVE ERWEITERUNGEN
   ================================ */

/* --- Navigation: Mobile --- */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--md-text);
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 68px;
    right: 0;
    background: var(--md-bg);
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-bottom-left-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 1px solid #e9e3da;
    border-bottom: 1px solid #e9e3da;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .nav__links.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__toggle {
    display: block;
  }
}

/* --- Hero Textzentrierung auf Mobile --- */
@media (max-width: 700px) {
  .hero {
    text-align: center;
  }
  .hero__card {
    margin-top: 20px;
  }
  .pillrow {
    justify-content: center;
  }
}

/* --- Karten / Projekte: mehr Abstand & Einspaltig --- */
@media (max-width: 900px) {
  .grid.two,
  .grid.three {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 18px;
  }
}

/* --- Tabellenbereich Scroll-Hinweis --- */
.tablewrap::after {
  content: "← Wischen für mehr →";
  display: block;
  text-align: right;
  font-size: 12px;
  color: var(--md-muted);
  padding: 6px 12px;
}
@media (min-width: 760px) {
  .tablewrap::after {
    display: none;
  }
}

/* --- Kontaktformular Buttons untereinander auf Mobile --- */
@media (max-width: 600px) {
  .pillrow {
    flex-direction: column;
  }
  .pillrow .btn {
    width: 100%;
    text-align: center;
  }
}

/* ========== Base Reset & Typography ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background: var(--md-bg);
  color: var(--md-text);
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: var(--md-red);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  background: var(--md-red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}
.btn:hover { opacity: 0.9; }

.btn--ghost {
  background: transparent;
  color: var(--md-red);
  border: 1.5px solid var(--md-red);
  box-shadow: none;
}
.btn--ghost:hover {
  background: var(--md-red);
  color: #fff;
}

/* ========== Header / Navigation ========== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,241,236,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e9e3da;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__brand img { height: 34px; width: auto; }
.nav__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.nav__links a {
  color: var(--md-text);
  font-weight: 600;
  position: relative;
}
.nav__links a:hover::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--md-red);
  border-radius: 2px;
}

/* ========== Hero Section ========== */
.hero {
  padding: 72px 0;
  background:
    radial-gradient(1200px 500px at 80% -50%, rgba(224,0,0,0.08), transparent 60%),
    radial-gradient(900px 400px at -20% 0%, rgba(224,0,0,0.06), transparent 60%);
}
.hero .container {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.15fr .85fr;
}
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
}
.hero__card {
  background: var(--md-white);
  border: 1px solid #efe7dc;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
h1 {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  margin-bottom: 10px;
}
.lead {
  color: var(--md-muted);
  font-size: 18px;
  margin-bottom: 22px;
}
.pillrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 24px;
}
.tag {
  background: var(--md-white);
  color: var(--md-red);
  border: 1px solid #f0e9e0;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
  font-size: 14px;
}

/* ========== Generic Sections ========== */
section { padding: 64px 0; }
.section__kicker {
  color: var(--md-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
}
.section__title {
  font-size: 28px;
  margin: 8px 0 12px;
}

/* ========== Cards / Grid Layout ========== */
.grid { display: grid; gap: 28px; }
.two { grid-template-columns: 1fr; }
.three { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .two { grid-template-columns: repeat(2, 1fr); }
  .three { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--md-white);
  border: 1px solid #efe7dc;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.icon {
  font-size: 22px;
  color: var(--md-red);
  margin-bottom: 6px;
}

/* ========== Pricing / Pakete ========== */
.pricing {
  background: var(--md-bg-2);
  border-top: 1px solid #e9e3da;
  border-bottom: 1px solid #e9e3da;
}
.pricecard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--md-red);
}
.list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.list li::before {
  content: "•";
  color: var(--md-red);
  margin-right: 8px;
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--md-red);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* ========== Tabellenvergleich ========== */
.tablewrap {
  overflow-x: auto;
  background: var(--md-white);
  border: 1px solid #efe7dc;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #f0e9e0;
}
th {
  background: #fff5f3;
  color: #8a0000;
  font-size: 14px;
}
tbody tr:hover { background: #faf7f3; }
@media (min-width: 1200px) {
  .tablewrap {
    margin-left: -40px;
    margin-right: -40px;
    width: calc(100% + 80px);
  }
}


/* ========== CTA / Kontakt ========== */
.cta {
  background: linear-gradient(180deg, #fff 0%, var(--md-bg) 100%);
  border-top: 1px solid #e9e3da;
}
form input, form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e9e3da;
  border-radius: 10px;
  margin-top: 4px;
  font-size: 15px;
}
form button {
  margin-top: 10px;
}

/* ========== Footer ========== */
footer {
  padding: 28px 0;
  color: var(--md-muted);
  border-top: 1px solid #e9e3da;
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__brand img { height: 26px; width: auto; }
.small { font-size: 14px; color: var(--md-muted); }

/* ========== Utility ========== */
.muted { color: var(--md-muted); }
.smalltext { font-size: 13px; }
.center { text-align: center; }

@media print {
  header, footer, .btn, .nav { display: none !important; }
  body { background: #fff; color: #000; }
}
 /* ====== Projekte / Referenzen ====== */
.project__img {
  border-radius: var(--radius);
  margin-bottom: 16px;
  transition: all .4s ease;
  transform: scale(1);
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}
.project:hover .project__img {
  transform: scale(1.04);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}
.testimonial {
  border-left: 3px solid var(--md-red);
  margin: 14px 0;
  padding-left: 12px;
  font-style: italic;
  color: var(--md-muted);
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  left: -10px;
  top: -10px;
  font-size: 36px;
  color: var(--md-red);
  opacity: .2;
}
.project {
  animation: fadeInUp .6s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}