/* ===========================
   TINYCONNECT MODERN STYLE
   =========================== */

:root {
  --green: #3CB371;
  --green-dark: #2E8B57;
  --bg: #f7fbf8;
  --bg-alt: #edf5f1;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #5f6b6b;
  --ring: rgba(60,179,113,.25);
  --accent: #ffce6b;
}

/* BASIC RESET */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: #fff;
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.01em;
}
section { scroll-margin-top: 90px; }

/* ===========================
   HEADER
   =========================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 5%;
  background: linear-gradient(90deg, #2E8B57 0%, #3CB371 50%, #50be88 100%);
  color: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.08);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.logo img { height: 40px; }
.brand-wrap { display: flex; flex-direction: column; line-height: 1.05; }
.brand { font-size: 1.2rem; letter-spacing: .2px; }
.brand-slogan { font-size: .6rem; opacity: .85; text-transform: uppercase; letter-spacing: .15em; }

.main-nav { display: flex; gap: 18px; flex: 1; justify-content: center; }
.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: .95;
  transition: opacity .2s ease;
}
.main-nav a:hover { opacity: 1; text-decoration: underline; }

.cta-nav {
  background: #fff;
  color: var(--green) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}
.cta-nav:hover { background: var(--accent); color: var(--text) !important; }

.lang-select { display: flex; gap: 8px; }
.lang-select button,
.lang-select a {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: .9;
}
.lang-select button:hover,
.lang-select a:hover { opacity: 1; }
.lang-select a { text-decoration: none; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
  border-radius: 8px;
  padding: 6px 10px;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 70px 5%;
  background: radial-gradient(circle at top left, #f8fff8 0%, #e2f1eb 45%, #ffffff 100%);
  min-height: 430px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: url("/images/deco-shape.svg") no-repeat center/contain;
  opacity: 0.05;
  pointer-events: none;
}
.hero-content { flex: 1; min-width: 300px; max-width: 560px; position: relative; z-index: 2; }
.hero-kicker {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 6px;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.05;
  font-weight: 800;
}
.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 60ch;
}
.hero-actions { display: flex; gap: 12px; margin-top: 18px; }
.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all .2s ease;
}
.btn.primary { background: var(--green); color: #fff; }
.btn.primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn.ghost { border: 2px solid var(--green); color: var(--green); }
.btn.ghost:hover { background: var(--ring); }

.hero-bullets {
  margin: 16px 0 0 20px;
  color: var(--muted);
  list-style: disc;
}
.hero-bullets li { margin-bottom: 4px; }

.hero-gallery {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.hero-gallery img {
  flex: 1;
  height: 130px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.1);
  transition: transform .4s ease, filter .3s;
}
.hero-gallery img:hover {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.hero-visual {
  flex: 1;
  min-width: 320px;
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image {
  width: 90%;
  max-width: 520px;
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  object-fit: cover;
}
.hero-card {
  position: absolute;
  bottom: -14px;
  right: 10%;
  max-width: 240px;
  background: #fff;
  border-left: 5px solid var(--green);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.hero-card-title { font-weight: 700; margin-bottom: 4px; }
.hero-card-text { font-size: .85rem; color: var(--muted); }

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 80px 5%; }
.process .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* ===========================
   ABOUT SECTION
   =========================== */
.about {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: 32px;
  align-items: start;
}
.about img { width: 100%; height: auto; border-radius: 14px; }
.card {
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  padding: 20px;
}
.about .aside-text { padding: 16px 0 0; }

.about-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-top: 22px;
}
.about-gallery .about-img {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-gallery img:hover { transform: scale(1.05); }

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: url("/images/bg-pattern.svg") no-repeat center/contain;
  opacity: 0.06;
  pointer-events: none;
}
/* ===========================
   FEATURES SECTION
   =========================== */
