/* Grundlayout & Reset */
* {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;             /* Scroll-Jump vermeiden */
  background: #f3ece9;           /* leichtes Off-White */
  padding: 15px;                 /* optischer Abstand */
}

/* Container */
.container {
  display: flex;
  width: 90%;
  max-width: 1000px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Seitenaufteilung */
.left,
.right {
  padding: 40px;
  flex: 1;
}

.right {
  background: url('https://images.unsplash.com/photo-1556740714-a8395b3bf30f?auto=format&fit=crop&w=800&q=60')
              center/cover no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.right.bg1 {background:url('/images/login1.png') center/cover no-repeat;}
.right.bg2 {background:url('/images/login2.png') center/cover no-repeat;}
.right.bg3 {background:url('/images/login3.png') center/cover no-repeat;}
.right.bg4 {background:url('/images/login4.png') center/cover no-repeat;}

/* Texte */
h1 {
  color: #ff6a00;
  margin-bottom: 20px;
  font-size: 32px;
}

h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
}

/* Form */
input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #ff6a00;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

/* Google-Button mit Icon (angepasst für orange Rahmen) */
.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid #ff6a00;
  color: #ff6a00;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  background-color: #fff;
  transition: background 0.2s;
}

.google-btn:hover {
  background-color: #ffe4cc;
}

.google-btn img {
  width: 20px;
  height: 20px;
}

/* Layout-Extras */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #ddd;
}

.divider span {
  font-size: 13px;
  color: #aaa;         /* helles Grau wie vorher */
  font-weight: normal; /* optional – oder 'bold' falls gewünscht */
  white-space: nowrap;
}

/* Specials */
.error {
  background: #ffefef;
  color: #c00;
  padding: 10px;
  border: 1px solid #c00;
  border-radius: 4px;
  margin-bottom: 15px;
}

.promo {
  margin-top: 20px;
  color: #555;
  font-size: 14px;
  text-align: center;
}

.logout-btn {
  background: #ff6a00;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* --- Mobile Breakpoint ------------------------------------- */
@media (max-width: 768px) {
  .container {
    flex-direction: column;     /* Stapeln */
    width: 100%;                /* volle Breite */
    max-width: none;            /* Begrenzung aufheben */
    box-shadow: none;           /* Schatten entfernen */
    border-radius: 0;
    margin: 0 15px;             /* optischer Rand */
  }

  .right {
    display: none;              /* Werbeseite ausblenden */
  }
}