  body {

    background-color: #111111;

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 100vh;

    margin: 0;

    padding: 20px;

    box-sizing: border-box;

  }



  /* Neuer Behälter, der den Namen und das Raster zusammenhält */

  .haupt-container {

    display: flex;

    flex-direction: column;

    width: 100%;

    /* Exakte Breite des Kachelrasters für perfekte Ausrichtung */

    max-width: 630px; 

  }



  .name-oben-links {

    color: #FFFFFF;

    font-family: 'Courier New', Courier, monospace;

    font-size: x-large;

    margin-bottom: 20px;

    /* Absolute Positionierung entfernt, da diese Fehler auf dem Handy verursacht */

  }
  

  .kachel-mit-bild {

    display: flex;

    justify-content: center;

    align-items: center;

  }



  .clipart-bild {

    width: 60%;

    height: auto;

  }



  .kachel_matrix {

    position: relative;

    overflow: hidden;

    background-color: #00aba9;

  }



  #matrixCanvas {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

  }


.kachel-uhr {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Erzeugt die Optik der Zahnräder */
.zahnrad {
  position: absolute;
  border-radius: 50%;
  border: 12px dashed rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 0 10px rgba(0, 0, 0, 0.2);
}

.zahnrad1 {
  width: 100px;
  height: 100px;
  top: -20px;
  left: -20px;
  animation: drehen 12s linear infinite;
}

.zahnrad2 {
  width: 80px;
  height: 80px;
  bottom: 10px;
  right: -10px;
  animation: drehen-zurueck 8s linear infinite;
}

.zahnrad3 {
  width: 60px;
  height: 60px;
  top: 40px;
  left: 60px;
  animation: drehen 6s linear infinite;
}

/* Die Bewegung für die Zahnräder */
@keyframes drehen {
  100% { transform: rotate(360deg); }
}

@keyframes drehen-zurueck {
  100% { transform: rotate(-360deg); }
}

/* Die Gestaltung der Uhrzeiger */
.zeiger {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  background-color: #ffffff;
  border-radius: 5px;
  z-index: 10;
}

.zeiger-std {
  width: 6px;
  height: 35px;
  margin-left: -3px;
}

.zeiger-min {
  width: 4px;
  height: 50px;
  margin-left: -2px;
}

.zeiger-sek {
  width: 2px;
  height: 60px;
  margin-left: -1px;
  background-color: #cc0000;
}

.uhr-mitte {
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 50%;
  z-index: 11;
}







/* Modernes Büro-Setup */
.kachel_buero {
  position: relative;
  overflow: hidden;
  background-color: #1e2530;
}

.buero_wand {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to bottom, #622A44, #202c39);
}

.buero_boden {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: #141d26;
  border-top: 2px solid #111;
}

/* Schreibtisch im modernen Vektorstil */
.schreibtisch_komplex {
  position: absolute;
  bottom: -2%;
  left:0%;
  width: 103%;
  height: 40px;
  z-index: 5;
}

.tisch_platte {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #000000;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tisch_bein {
  position: absolute;
  top: 6px;
  width: 4px;
  height: 34px;
  background-color: #ffffff;
}
.bein_links { left: 8%; transform: rotate(5deg); }

.schubladen_element {
  position: absolute;
  top: 6px;
  right: 5%;
  width: 45px;
  height: 34px;
  background-color: #ffffff;
  border-radius: 0 0 2px 2px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 2px 0;
  box-sizing: border-box;
}

.schublade_linie {
  width: 70%;
  height: 2px;
  background-color: #141d26;
  margin: 0 auto;
  border-radius: 1px;
}

/* Minimalistischer Monitor */
.monitor_komplex {
  position: absolute;
  bottom: calc(12% + 20px);
  left: 28%;
  width: 110px;
  height: 75px;
  z-index: 6;
}

.monitor_fuss {
  position: absolute;
  bottom: 0;
  left: 40px;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px 2px 0 0;
}

.monitor_stange {
  position: absolute;
  bottom: 3px;
  left: 52px;
  width: 6px;
  height: 14px;
  background-color: #ffffff;
}

.monitor_rahmen {
  position: absolute;
  bottom: 17px;
  left: 0;
  width: 110px;
  height: 58px;
  background-color: #111111;
  border: 3px solid #ffffff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.7);
}

.monitor_bildschirm {
  width: 96%;
  height: 92%;
  background-color: #050505;
  color: #33ff33;
  font-family: 'Courier New', Courier, monospace;
  font-size: 7.5px;
  font-weight: bold;
  padding: 3px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: pre-wrap;
  line-height: 1.1;
  text-shadow: 0 0 2px rgba(51,255,51,0.5);
}

/* Schreibtischpflanze */
.pflanze_komplex {
  position: absolute;
  bottom: calc(12% + 20px);
  right: 22%;
  width: 20px;
  height: 25px;
  z-index: 6;
}

.pflanzentopf {
  position: absolute;
  bottom: 0;
  left: 2px;
  width: 16px;
  height: 12px;
  background-color: #ffffff;
  clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.blatt {
  position: absolute;
  background-color: #2ecc71;
  border-radius: 50% 50% 0 50%;
  transform-origin: bottom center;
}
.b1 { width: 6px; height: 14px; bottom: 10px; left: 2px; transform: rotate(-35deg); }
.b2 { width: 6px; height: 16px; bottom: 11px; left: 7px; transform: rotate(5deg); border-radius: 50% 50% 50% 50%; }
.b3 { width: 6px; height: 13px; bottom: 10px; right: 2px; transform: rotate(40deg); border-radius: 50% 50% 50% 0; }

/* Design-Lampe und Lichtausrichtung */
.lampe_komplex {
  position: absolute;
  bottom: calc(12% + 20px);
  left: 8%;
  width: 80px;
  height: 80px;
  z-index: 7;
}

.lampe_fuss {
  position: absolute;
  bottom: 0;
  left: 5px;
  width: 24px;
  height: 4px;
  background-color: #ffffff;
  border-radius: 2px;
}

.lampe_arm {
  position: absolute;
  bottom: 4px;
  left: 14px;
  width: 3px;
  height: 45px;
  background-color: #ffffff;
  transform: rotate(25deg);
  transform-origin: bottom center;
  border-radius: 2px;
}

.lampe_kopf_leitung {
  position: absolute;
  bottom: 42px;
  left: 33px;
  width: 1px;
  height: 1px;
}

.lampe_kopf {
  position: absolute;
  top: -6px;
  left: -12px;
  width: 26px;
  height: 12px;
  background-color: #ffffff;
  border-radius: 12px 12px 0 0;
  transform: rotate(35deg);
}

.lichtkegel {
  position: absolute;
  top: 4px;
  left: -50px;
  width: 90px;
  height: 85px;
  background: linear-gradient(to bottom, rgba(255, 255, 200, 0.35), rgba(255, 255, 200, 0.03) 70%, transparent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transform-origin: top center;
  transform: rotate(35deg);
  pointer-events: none;
  animation: raum_licht 1s infinite alternate;
}

@keyframes raum_licht {
  0% { opacity: 0.85; }
  30% { opacity: 0.95; }
  32% { opacity: 0.75; }
  34% { opacity: 0.90; }
  70% { opacity: 0.85; }
  100% { opacity: 0.95; }
}








/* Kleine Küche mit detailliertem Backofen */
.kachel_kueche_klein {
  position: relative;
  overflow: hidden;
  background-color: #242b35;
  width: 100%;
  height: 100%;
}

.kueche_wand_k {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to bottom, #2c3e50, #1e2732);
}

.kueche_boden_k {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: #161c24;
  border-top: 2px solid #0f131a;
}

/* Aufbau der Küchenzeile */
.kuechenzeile_k {
  position: absolute;
  bottom: 0%;
  left: 0%;
  width: 100%;
  height: 35px;
  z-index: 5;
}

.arbeitsplatte_k {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #ffffff;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  z-index: 6;
}

.schrank_links_k, .schrank_rechts_k {
  position: absolute;
  top: 4px;
  width: 25%;
  height: 31px;
  background-color: #34495e;
  display: flex;
  justify-content: center;
  align-items: center;
}
.schrank_links_k { left: 0; border-radius: 0 0 0 3px; border-right: 1px solid #1e2732; }
.schrank_rechts_k { right: 0; border-radius: 0 0 3px 0; border-left: 1px solid #1e2732; }

.schrank_tuer {
  width: 80%;
  height: 85%;
  border: 1px solid #2c3e50;
  border-radius: 2px;
  position: relative;
}
.schrank_tuer::after {
  content: "";
  position: absolute;
  top: 10%;
  width: 2px;
  height: 10px;
  background-color: #ffffff;
}
.schrank_links_k .schrank_tuer::after { right: 2px; }
.schrank_rechts_k .schrank_tuer::after { left: 2px; }

/* Der neue Herd und Backofen */
.herd_einheit_k {
  position: absolute;
  top: 0;
  left: 25%;
  width: 50%;
  height: 35px;
  background-color: #111111;
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.kochfeld_k {
  width: 100%;
  height: 4px;
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.kochzone_glanz {
  position: absolute;
  top: 0;
  left: 20%;
  width: 60%;
  height: 2px;
  background: radial-gradient(ellipse, rgba(255, 51, 51, 0.8), transparent 70%);
  animation: induktion_pulsieren 3s infinite alternate;
}

@keyframes induktion_pulsieren {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.backofen_k {
  width: 100%;
  height: 31px;
  background-color: #1a1a1a;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
  box-sizing: border-box;
}

.ofen_panel {
  width: 100%;
  height: 8px;
  background-color: #2a2a2a;
  border-bottom: 1px solid #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.herd_display_k {
  color: #ff3333;
  font-family: 'Courier New', Courier, monospace;
  font-size: 6px;
  font-weight: bold;
  text-shadow: 0 0 2px rgba(255,51,51,0.8);
  letter-spacing: 0.5px;
}

.ofen_tuer {
  width: 85%;
  height: 20px;
  margin-top: 1.5px;
  border: 1px solid #444;
  border-radius: 2px;
  background-color: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ofen_griff {
  width: 70%;
  height: 2px;
  background-color: #888;
  margin-top: 2px;
  border-radius: 1px;
}

.ofen_fenster {
  width: 80%;
  height: 12px;
  margin-top: 2px;
  background-color: #000;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  border: 1px solid #222;
}

.ofen_hitze {
  position: absolute;
  bottom: -5px;
  left: 10%;
  width: 80%;
  height: 15px;
  background: radial-gradient(ellipse at bottom, rgba(255, 100, 0, 0.6), transparent 70%);
  animation: backofen_flackern 4s infinite alternate;
}

@keyframes backofen_flackern {
  0% { opacity: 0.7; }
  50% { opacity: 0.9; }
  100% { opacity: 0.6; }
}

/* Der Topf auf dem Herd */
.topf_komplex_k {
  position: absolute;
  bottom: calc(10% + 25px);
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 24px;
  z-index: 7;
}

.topf_bodengruppe_k {
  position: absolute;
  bottom: 0;
  left: 4px;
  width: 28px;
  height: 16px;
}

.topf_koerper_k {
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  border-radius: 0 0 3px 3px;
  box-shadow: inset -4px 0 0 rgba(0,0,0,0.15);
}

.topf_griff_k {
  position: absolute;
  top: 3px;
  width: 5px;
  height: 5px;
  border: 1.5px solid #e0e0e0;
  border-radius: 2px;
}
.tg_links_k { left: -5px; border-right: none; border-radius: 2px 0 0 2px; }
.tg_rechts_k { right: -5px; border-left: none; border-radius: 0 2px 2px 0; }

/* Der aufsteigende Dampf */
.dampf_komplex_k {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 15px;
}

.dampf_wolke_k {
  position: absolute;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  filter: blur(1px);
  animation: dampf_steigt_k 2.5s infinite linear;
  opacity: 0;
}

.dw1_k { width: 6px; height: 6px; left: 0px; animation-delay: 0s; }
.dw2_k { width: 8px; height: 8px; left: 6px; animation-delay: 0.8s; }
.dw3_k { width: 5px; height: 5px; left: 14px; animation-delay: 1.5s; }

@keyframes dampf_steigt_k {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  20% { opacity: 0.6; }
  60% { transform: translateY(-12px) translateX(2px) scale(1.3); opacity: 0.3; }
  100% { transform: translateY(-20px) translateX(-2px) scale(1.6); opacity: 0; }
}

/* Oregano Blätter */
.oregano_zweig_k {
  position: absolute;
  bottom: calc(10% + 25px);
  right: 12%;
  width: 12px;
  height: 10px;
  z-index: 6;
}

.o_blatt_k {
  position: absolute;
  background-color: #2ecc71;
  border-radius: 50% 0 50% 0;
}

.ob1_k { width: 6px; height: 6px; bottom: 0; left: 0; transform: rotate(20deg); }
.ob2_k { width: 5px; height: 5px; bottom: 3px; left: 5px; transform: rotate(60deg); }

/* Beleuchtung der Küche */
.haengelampe_komplex_k {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 50px;
  z-index: 8;
}

.lampe_kabel_k {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background-color: #ffffff;
}

.lampe_kopf_leitung_k {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 1px;
}

.lampe_schirm_k {
  position: absolute;
  top: 0;
  left: -12px;
  width: 24px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 12px 12px 0 0;
}

.lichtkegel_kueche_k {
  position: absolute;
  top: 8px;
  left: -25px;
  width: 50px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 200, 0.35), transparent);
  clip-path: polygon(35% 0, 65% 0, 100% 100%, 0 100%);
  pointer-events: none;
}




/* === NEUE GARTEN KACHEL === */
.kachel_garten {
  position: relative;
  overflow: hidden;
  background-color: #008a00;
  width: 100%;
  height: 100%;
}

.garten_raum {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 100%, #202c39 30%, #1e2732 100%);
  z-index: 1;
}

#gartenCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* Neues Regalbrett für den festen Stand */
.garten_regalbrett {
  position: absolute;
  bottom: 15px;
  left: 5%;
  width: 90%;
  height: 4px;
  background-color: #34495e;
  border-radius: 2px;
  z-index: 2;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
}

/* Gruppen für präzise Zuordnung von Pflanze und Topf */
.pflanz_gruppe {
  position: absolute;
  bottom: 19px;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.pg_links { left: 5%; }
.pg_mitte { left: 50%; transform: translateX(-50%); }
.pg_rechts { right: 5%; }

/* Die Töpfe stehen ganz vorne */
.topf {
  width: 26px;
  height: 16px;
  border-radius: 2px 2px 4px 4px;
  z-index: 5;
  position: relative;
  box-shadow: inset -4px 0 0 rgba(0,0,0,0.2);
}
.topf_blau { background-color: #2d89ef; border-top: 2px solid #1c6abf; }
.topf_weiss { background-color: #ffffff; border-top: 2px solid #e0e0e0; }
.topf_orange { background-color: #e67e22; border-top: 2px solid #d35400; }

/* Pflanzen sinken durch negativen Abstand exakt IN den Topf */
.garten_monstera, .garten_blume, .garten_kaktus {
  position: relative;
  z-index: 4;
  margin-bottom: -5px; 
  transform-origin: bottom center;
}

/* Pflanze 1: Monstera */
.garten_monstera {
  width: 26px;
  height: 30px;
  animation: garten_wippen 3.5s infinite alternate ease-in-out;
}
.monstera_blatt_einzeln {
  position: absolute;
  background-color: #2ecc71;
  border-radius: 50% 50% 10% 50%;
}
.gb1 { width: 13px; height: 21px; bottom: 0; left: 0; transform: rotate(-25deg); }
.gb2 { width: 11px; height: 19px; bottom: 7px; left: 7px; transform: rotate(5deg); }
.gb3 { width: 12px; height: 20px; bottom: 2px; left: 13px; transform: rotate(35deg); }

/* Pflanze 2: Doppel-Blume */
.garten_blume {
  width: 24px;
  height: 35px;
  animation: garten_wippen 4s infinite alternate ease-in-out;
}
.blume_stiel_einzeln {
  position: absolute;
  bottom: 0;
  width: 2px;
  background-color: #27ae60;
}
.bs1 { left: 8px; height: 28px; }
.bs2 { left: 16px; height: 22px; transform: rotate(15deg); }

.blume_punkt {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.bp1 { top: 0; left: 4px; background-color: #ff0000; box-shadow: 0 0 4px #ff0000; }
.bp2 { top: 5px; left: 10px; background-color: #ffc40d; box-shadow: 0 0 4px #ffc40d; }
.bp3 { top: 6px; left: 18px; background-color: #9b59b6; box-shadow: 0 0 4px #9b59b6; }
.bp4 { top: 12px; left: 22px; background-color: #ffffff; box-shadow: 0 0 4px #ffffff; }

/* Pflanze 3: Kaktus */
.garten_kaktus {
  width: 20px;
  height: 28px;
  animation: garten_wippen 5s infinite alternate ease-in-out;
}
.kaktus_stamm {
  position: absolute;
  bottom: 0;
  left: 6px;
  width: 8px;
  height: 24px;
  background-color: #229954;
  border-radius: 4px;
}
.kaktus_arm_links {
  position: absolute;
  bottom: 8px;
  left: 1px;
  width: 5px;
  height: 8px;
  border: 2.5px solid #229954;
  border-top: none;
  border-right: none;
  border-radius: 0 0 0 3px;
}
.kaktus_arm_rechts {
  position: absolute;
  bottom: 14px;
  right: 1px;
  width: 5px;
  height: 6px;
  border: 2.5px solid #229954;
  border-top: none;
  border-left: none;
  border-radius: 0 0 3px 0;
}

/* Pflanze 4: Hängend von der Decke */
.haenge_pflanze {
  position: absolute;
  top: 0;
  right: 15px;
  width: 30px;
  height: 40px;
  z-index: 3;
  animation: garten_wippen 4.5s infinite alternate ease-in-out;
  transform-origin: top center;
}
.ranke {
  position: absolute;
  top: 0;
  width: 2px;
  background-color: #27ae60;
  border-radius: 1px;
}
.r1 { left: 5px; height: 35px; }
.r2 { left: 14px; height: 20px; }
.r3 { left: 23px; height: 28px; }

.ranke::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 6px;
  height: 6px;
  background-color: #2ecc71;
  border-radius: 50% 0 50% 0;
}

@keyframes garten_wippen {
  0% { transform: rotate(-3deg); }
  100% { transform: rotate(3deg); }
}





  .kachel-raster {

    display: grid;

    grid-template-columns: repeat(4, 150px);

    grid-auto-rows: 150px;

    gap: 10px;

    width: 100%;

  }



  .kachel {

    width: 100%;

    height: 100%;

  }



  .kachel-breit {

    grid-column: span 2;

  }



  .kachel-gross {

    grid-column: span 2;

    grid-row: span 2;

  }



  .farbe-blau { background-color: #00557F; }

  .farbe-saphirblau { background-color: #00557F; }

  .farbe-rot { background-color: #991101; }

  .farbe-lila { background-color: #603cba; }

  .farbe-orange { background-color: #D07B04; }

  .farbe-tuerkis { background-color: #00aba9; }
  
  .farbe-gruen { background-color: #006237; }



  .kachel:hover, .kachel-breit:hover, .kachel-gross:hover {

    opacity: 0.85;

    cursor: pointer;

  }



  /* Anpassungen für Smartphones */

  @media (max-width: 700px) {

    .haupt-container {

      align-items: center;

    }

    .name-oben-links {

      text-align: center;

    }

    .kachel-raster {

      grid-template-columns: repeat(2, 1fr);

      grid-auto-rows: calc(50vw - 25px);

    }

  }
  
  
  
 