.features {
  background: linear-gradient(180deg, #f7fbf8 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: url("/images/bg-pattern.svg") no-repeat center/contain;
  opacity: 0.06;
  pointer-events: none;
}

.features-image {
  width: 260px;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.feature h3 { margin: .2rem 0 .4rem; color: var(--green); font-weight: 700; }
.feature p { color: var(--muted); }

/* ===========================
   PROCESS SECTION
   =========================== */
.process {
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, #edf5f1 100%);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 22px;
}
.step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  margin: 6px auto 10px;
}
.step p { color: var(--muted); }

/* ===========================
   SELLERS SECTION
   =========================== */
.sellers {
  background: linear-gradient(180deg, #ffffff 0%, #f3f9f5 100%);
}
.sellers .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.sellers-image {
  width: 240px;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  object-fit: cover;
}
.sellers .two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 18px;
}
.checklist { padding-left: 20px; color: var(--muted); }
.checklist li { margin: 6px 0; }

/* ===========================
   FAQ SECTION
   =========================== */
.faq .faq-list { max-width: 900px; margin: 0 auto; }
.faq details {
  background: var(--card);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 10px 0;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--text); }
.faq p { color: var(--muted); margin: .5rem 0 0; }

/* ===========================
   CONTACT SECTION
   =========================== */
.contact {
  background: linear-gradient(90deg, #fff 0%, #eff6f3 60%, #ffffff 100%);
}
.contact .contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: center;
}
.contact img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--green);
  color: #fff;
  padding: 28px 5% 18px;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.foot-links a {
  color: #fff;
  margin-right: 14px;
  text-decoration: none;
}
.foot-links a:hover { text-decoration: underline; }
.copy { opacity: .9; margin: 8px 0 0; }

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .about { grid-template-columns: 1fr; }
  .feature-grid,
  .steps,
  .sellers .two-col,
  .contact .contact-wrap { grid-template-columns: 1fr; }
  .hero { flex-direction: column; padding-top: 40px; }
  .hero-visual { order: -1; }
  .hero-gallery img { height: 100px; }
}
.nav-open .main-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  left: 0;
  right: 0;
  top: 60px;
  background: var(--green);
  padding: 10px 5% 14px;
}


