:root {
  --blue: #00b4ec;
  --blue-dark: #006390;
  --coral: #ea584a;
  --ink: #101820;
  --muted: #5b6470;
  --line: #d8eef8;
  --paper: #f5fbfe;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 180, 236, .22), transparent 34%),
    linear-gradient(180deg, #eef9fd, #ffffff);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

a { color: var(--blue-dark); }

.page {
  width: min(980px, calc(100% - 32px));
  margin: 32px auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 99, 144, .16);
}

.hero {
  padding: 58px 50px 40px;
  background:
    linear-gradient(135deg, rgba(0, 180, 236, .16), rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #fff, #f7fcff);
  border-bottom: 1px solid var(--line);
}

.label {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 10px;
}

h1 {
  margin: 0;
  color: var(--blue-dark);
  font-size: clamp(42px, 7vw, 76px);
  line-height: .92;
  letter-spacing: -.055em;
}

h2 {
  color: var(--blue-dark);
  margin: 26px 0 8px;
  font-size: 22px;
  letter-spacing: -.02em;
}

h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.features span {
  display: inline-flex;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.signup,
.simple {
  padding: 38px 50px;
  border-bottom: 1px solid var(--line);
}

form { margin: 0; }

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--blue-dark);
}

.row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

input[type="email"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 18px;
  font-size: 16px;
  outline: none;
}

input[type="email"]:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 180, 236, .14);
}

button,
.buttonlink {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover,
.buttonlink:hover {
  background: var(--blue-dark);
}

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink);
  font-weight: 400;
  margin-top: 16px;
}

.check input { margin-top: 3px; }

