:root {
  --vw-bg-dark: #061a2b;
  --vw-bg-mid: #0b2f4a;
  --vw-bg-panel: rgba(255, 255, 255, 0.95);
  --vw-text-dark: #0b2f4a;
  --vw-text-soft: #52677a;
  --vw-line: rgba(11, 47, 74, 0.12);
  --vw-accent: #38bdf8;
  --vw-accent-dark: #0ea5e9;
  --vw-accent-soft: #dff5ff;
  --vw-shadow: 0 18px 45px rgba(3, 16, 28, 0.24);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--vw-text-dark);
  background: linear-gradient(180deg, #eef4f8 0%, #e7eef4 100%);
}

.vw-webmail-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--vw-bg-dark) 0%, var(--vw-bg-mid) 100%);
}

.vw-webmail-header__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

.vw-webmail-header__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 112px;
  padding: 18px 24px;
  display: grid;
  grid-template-columns: 240px 1fr 180px;
  align-items: center;
  gap: 18px;
}

.vw-webmail-header__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.vw-webmail-header__logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
}

.vw-webmail-header__titlewrap {
  text-align: center;
  color: #fff;
}

.vw-webmail-header__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 6px;
}

.vw-webmail-header__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
}

.vw-webmail-header__beam {
  width: 180px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.4) 12%, rgba(56, 189, 248, 1) 50%, rgba(56, 189, 248, 0.4) 88%, transparent 100%);
}

.vw-webmail-header__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #27d3ff 0%, #38bdf8 100%);
  color: #052033;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.32);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.vw-webmail-header__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(14, 165, 233, 0.4);
  filter: saturate(1.05);
}

.vw-webmail-main {
  display: block;
}

.vw-webmail-hero,
.vw-webmail-loginwrap,
.vw-webmail-note {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.vw-webmail-hero {
  padding-top: 34px;
}

.vw-webmail-hero__panel,
.vw-webmail-note__panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 47, 74, 0.08);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 10px 28px rgba(7, 27, 43, 0.06);
}

.vw-webmail-hero__headline,
.vw-webmail-note__title {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--vw-text-dark);
}

.vw-webmail-hero__subline,
.vw-webmail-note__panel p {
  margin: 0;
  font-size: 18px;
  line-height: 1.72;
  color: var(--vw-text-soft);
}

.vw-webmail-loginwrap {
  padding-top: 28px;
  padding-bottom: 28px;
}

.vw-webmail-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vw-webmail-card {
  background: var(--vw-bg-panel);
  border: 1px solid var(--vw-line);
  border-radius: 26px;
  padding: 30px 30px 28px;
  box-shadow: var(--vw-shadow);
}

.vw-webmail-card--primary {
  border-top: 6px solid var(--vw-accent);
}

.vw-webmail-card--legacy {
  border-top: 6px solid rgba(11, 47, 74, 0.7);
}

.vw-webmail-card__topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--vw-accent-soft);
  color: var(--vw-text-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.vw-webmail-card__legacylogo {
  min-height: 58px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.vw-webmail-card__legacyimg {
  max-width: 180px;
  width: auto;
  height: auto;
  display: block;
}

.vw-webmail-card__title {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--vw-text-dark);
}

.vw-webmail-card__text {
  margin: 0 0 22px;
  font-size: 17px;
  line-height: 1.68;
  color: var(--vw-text-soft);
}

.vw-webmail-form {
  display: block;
}

.vw-webmail-label {
  display: block;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--vw-text-dark);
}

.vw-webmail-input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  margin: 0 0 16px;
  border: 1px solid rgba(11, 47, 74, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--vw-text-dark);
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vw-webmail-input:focus {
  outline: none;
  border-color: rgba(14, 165, 233, 0.75);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.14);
}

.vw-webmail-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.vw-webmail-btn--primary {
  background: linear-gradient(180deg, #27d3ff 0%, #38bdf8 100%);
  color: #052033;
  box-shadow: 0 12px 26px rgba(14, 165, 233, 0.26);
}

.vw-webmail-btn--secondary {
  background: linear-gradient(180deg, #0e3858 0%, #0b2f4a 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(6, 26, 43, 0.22);
}

.vw-webmail-btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
}

.vw-webmail-card__hint {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--vw-text-soft);
}

.vw-inline-link {
  color: var(--vw-text-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.vw-inline-link:hover {
  color: var(--vw-accent-dark);
  text-decoration: none;
}

.vw-webmail-note {
  padding-bottom: 48px;
}

.vw-webmail-note__title {
  font-size: 28px;
}

.vw-webmail-note__panel p + p {
  margin-top: 12px;
}

.vw-webmail-footer {
  background: linear-gradient(90deg, #061a2b 0%, #0a2e52 100%);
  color: #fff;
}

.vw-webmail-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 110px;
  padding: 26px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.vw-webmail-footer__brand {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
}

.vw-webmail-footer__sub,
.vw-webmail-footer__right {
  font-size: 16px;
  line-height: 1.4;
  opacity: 0.92;
}

@media (max-width: 980px) {
  .vw-webmail-header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    min-height: auto;
  }

  .vw-webmail-header__cta {
    justify-self: center;
  }

  .vw-webmail-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .vw-webmail-hero,
  .vw-webmail-loginwrap,
  .vw-webmail-note {
    padding-left: 16px;
    padding-right: 16px;
  }

  .vw-webmail-hero__panel,
  .vw-webmail-note__panel,
  .vw-webmail-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .vw-webmail-hero__headline,
  .vw-webmail-card__title {
    font-size: 28px;
  }

  .vw-webmail-hero__subline,
  .vw-webmail-card__text,
  .vw-webmail-note__panel p {
    font-size: 16px;
  }

  .vw-webmail-footer__inner {
    min-height: auto;
    padding: 22px 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}
.vw-webmail-note__title::after,
.vw-webmail-card__title::after, 
.vw-webmail-hero__headline::after{
  content:"";
  display:block;
  width:110px;
  height:4px;
  margin-top:8px;
  border-radius:99px;
  background:linear-gradient(
    90deg,
    rgba(56,189,248,0.95) 0%,
    rgba(56,189,248,0.58) 48%,
    rgba(56,189,248,0.08) 100%
  );
}




/* --- Viennaweb Webmail Login Alignment PATCH --- */
/* Cards gleich hoch */
.vw-login-grid{
align-items:stretch;
}

/* Card Aufbau */
.vw-webmail-card{
display:flex;
flex-direction:column;
}

/* Oberer Content darf wachsen */
.vw-webmail-card .vw-card-content{
flex:1;
}

/* Formular immer gleich positioniert */
.vw-webmail-card form{
margin-top:20px;
}

.vw-webmail-card__empfohlen {
  min-height: 58px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  max-height: 70px;
  width: auto;
  height: 111px;
  display: block;
}