/* ===========================
   MOBILE FIXES & HERO-FIX
   =========================== */

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* --- Hero-Bereich --- */
@media (max-width: 980px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 5% 60px;
    overflow: hidden;
  }

  /* Reihenfolge: zuerst Text, dann Bild */
  .hero-visual {
    order: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
    position: relative;
  }

  .hero-content {
    order: 1;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  /* Hero-Karte nicht über Bild legen */
  .hero-card {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }

  /* Drei Mini-Bilder untereinander */
  .hero-gallery {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-gallery img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Kein internes Scrollen */
  .hero-content,
  .hero-visual {
    overflow: visible;
  }
}

/* --- About-Section Fix --- */
@media (max-width: 980px) {
  .about {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-gallery .about-img {
    width: 100%;
  }

  .about img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
  }

  .about-aside.card {
    margin-top: 20px;
  }
}

/* --- Features Bild-Fix --- */
.features-image {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: cover;
}
.features-head {
  flex-direction: column;
  align-items: flex-start;
}

/* --- Allgemeine Mobile-Fixes --- */
@media (max-width: 980px) {
  body {
    overflow-x: hidden;
  }

  section,
  .main-header,
  .site-footer {
    padding-left: 4%;
    padding-right: 4%;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  .card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .main-nav {
    width: 100%;
    max-width: 100%;
  }
}
/* ===========================
   HERO MOBILE ANORDNUNG FIX (Text zuerst)
   =========================== */
@media (max-width: 980px) {

  /* Hero-Bereich: vertikal, Text oben */
  .hero {
    flex-direction: column;
    align-items: center;
    text-align: left;
    overflow: visible;
    padding: 40px 5% 60px;
  }

  /* Reihenfolge: 1 = Textblock, 2 = Bild, 3 = Karte */
  .hero-content {
    order: 1;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .hero-visual {
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 20px;
    position: relative;
  }

  .hero-image {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
    object-fit: cover;
  }

  .hero-card {
    order: 3;
    position: static;
    margin-top: 12px;
    width: 90%;
    max-width: 500px;
  }

  /* Mini-Bilder untereinander */
  .hero-gallery {
    flex-direction: column;
    gap: 10px;
  }

  .hero-gallery img {
    width: 100%;
    height: auto;
  }

  /* Kein internes Scrollen */
  .hero, .hero-content, .hero-visual {
    overflow: visible;
  }
}

.features-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

/* Desktop: Bild links, Text rechts */
@media (min-width: 981px) {
  .features-head {
    flex-direction: row-reverse;
  }
}

/* Mobile: untereinander */
@media (max-width: 980px) {
  .features-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .features-image {
    width: 100%;
    max-width: 520px;
    margin-bottom: 20px;
  }
}


/* ===========================
   PORTFOLIO BOX (About Section)
   =========================== */
.portfolio-box{
  margin: 18px 0 24px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(60,179,113,.10) 0%, rgba(60,179,113,.04) 100%);
  border: 1px solid rgba(60,179,113,.22);
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
  position: relative;
  overflow: hidden;
}
.portfolio-box::before{
  content:"";
  position:absolute;
  top:-70px;
  right:-70px;
  width:180px;
  height:180px;
  background: radial-gradient(circle, rgba(255,206,107,.55) 0%, rgba(255,206,107,0) 70%);
  pointer-events:none;
}
.portfolio-intro{
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}
.portfolio-lead{
  margin: 0 0 10px;
  color: var(--muted);
}
.portfolio-list{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 10px 14px;
}
.portfolio-list li{
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(60,179,113,.18);
  border-radius: 14px;
  padding: 10px 12px 10px 38px;
  position: relative;
  color: var(--text);
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
}
.portfolio-list li::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(60,179,113,.18);
  color: var(--green-dark);
  font-weight: 900;
  font-size: .85rem;
}
.portfolio-outro{
  margin: 12px 0 0;
  color: var(--muted);
}
@media (max-width: 980px){
  .portfolio-list{ grid-template-columns: 1fr; }
}


/* ===========================
   SELLERS SECTION BACKGROUND IMAGE
   =========================== */
.sellers{
  position: relative;
  background: url("/images/tinyhouse-sales.jpg") center/cover no-repeat;
  overflow: hidden;
}
.sellers::before{
  content:"";
  position:absolute;
  inset:0;
  /* weiche Abdunklung + leichter Grün-Ton für Lesbarkeit */
  background: linear-gradient(180deg, rgba(17,24,39,.55) 0%, rgba(17,24,39,.35) 55%, rgba(17,24,39,.50) 100%),
              radial-gradient(circle at top left, rgba(60,179,113,.25) 0%, rgba(60,179,113,0) 55%);
  pointer-events:none;
}
.sellers .section-head,
.sellers .two-col{
  position: relative;
  z-index: 1;
}
.sellers .section-head{
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: 18px;
}
.sellers .section-head h2{
  color:#fff;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.sellers .section-head .section-lead{
  color: rgba(255,255,255,.92);
  max-width: 70ch;
}
.sellers .col.card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.sellers .checklist{
  color: #2f3a3a;
}


/* ===========================
   FEATURES SECTION BACKGROUND IMAGE
   =========================== */
.features{
  position: relative;
  background: url("/images/tinyhouse7.jpg") center/cover no-repeat;
  overflow: hidden;
}
.features::before{
  content:"";
  position:absolute;
  inset:0;
  /* Overlay für Lesbarkeit + leichte Struktur */
  background: linear-gradient(180deg, rgba(17,24,39,.50) 0%, rgba(17,24,39,.28) 55%, rgba(17,24,39,.45) 100%),
              radial-gradient(circle at top right, rgba(255,206,107,.25) 0%, rgba(255,206,107,0) 60%),
              radial-gradient(circle at bottom left, rgba(60,179,113,.22) 0%, rgba(60,179,113,0) 55%);
  pointer-events:none;
}
.features .features-head,
.features .feature-grid{
  position: relative;
  z-index: 1;
}
.features .features-head{
  margin-bottom: 24px;
}
.features .features-head h2{
  color:#fff;
  text-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.features .features-head .section-lead{
  color: rgba(255,255,255,.92);
  max-width: 75ch;
}
.features .feature.card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.features .feature p{
  color: #2f3a3a;
}

.features-image{ display:none !important; }


/* ===========================
   FEATURES HEAD DESKTOP OFFSET
   =========================== */
@media (min-width: 981px){
  /* Überschrift + Lead im Features-Bereich etwas nach rechts schieben */
  .features .features-head > div{
    margin-left: clamp(18px, 4vw, 64px);
  }
}


/* ===========================
   ABOUT SECTION STACKED REDESIGN
   =========================== */
.about.about-stacked{
  display: block;
  grid-template-columns: none;
  gap: 0;
}
.about.about-stacked .about-text{
  max-width: 1100px;
  margin: 0 auto;
}
.about.about-stacked .about-gallery{
  margin-top: 22px;
}
.portfolio-hero{
  position: relative;
  margin: 16px 0 18px;
  border-radius: 20px;
  overflow: hidden;
  background: url("/images/tinyhouse6.jpg") center/cover no-repeat;
  box-shadow: 0 14px 40px rgba(0,0,0,.12);
}
.portfolio-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg, rgba(17,24,39,.55) 0%, rgba(17,24,39,.28) 55%, rgba(17,24,39,.50) 100%),
    radial-gradient(circle at top left, rgba(60,179,113,.25) 0%, rgba(60,179,113,0) 55%),
    radial-gradient(circle at top right, rgba(255,206,107,.22) 0%, rgba(255,206,107,0) 60%);
  pointer-events:none;
}
.portfolio-inner{
  position: relative;
  z-index: 1;
  margin: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}