.hint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.notice {
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.notice.success {
  background: #eefaf5;
  border: 1px solid #cceee0;
  color: #155f45;
}

.notice.error {
  background: #fff4f2;
  border: 1px solid #ffd3cc;
  color: #7a251b;
}

.notice ul { margin: 8px 0 0 18px; padding: 0; }

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.preview {
  padding: 38px 50px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.preview h2 {
  margin: 0 0 18px;
  color: var(--blue-dark);
  font-size: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
}

.grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.textpage p {
  max-width: 760px;
}

footer {
  padding: 24px 50px;
  color: var(--muted);
  font-size: 13px;
}

footer p { margin: 0 0 8px; }

.fineprint {
  font-size: 12px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .page {
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .hero,
  .signup,
  .simple,
  .preview,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .row,
  .grid {
    grid-template-columns: 1fr;
  }

  button { width: 100%; }
}


.ownerline {
  margin-top: 12px;
  color: var(--coral);
  font-size: 18px;
  font-weight: 800;
  max-width: 820px;
}

.disclaimerbox {
  margin-top: 24px;
  max-width: 860px;
  background: #fff4f2;
  border: 1px solid #ffd3cc;
  color: #6f241b;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 14px;
}

.disclaimerbox strong {
  color: #5a1c15;
}


.hero-enhanced {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-preview {
  display: flex;
  justify-content: center;
}

.preview-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(0, 99, 144, .10);
}

.preview-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.preview-card img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.preview-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  max-width: 500px;
}

.signup-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.section-mini {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.signup-title {
  margin: 0;
  font-size: 34px;
  color: var(--blue-dark);
  line-height: 1.05;
}

.signup-text {
  margin: 8px 0 0;
  color: var(--muted);
}

.signup {
  background: #ffffff;
}

.grid article {
  min-height: 150px;
}

@media (max-width: 920px) {
  .hero-enhanced {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    justify-content: flex-start;
  }
}


/* ===== Landingpage V3 Optimierung ===== */

.hero-v3 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 40px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.hero-v3 .label {
  color: var(--coral);
  letter-spacing: .12em;
  font-size: 14px;
  font-weight: 900;
}

.hero-v3 h1 {
  font-size: clamp(46px, 7vw, 80px);
  line-height: .92;
  margin-bottom: 8px;
}

.hero-v3 .subtitle {
  max-width: 680px;
  font-size: 22px;
  line-height: 1.42;
  margin-top: 18px;
}

.ownerline {
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 700;
}

.micro-note {
  margin-top: 16px;
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.micro-note strong {
  color: var(--ink);
}

.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-stack {
  position: relative;
  width: min(100%, 430px);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-bg-card {
  position: absolute;
  width: 86%;
  height: 84%;
  border-radius: 26px;
  background: linear-gradient(180deg, #f5fbfe, #edf7fb);
  border: 1px solid var(--line);
  transform: rotate(6deg) translate(18px, 12px);
  box-shadow: 0 22px 50px rgba(0, 99, 144, .08);
}

.preview-card {
  position: relative;
  width: 100%;
  max-width: 390px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(0, 99, 144, .16);
}

.preview-card.angled {
  transform: rotate(-5deg);
}

.preview-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.preview-caption {
  max-width: 420px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}

.signup-v3 {
  padding-top: 8px;
  background: transparent;
}

.signup-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px 32px 26px;
  box-shadow: 0 14px 35px rgba(0, 99, 144, .06);
}

.signup-head {
  margin-bottom: 16px;
}

.section-mini {
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.signup-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  color: var(--blue-dark);
}

.signup-text {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-v3 h2 {
  margin-bottom: 18px;
}

.grid {
  gap: 16px;
}

.grid article {
  min-height: 0;
  padding: 20px;
  border-radius: 20px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.grid article:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 99, 144, .08);
}

.grid h3 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.grid p {
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .hero-v3 {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    align-items: flex-start;
  }

  .preview-caption {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .hero-v3 .subtitle {
    font-size: 18px;
  }

  .ownerline {
    font-size: 16px;
  }

  .preview-stack {
    width: 100%;
    height: auto;
    padding-top: 10px;
  }

  .preview-bg-card {
    display: none;
  }

  .preview-card.angled {
    transform: none;
  }

  .signup-panel {
    padding: 22px 18px 20px;
  }

  .signup-title {
    font-size: 28px;
  }
}


/* ===== Landingpage V4 professional polish ===== */

.hero-v4 {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 46px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 52px;
}

.hero-v4 .label {
  color: var(--coral);
  letter-spacing: .13em;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
}

.hero-v4 h1 {
  font-size: clamp(54px, 7vw, 88px);
  line-height: .9;
  margin-bottom: 10px;
  max-width: 640px;
}

.hero-v4 .subtitle {
  max-width: 680px;
  font-size: 21px;
  line-height: 1.45;
  margin-top: 18px;
}

.hero-v4 .subtitle strong {
  color: var(--blue-dark);
}

.ownerline {
  margin-top: 6px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 700;
}

.features {
  margin-top: 22px;
}

.features span {
  box-shadow: 0 8px 18px rgba(0, 99, 144, .05);
}

.micro-note {
  margin-top: 14px;
  max-width: 720px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-stage {
  position: relative;
  width: min(100%, 470px);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paper-shadow {
  position: absolute;
  width: 82%;
  height: 76%;
  border-radius: 30px;
  background: rgba(0, 99, 144, .08);
  filter: blur(22px);
  transform: rotate(-6deg) translateY(24px);
}

.paper-back {
  position: absolute;
  width: 84%;
  height: 78%;
  border-radius: 28px;
  background: linear-gradient(180deg, #f7fcff, #eef8fc);
  border: 1px solid var(--line);
  transform: rotate(7deg) translate(18px, 6px);
}

.preview-card {
  position: relative;
  width: 100%;
  max-width: 410px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 12px;
  box-shadow: 0 28px 60px rgba(0, 99, 144, .14);
}

.preview-card.pro-angled {
  transform: rotate(-5deg);
}

.preview-card img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
}

.preview-caption {
  max-width: 440px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.signup-v4 {
  padding-top: 8px;
}

.signup-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px 32px 26px;
  box-shadow: 0 14px 35px rgba(0, 99, 144, .06);
}

.section-v4 h2 {
  margin-bottom: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  min-height: 142px;
  box-shadow: 0 10px 24px rgba(0, 99, 144, .04);
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 99, 144, .08);
}

.feature-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.12;
  color: var(--blue-dark);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.author-section {
  padding: 10px 50px 44px;
}

.author-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 26px 28px;
  box-shadow: 0 14px 32px rgba(0, 99, 144, .05);
}

.author-avatar {
  width: 136px;
  height: 136px;
  object-fit: contain;
  border-radius: 50%;
}

.author-copy h2 {
  margin: 0 0 12px;
  font-size: 34px;
  color: var(--blue-dark);
  line-height: 1.05;
}

.author-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.author-note {
  color: var(--ink) !important;
  font-size: 14px !important;
}

@media (max-width: 980px) {
  .hero-v4 {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    align-items: flex-start;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-v4 .subtitle {
    font-size: 18px;
  }

  .preview-stage {
    width: 100%;
    height: auto;
    padding: 12px 0;
  }

  .paper-shadow,
  .paper-back {
    display: none;
  }

  .preview-card.pro-angled {
    transform: none;
  }

  .author-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .author-avatar {
    width: 110px;
    height: 110px;
  }

  .feature-card {
    grid-template-columns: 64px 1fr;
  }
}


/* ===== Landingpage V5 refined layout ===== */

.hero-v5 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 430px);
  gap: 42px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 44px;
}

.hero-v5 .label {
  color: var(--coral);
  letter-spacing: .13em;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 8px;
}

.hero-v5 h1 {
  font-size: clamp(56px, 7vw, 92px);
  line-height: .88;
  margin: 0 0 10px;
  max-width: 620px;
  letter-spacing: -.04em;
}

.hero-v5 .subtitle {
  max-width: 670px;
  font-size: 20px;
  line-height: 1.5;
  margin-top: 20px;
  color: var(--muted);
}

.hero-v5 .subtitle strong {
  color: var(--blue-dark);
}

.ownerline {
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 18px;
  font-weight: 700;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.features span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--blue-dark);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(0, 99, 144, .04);
}

.micro-note {
  margin-top: 14px;
  max-width: 700px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-shell {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 26px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(245,251,254,.96));
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(0, 99, 144, .08);
}

.preview-shell::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7fcff, #eef8fc);
  z-index: 0;
}

.preview-card.pro-clean {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 20px 46px rgba(0, 99, 144, .10);
  transform: rotate(-2.5deg);
}

.preview-card.pro-clean img {
  display: block;
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.preview-caption {
  max-width: 400px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.signup-v5 {
  padding-top: 6px;
}

.signup-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 30px 32px 26px;
  box-shadow: 0 12px 30px rgba(0, 99, 144, .05);
}

.signup-title {
  margin: 0;
  font-size: 34px;
  line-height: 1.08;
  color: var(--blue-dark);
}

.signup-text {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-v5 h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1.08;
}

.section-header {
  margin-bottom: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  min-height: 144px;
  box-shadow: 0 10px 24px rgba(0, 99, 144, .04);
}

.feature-icon {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1.15;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.author-section {
  padding: 10px 50px 44px;
}

.author-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 14px 32px rgba(0, 99, 144, .05);
}

.author-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-avatar {
  width: 148px;
  height: 148px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 14px 30px rgba(0, 99, 144, .12);
}

.author-copy h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 34px;
  line-height: 1.06;
}

.author-copy p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.author-note {
  color: var(--ink) !important;
  font-size: 14px !important;
}

@media (max-width: 980px) {
  .hero-v5 {
    grid-template-columns: 1fr;
  }

  .hero-preview {
    align-items: flex-start;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-v5 .subtitle {
    font-size: 18px;
  }

  .preview-shell {
    max-width: 100%;
    padding: 18px;
  }

  .preview-card.pro-clean {
    transform: none;
  }

  .author-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .author-card {
    grid-template-columns: 1fr;
  }

  .author-avatar {
    width: 124px;
    height: 124px;
  }
}


/* ===== Landingpage V6: Headline fix + cleaner hero balance ===== */

.hero-v5 {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) !important;
  gap: 34px !important;
  align-items: center !important;
  overflow: hidden;
}

.main-title {
  margin: 0 0 10px !important;
  color: var(--blue-dark);
  letter-spacing: -.045em;
  line-height: .88;
  max-width: 100%;
}

.main-title span {
  display: block;
  white-space: nowrap;
}

.main-title span:first-child {
  font-size: clamp(58px, 5.8vw, 82px);
  line-height: .86;
}

.main-title span:last-child {
  font-size: clamp(48px, 5.1vw, 68px);
  line-height: .92;
}

.hero-v5 .subtitle {
  max-width: 590px !important;
  font-size: 19px !important;
}

.hero-v5 .ownerline {
  max-width: 540px;
}

.hero-v5 .features {
  max-width: 560px;
}

.hero-v5 .micro-note {
  max-width: 560px;
}

.hero-v5 .preview-shell {
  max-width: 345px !important;
  padding: 20px !important;
}

.hero-v5 .preview-card.pro-clean {
  transform: rotate(-2deg) !important;
}

.hero-v5 .preview-caption {
  max-width: 345px !important;
  font-size: 13px !important;
}

@media (min-width: 1200px) {
  .main-title span:first-child {
    font-size: 84px;
  }

  .main-title span:last-child {
    font-size: 70px;
  }
}

@media (max-width: 980px) {
  .hero-v5 {
    grid-template-columns: 1fr !important;
    overflow: visible;
  }

  .main-title span:first-child {
    font-size: clamp(52px, 11vw, 78px);
  }

  .main-title span:last-child {
    font-size: clamp(44px, 9vw, 66px);
  }

  .hero-v5 .preview-shell,
  .hero-v5 .preview-caption {
    max-width: 430px !important;
  }
}

@media (max-width: 540px) {
  .main-title span:first-child {
    font-size: 52px;
  }

  .main-title span:last-child {
    font-size: 40px;
    white-space: normal;
  }
}


/* ===== Landingpage V8: local author photo preferred + cleaner author profile ===== */

.author-card {
  grid-template-columns: 190px 1fr !important;
  gap: 30px !important;
  align-items: center !important;
}

.author-image-wrap {
  align-items: center;
  justify-content: center;
}

.author-avatar {
  width: 158px !important;
  height: 158px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
  border: 5px solid #ffffff !important;
  box-shadow: 0 16px 34px rgba(0, 99, 144, .14) !important;
  background: #ffffff;
}

.author-copy h2 {
  margin-bottom: 10px !important;
}

.author-copy p {
  max-width: 760px;
}

@media (max-width: 760px) {
  .author-card {
    grid-template-columns: 1fr !important;
  }

  .author-avatar {
    width: 124px !important;
    height: 124px !important;
  }
}


/* ===== Backend / Admin Dashboard ===== */

.admin-body .page {
  max-width: 1240px;
}

.admin-login {
  max-width: 760px;
}

.admin-subtitle {
  margin-top: 10px;
  color: var(--muted);
}

.admin-login-form {
  margin-top: 24px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.buttonlink.secondary {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--line);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 22px;
}

.admin-stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0, 99, 144, .04);
}

.admin-stat span {
  display: block;
  color: var(--blue-dark);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}

.admin-stat strong {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.admin-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  margin-top: 20px;
  box-shadow: 0 10px 24px rgba(0, 99, 144, .04);
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: baseline;
  margin-bottom: 16px;
}

.admin-panel-head h2 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 28px;
}

.admin-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--blue-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.status-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 800;
  font-size: 12px;
}

.status-active {
  background: #eaf8f1;
  color: #166044;
}

.status-pending {
  background: #fff6df;
  color: #7c5200;
}

.status-unsubscribed {
  background: #fff1ee;
  color: #862719;
}

.status-unknown {
  background: #f1f4f6;
  color: #52606a;
}

.action-cell {
  display: flex;
  gap: 8px;
  min-width: 180px;
}

.mini-btn {
  min-height: 0;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--blue);
}

.mini-btn.danger {
  background: #ea584a;
}

.event-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.event-summary div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  min-width: 130px;
  background: #f8fcff;
}

.event-summary strong {
  display: block;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1;
}

.event-summary span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

code {
  background: #f1f7fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 2px 6px;
  color: var(--blue-dark);
}

@media (max-width: 760px) {
  .admin-top,
  .admin-panel-head {
    display: block;
  }

  .admin-actions {
    margin-top: 12px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .action-cell {
    display: block;
  }

  .action-cell form {
    margin-bottom: 6px;
  }
}
