/* ===== Basis & Typo ===== */
:root{
  --green:#222222;
  --green-50:#222222;
  --text:#222;
  --maxw:1120px;
}

html{scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;color:var(--text)}
h1,h2,h3{line-height:1.2;margin:0 0 .5rem}
h1{font-size:clamp(1.6rem,3.2vw,2.2rem);font-weight:800;color:var(--green)}
h2{font-size:clamp(1.3rem,2.5vw,1.8rem);font-weight:800}
h3{font-size:clamp(1.05rem,2vw,1.35rem);font-weight:800}
p{margin:.5rem 0 1rem;line-height:1.65}
img{max-width:100%;height:auto;display:block}

/* Container-Helfer (optional für Zentrierung) */
.wrap{max-width:var(--maxw);margin-inline:auto;padding:clamp(16px,3.5vw,32px)}



/* ===== Bildkacheln / Medien ===== */
[class*="user_img"] img,
.cs-table2Columns img{
  width:100% !important;
  height:auto !important;
  object-fit:cover;
}

/* ===== Flex-Container aus deinem HTML (mit Inline-Styles) ===== */
/* Sorgt dafür, dass die „Bild links / Text rechts“-Blöcke untereinander stapeln */
div[style*="display: flex"]{
  gap:clamp(12px,3vw,24px);
  align-items:stretch;
  width:100% !important;
  overflow:hidden;
  border-radius:18px;
}
div[style*="display: flex"] > div{
  flex:1 1 0;
  min-width:0; /* verhindert Überlaufen */
}

/* Quadratisches Icon links */
div[style*="display: flex"] > div[style*="flex: 0 0 260px"]{
  flex:0 0 min(260px,45vw) !important;
}


/* ===== Tabellen-Layouts mit zwei Spalten ===== */
.cs-table2Columns{
  width:100% !important;
  table-layout:fixed;
  border-collapse:collapse;
}

/* Bilderzellen dürfen nicht überlaufen */
.cs-table2Columns td img{
  width:100% !important;
  height:auto !important;
}

/* ===== Mobile-Stacking ===== */
@media (max-width: 720px){
  /* Flex-Blöcke untereinander stapeln */
  div[style*="display: flex"]{
    flex-direction:column !important;
    border-radius:14px;
  }
  /* Das feste Quadrat links wird oben vollbreit gezeigt */
  div[style*="display: flex"] > div[style*="flex: 0 0 260px"]{
    flex:0 0 auto !important;
    width:100% !important;
  }

  /* Tabellen mit zwei Spalten zu „Cards“ umbrechen */
  .cs-table2Columns,
  .cs-table2Columns tbody,
  .cs-table2Columns tr,
  .cs-table2Columns td{
    display:block;
    width:100% !important;
  }
  .cs-table2Columns tr{margin-bottom:clamp(12px,3vw,20px)}
  .cs-table2Columns td{
    padding:clamp(12px,3vw,20px) !important;
    box-sizing:border-box;
  }

  /* Headline-Größen etwas kleiner auf sehr kleinen Geräten */
  h1{font-size:clamp(1.4rem,6vw,1.9rem)}
  h2{font-size:clamp(1.2rem,4.8vw,1.6rem)}
  h3{font-size:clamp(1.05rem,4.2vw,1.35rem)}
}

/* ===== Tablet/Desktop-Optimierung ===== */
@media (min-width: 721px){
  /* Zwei-Spalten-Tabellen bleiben zweispaltig */
  .cs-table2Columns{table-layout:fixed}
  .cs-table2Columns td{vertical-align:middle}
}

/* ===== Bilder mit festen Inline-Höhen neutralisieren ===== */
img[width][height]{height:auto !important}
img[style*="height: 100%"]{height:auto !important}

/* ===== Barrierefreiheit & Motion ===== */
@media (prefers-reduced-motion: reduce){
  *{scroll-behavior:auto}
}


<style>


/* Responsive Layout for your Themenwelten table: 4 → 2 → 1 Spalten */

/* Tablet (≤1024px): 2 Spalten */
@media (max-width: 1024px){
  table[role="presentation"],
  table[role="presentation"] tbody,
  table[role="presentation"] tr{
    display:block; width:100%;
  }
  table[role="presentation"] td{
    display:inline-block;
    box-sizing:border-box;
    width:50% !important;      /* zwei Spalten */
    padding:10px !important;   /* etwas kompakter */
    vertical-align:top;
  }
}

/* Mobile (≤640px): 1 Spalte */
@media (max-width: 640px){
  table[role="presentation"] td{
    display:block;
    width:100% !important;     /* eine Spalte */
    padding:8px !important;
  }
}