.portfolio-inner p{
  margin: 0 0 10px;
  color: var(--muted);
}
.portfolio-inner p:first-child{
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
}
.portfolio-checklist{
  margin: 10px 0 12px;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 10px 14px;
}
.portfolio-checklist li{
  position: relative;
  padding: 10px 12px 10px 38px;
  border-radius: 14px;
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(60,179,113,.18);
  box-shadow: 0 6px 16px rgba(0,0,0,.04);
  color: var(--text);
}
.portfolio-checklist li::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 9px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(60,179,113,.18);
  color: var(--green-dark);
  font-weight: 900;
  font-size: .85rem;
}
.roles-box{
  margin: 0 0 22px;
  border-left: 6px solid var(--green);
}
.roles-box h3{
  margin-top: 0;
  color: var(--text);
}
.roles-box p{
  margin: 8px 0 0;
  color: var(--muted);
}
@media (max-width: 980px){
  .portfolio-checklist{ grid-template-columns: 1fr; }
  .portfolio-inner{ margin: 12px; }
}


/* ===========================
   ABOUT FULL-WIDTH PORTFOLIO BAND
   =========================== */
.about.about-modern{
  display: block;
  grid-template-columns: none;
  gap: 0;
}

/* Full-bleed background band */
.portfolio-band{
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 64px 5%;
  background: url("/images/tinyhouse6.jpg") center/cover no-repeat;
  overflow: hidden;
}
.portfolio-band::before{
  content:"";
  position:absolute;
  inset:0;
  /* leichter Overlay damit Bild sichtbar bleibt, aber Text gut lesbar ist */
  background:
    linear-gradient(90deg, rgba(17,24,39,.58) 0%, rgba(17,24,39,.28) 55%, rgba(17,24,39,.55) 100%),
    radial-gradient(circle at top left, rgba(60,179,113,.22) 0%, rgba(60,179,113,0) 55%),
    radial-gradient(circle at top right, rgba(255,206,107,.18) 0%, rgba(255,206,107,0) 60%);
  pointer-events:none;
}
.portfolio-band-inner{
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: start;
}
.portfolio-copy p{
  margin: 0 0 10px;
  color: rgba(255,255,255,.92);
}
.portfolio-copy p:first-child{
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
}
.portfolio-copy p:last-child{
  margin-top: 10px;
  color: rgba(255,255,255,.88);
}
.portfolio-checklist{
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.portfolio-checklist li{
  position: relative;
  padding: 11px 12px 11px 40px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
  backdrop-filter: blur(6px);
}
.portfolio-checklist li::before{
  content: "✓";
  position: absolute;
  left: 14px;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(60,179,113,.30);
  color: #fff;
  font-weight: 900;
  font-size: .85rem;
}

/* roles box under gallery */
.roles-under{
  margin-top: 18px;
  border-left: 6px solid var(--green);
}
.roles-under h3{
  margin: 0 0 6px;
}
.roles-under p{
  margin: 0;
  color: var(--muted);
}

@media (max-width: 980px){
  .portfolio-band{ padding: 46px 5%; }
  .portfolio-band-inner{ grid-template-columns: 1fr; }
}


/* ===========================
   ROLES CARD VISUAL (About)
   =========================== */
.roles-visual{
  position: relative;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}
.roles-image{
  display:block;
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.roles-card{
  position: absolute;
  bottom: 14px;
  right: 14px;
  max-width: 420px;
  border-left: 6px solid var(--green);
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  backdrop-filter: blur(6px);
}
.roles-card-title{
  margin: 0 0 6px;
  font-weight: 800;
  color: var(--text);
  font-size: 1.05rem;
}
.roles-card-text{
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
}
@media (max-width: 980px){
  .roles-image{ height: 240px; }
  .roles-card{
    position: static;
    max-width: 100%;
    margin: 12px;
  }
}

/* ===========================
   Cookie Consent (bottom + responsive)
   =========================== */
.cookie-consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 9998;
}

.cookie-consent-modal {
  position: fixed;
  left: 50%;
  bottom: 16px;      /* <- unten */
  top: auto;         /* <- nicht mittig */
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 24px));
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  z-index: 9999;
  max-height: calc(100vh - 32px);
  overflow: auto;
}

.cookie-consent-layout {
  display: grid;
  grid-template-columns: 1fr 320px;  /* Text links, Buttons rechts */
  gap: 16px;
  align-items: start;
}

.cookie-consent-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.cookie-consent-text {
  margin: 0 0 10px;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-consent-links {
  margin: 6px 0 10px;
  color: var(--muted);
}

.cookie-consent-link {
  color: var(--text);
  text-decoration: underline;
}

.cookie-consent-sep {
  margin: 0 6px;
  opacity: .6;
}

.cookie-consent-age {
  margin: 0;
  font-size: 12px;
  opacity: .7;
}

.cookie-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

/* make buttons look good even when they are <button> not <a> */
.cookie-consent-modal .btn {
  border: none;
  cursor: pointer;
  text-align: center;
}
.cookie-consent-modal .btn.ghost {
  border: 2px solid var(--green);
  background: transparent;
}

/* link under buttons like in your screenshot */
.cookie-consent-settings {
  display: inline-block;
  text-align: center;
  text-decoration: underline;
  color: var(--text);
  opacity: .9;
}

/* prevent background scroll while open */
.cookie-consent-open {
  overflow: hidden;
}

/* Mobile: full-width bottom sheet, 1 column */
@media (max-width: 820px) {
  .cookie-consent-modal {
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    border-radius: 18px 18px 0 0;
    padding: 14px;
    max-height: 85vh;
  }

  .cookie-consent-layout {
    grid-template-columns: 1fr;
  }

  .cookie-consent-title {
    font-size: 18px;
  }

  .cookie-consent-modal .btn {
    width: 100%;
  }
}