/* Bilder bleiben flexibel (Fallback, falls irgendwo inline fehlt) */
table[role="presentation"] img{
  max-width:100%;
  height:auto;
  display:block;
  margin:0 auto;
}
</style>



























/* Basis */
*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* =========================================
   RESPONSIVE ANPASSUNGEN
   ========================================= */
@media (max-width: 1024px) {
  /* TOC / "Auf dieser Seite" auf Mobile ausblenden */
  #hm-toc {
    display: none !important;
  }

  #hm-layout {
    padding: 0 12px;
  }

  #hm-layout > div:last-child {
    margin-left: 0 !important;
    max-width: 100%;
  }

  /* =========================
     "So funktioniert’s" – Steps
     =========================
     .vk-step-row = die 3 Step-Container
     Ziel: immer 1. Text, 2. Bild
  */

  /* Alle Step-Container einkolumnig machen */
  .vk-step-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px;
  }

  /* Standard: erstes Kind = Text, zweites Kind = Bild */
  .vk-step-row > div:nth-child(1) {
    order: 1;
  }
  .vk-step-row > div:nth-child(2) {
    order: 2;
  }

  /* Nur beim mittleren Step (02.Konfigurieren),
     wo im HTML Bild zuerst kommt, drehen wir es um.
     Annahme: Reihenfolge der drei .vk-step-row im DOM: 1 = Step 01, 2 = Step 02, 3 = Step 03.
  */
  .vk-step-row:nth-of-type(2) > div:nth-child(1) {
    order: 2; /* Bild */
  }
  .vk-step-row:nth-of-type(2) > div:nth-child(2) {
    order: 1; /* Text */
  }

  /* Tabellen "Gestalte nach deinen Wünschen" */
  table.responsive {
    display: block;
    width: 100%;
  }
  table.responsive tbody,
  table.responsive tr {
    display: block;
    width: 100%;
  }
  table.responsive td {
    display: block;
    width: 100% !important;
    padding: 12px 0 !important;
  }

  /* Flip-Grid: Karten untereinander */
  .flip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Konfigurator */
  .vk-konfigurator-wrap {
    position: relative;
    max-width: 100%;
    overflow: visible;
  }

  .vk-konfigurator-img {
    width: 100%;
    height: auto;
  }

  .vk-hotspot {
    width: 26px;
    height: 26px;
  }

  .vk-hotspot-tooltip {
    position: static !important;
    margin-top: 12px;
    width: 100% !important;
    max-width: 100%;
    transform: none !important;
  }

  .vk-hotspot-tooltip-inner {
    display: flex;
    flex-direction: column;
  }

  .vk-hotspot-tooltip-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
  }

  /* Überschriften auf Mobile groß lassen */
  h1 {
    font-size: 40px !important;
    line-height: 1.15 !important;
  }
  h2 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  h3 {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }

  .vk-konfigurator-title,
  .front-label {
    font-size: 22px !important;
  }

  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (max-width: 600px) {
  #hm-progress {
    height: 5px !important;
  }

  .cs-button1 {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
}







  /* Visitenkartenmodul blogseite */
@media (max-width: 900px){
  .flip-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 600px){
  .flip-grid{ grid-template-columns:1fr; }
}





/* TABLET */
@media (max-width: 1024px){

.ugc-row{
grid-template-columns:1fr;
gap:60px;
text-align:center;
}

.ugc-text{
max-width:100%;
}

.ugc-category{
height:600px;
}

.ugc-circle{
width:260px;
height:260px;
}

.ugc-circle.side p{
font-size:14px;
max-width:200px;
}

/* Icons */
.hm2-icons tr{
display:flex;
flex-wrap:wrap;
justify-content:center;
}

.hm2-icons td{
width:33%;
}

/* Bildgrid */
.container{
grid-template-columns:1fr 1fr;
}

}


/* MOBILE */
@media (max-width: 768px){

table{
width:100%;
}

.ugc-circle{
width:220px;
height:220px;
padding:20px;
}

.ugc-circle.main h1{
font-size:22px;
}

.ugc-circle.side p{
font-size:13px;
}

/* Icons */
.hm2-icons td{
width:50%;
}

/* Bildgrid */
.container{
grid-template-columns:1fr;
}

}


/* SMALL MOBILE */
@media (max-width: 480px){

.ugc-scroll{
padding:80px 20px;
}

.ugc-row{
gap:40px;
}

.ugc-circle{
width:180px;
height:180px;
}

.ugc-circle.side p{
font-size:12px;
}

.hm2-icons td{
width:100%;
}

}