/*
Theme Name: MKCG Platform
Theme URI: https://mkcg.de
Author: MKCG
Description: MKCG Premium WordPress Theme
Version: 1.0
Text Domain: mkcg-platform
*/

/* =========================================================
   MKCG DESIGN SYSTEM
========================================================= */

:root {
  --mkcg-black: #03070D;
  --mkcg-navy: #071523;
  --mkcg-navy-soft: #0E2742;
  --mkcg-blue: #12345A;
  --mkcg-text: #0B1F35;
  --mkcg-muted: #53606D;
  --mkcg-light: #F3F0EA;
  --mkcg-section: #F8F6F1;
  --mkcg-ivory: #FFFDF8;
  --mkcg-ivory-soft: #FBF8F1;
  --mkcg-border: #E3D8C6;
  --mkcg-gold: #C8A45D;
  --mkcg-gold-soft: #F4E8CE;
  --mkcg-white: #ffffff;

  --mkcg-radius-xl: 34px;
  --mkcg-radius-lg: 28px;
  --mkcg-radius-md: 18px;
  --mkcg-radius-sm: 14px;

  --mkcg-shadow-card: 0 22px 60px rgba(7, 21, 35, 0.07);
  --mkcg-shadow-dark: 0 24px 70px rgba(7, 21, 35, 0.16);

  --mkcg-width: min(1180px, calc(100% - 60px));
}

/* =========================================================
   GLOBAL RESET
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--mkcg-light);
  color: var(--mkcg-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

body {
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.entry-header,
.page-header,
.entry-title {
  display: none !important;
}

.wp-site-blocks,
.site,
.site-content,
.content-area,
.entry-content {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
}

/* =========================================================
   GLOBAL WIDTH
========================================================= */

.mkcg-page-wrap,
.mkcg-footer-wrap,
.mkcg-section-header,
.mkcg-analysis-box,
.mkcg-news-grid,
.mkcg-value-grid,
.mkcg-content-card,
.mkcg-contact {
  width: var(--mkcg-width);
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   HEADER
========================================================= */

.mkcg-site-header {
  width: 100%;
  background: var(--mkcg-black);
  color: #ffffff;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(200,164,93,0.10);
}

.mkcg-header-inner {
  min-height: 86px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mkcg-logo,
.mkcg-logo a {
  color: #FFFCF5;
  text-decoration: none;
  font-size: 32px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: -0.045em;
  white-space: nowrap;
  text-shadow:
    0 0 8px rgba(200,164,93,0.18),
    0 0 16px rgba(200,164,93,0.10);
}

.mkcg-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.mkcg-menu,
.mkcg-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.mkcg-menu li,
.mkcg-nav li {
  position: relative;
  margin: 0;
  padding: 0;
}

.mkcg-menu a,
.mkcg-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  padding: 34px 0;
  white-space: nowrap;
  letter-spacing: 0.005em;
  transition: color 0.2s ease;
}

.mkcg-menu a:hover,
.mkcg-nav a:hover {
  color: var(--mkcg-gold-soft);
}

.mkcg-menu-toggle {
  display: none;
}

/* =========================================================
   DROPDOWN DESKTOP
========================================================= */

.mkcg-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 300px;
  max-width: 380px;
  background:
    radial-gradient(circle at top right, rgba(200,164,93,0.14), transparent 32%),
    linear-gradient(180deg, #0E2742 0%, #071523 100%);
  border: 1px solid rgba(200,164,93,0.22);
  border-radius: 24px;
  box-shadow: 0 24px 72px rgba(3,7,13,0.30);
  padding: 14px;
  z-index: 9999;
}

.mkcg-nav li:hover > .sub-menu {
  display: block;
}

.mkcg-nav .sub-menu li {
  width: 100%;
}

.mkcg-nav .sub-menu a {
  display: block;
  color: rgba(255,255,255,0.84);
  padding: 12px 15px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0;
  white-space: normal;
}

.mkcg-nav .sub-menu a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--mkcg-gold-soft);
}

.mkcg-nav .sub-menu .sub-menu {
  left: 100%;
  top: 0;
}

/* =========================================================
   BUTTONS
========================================================= */

.mkcg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.22s ease;
}

.mkcg-btn:hover {
  transform: translateY(-2px);
}

.mkcg-btn-primary {
  background: var(--mkcg-blue);
  color: #ffffff !important;
  border-color: rgba(200,164,93,0.18);
}

.mkcg-btn-primary:hover {
  background: #173D67;
  color: #ffffff !important;
}

.mkcg-btn-light,
.mkcg-btn-secondary {
  background: var(--mkcg-ivory);
  color: #071523 !important;
  border-color: rgba(200,164,93,0.24);
}

.mkcg-btn-light:hover,
.mkcg-btn-secondary:hover {
  background: var(--mkcg-gold-soft);
  color: #071523 !important;
}

/* =========================================================
   HERO GLOBAL
   Wichtig: Startseite und Unterseiten gleiche Schriftgröße
========================================================= */

.mkcg-hero,
.mkcg-page-hero {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(200,164,93,0.10), transparent 34%),
    linear-gradient(135deg, #06111E 0%, #071523 52%, #0E2742 100%);
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(200,164,93,0.12);
}

.mkcg-hero-bg,
.mkcg-page-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: 78px;
  width: 720px;
  height: 315px;
  background: linear-gradient(145deg, rgba(46,116,190,0.24), rgba(200,164,93,0.06));
  border-radius: 42px;
  transform: rotate(-16deg);
  z-index: 1;
}

.mkcg-hero-inner {
  position: relative;
  z-index: 2;
  padding: 72px 56px 72px;
}

.mkcg-page-hero {
  padding: 66px 0 66px;
}

.mkcg-page-hero .mkcg-page-wrap {
  position: relative;
  z-index: 2;
}

.mkcg-hero-content {
  max-width: 900px;
}

.mkcg-badge,
.mkcg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  color: var(--mkcg-gold-soft);
  border: 1px solid rgba(200,164,93,0.26);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.mkcg-badge span,
.mkcg-kicker span {
  width: 10px;
  height: 10px;
  background: var(--mkcg-gold);
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
}

.mkcg-hero h1,
.mkcg-page-hero h1 {
  color: #ffffff;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 820;
  max-width: 780px;
  margin: 0 0 22px;
}

.mkcg-hero p,
.mkcg-page-hero p {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.68;
  max-width: 860px;
  margin: 0;
}

.mkcg-actions,
.mkcg-page-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* =========================================================
   STARTSEITE VALUE CARDS
========================================================= */

.mkcg-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  padding-top: 44px;
  padding-bottom: 48px;
}

.mkcg-value-card {
  background: linear-gradient(180deg, var(--mkcg-ivory) 0%, var(--mkcg-ivory-soft) 100%);
  border: 1px solid var(--mkcg-border);
  border-radius: var(--mkcg-radius-xl);
  padding: 32px 32px 30px;
  min-height: 255px;
  box-shadow: var(--mkcg-shadow-card);
}

.mkcg-value-card.dark {
  background:
    radial-gradient(circle at top right, rgba(200,164,93,0.10), transparent 34%),
    linear-gradient(180deg, #102D4C 0%, #071523 100%);
  color: #ffffff;
  border-color: rgba(200,164,93,0.16);
}

.mkcg-value-card span {
  display: block;
  color: #0E2742;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.mkcg-value-card.dark span {
  color: #D8BC79;
}

.mkcg-value-card h2 {
  color: inherit;
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
}

.mkcg-value-card p {
  color: var(--mkcg-muted);
  font-size: 15px;
  line-height: 1.66;
  margin: 0 0 22px;
}

.mkcg-value-card.dark p {
  color: rgba(255,255,255,0.76);
}

.mkcg-value-card a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

/* =========================================================
   STARTSEITE SECTIONS
========================================================= */

.mkcg-section {
  padding: 76px 0;
  background: var(--mkcg-section);
}

.mkcg-section-header {
  margin-bottom: 34px;
}

.mkcg-section-header span,
.mkcg-contact span,
.mkcg-kicker-simple {
  display: inline-block;
  color: var(--mkcg-gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.mkcg-section-header h2 {
  color: var(--mkcg-text);
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 820;
  max-width: 880px;
  margin: 0 0 14px;
}

.mkcg-section-header p {
  color: var(--mkcg-muted);
  font-size: 16px;
  line-height: 1.68;
  max-width: 860px;
  margin: 0;
}

/* Analyse-Box */
.mkcg-analysis-box {
  background: linear-gradient(180deg, var(--mkcg-ivory) 0%, var(--mkcg-ivory-soft) 100%);
  border: 1px solid var(--mkcg-border);
  border-radius: 26px;
  padding: 30px 34px;
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  box-shadow: var(--mkcg-shadow-card);
}

.mkcg-analysis-box h3 {
  color: var(--mkcg-text);
  font-size: 22px;
  line-height: 1.18;
  font-weight: 820;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
}

.mkcg-analysis-box p {
  color: var(--mkcg-muted);
  font-size: 15px;
  line-height: 1.68;
  max-width: 820px;
  margin: 0;
}

.mkcg-analysis-box .mkcg-btn {
  min-width: 210px;
  flex: 0 0 auto;
}

/* News */
.mkcg-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mkcg-news-grid article {
  background: linear-gradient(180deg, var(--mkcg-ivory) 0%, var(--mkcg-ivory-soft) 100%);
  border: 1px solid var(--mkcg-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--mkcg-shadow-card);
}

.mkcg-news-grid article span {
  display: inline-block;
  color: var(--mkcg-gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.mkcg-news-grid article h3 {
  color: var(--mkcg-text);
  font-size: 24px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 14px;
}

.mkcg-news-grid article p {
  color: var(--mkcg-muted);
  font-size: 15px;
  line-height: 1.66;
  margin: 0;
}

/* =========================================================
   CTA / KONTAKT BLOCK
========================================================= */

.mkcg-contact {
  background:
    radial-gradient(circle at top right, rgba(200,164,93,0.12), transparent 34%),
    linear-gradient(135deg, #06111E, #0E2742);
  color: #ffffff;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  border-radius: 26px;
  box-shadow: var(--mkcg-shadow-dark);
}

.mkcg-contact h2 {
  color: #ffffff;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 820;
  margin: 0 0 14px;
}

.mkcg-contact p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 1.68;
  max-width: 760px;
  margin: 0;
}

.mkcg-contact .mkcg-btn {
  min-width: 210px;
  flex: 0 0 auto;
}

/* =========================================================
   UNTERSEITEN / PRODUKTSEITEN
========================================================= */

.mkcg-page {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,0.92), transparent 32%),
    linear-gradient(180deg, #F8F6F1 0%, #F3F0EA 72%, #EEF3F6 100%);
  color: var(--mkcg-text);
  min-height: 100vh;
}

.mkcg-page-content {
  padding: 78px 0 106px;
}

.mkcg-main-intro-box {
  margin-bottom: 38px;
}

.mkcg-subpage-card-grid {
  padding: 0;
  margin-bottom: 42px;
}

.mkcg-subpage-card-grid .mkcg-value-card {
  min-height: 255px;
}

/* Inhalt-Karten */
.mkcg-content-card {
  background: linear-gradient(180deg, var(--mkcg-ivory) 0%, var(--mkcg-ivory-soft) 100%);
  border: 1px solid var(--mkcg-border);
  border-radius: 26px;
  padding: 38px 36px 42px;
  box-shadow: var(--mkcg-shadow-card);
  overflow: hidden;
  margin-bottom: 42px;
}

.mkcg-content-card h1,
.mkcg-content-card h2 {
  color: var(--mkcg-text);
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 820;
  margin: 0 0 22px;
}

.mkcg-content-card h3 {
  color: var(--mkcg-text);
  font-size: 26px;
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 30px 0 14px;
}

.mkcg-content-card p,
.mkcg-content-card li {
  color: var(--mkcg-muted);
  font-size: 16px;
  line-height: 1.72;
}

.mkcg-content-card ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.mkcg-content-card li {
  margin-bottom: 7px;
}

.mkcg-content-card a {
  color: var(--mkcg-navy-soft);
  font-weight: 750;
  text-underline-offset: 4px;
}

/* Prüfpunkte */
.mkcg-areas-card {
  margin-bottom: 42px;
}

.mkcg-areas-card h2 {
  margin-bottom: 26px;
}

.mkcg-area-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 18px;
  margin-top: 0;
}

.mkcg-area-item {
  min-height: 46px;
  display: flex;
  align-items: center;
  background: var(--mkcg-ivory);
  border: 1px solid rgba(200,164,93,0.24);
  border-radius: 13px;
  padding: 13px 18px;
  color: var(--mkcg-text);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}

/* CTA auf Unterseiten */
.mkcg-subpage-contact {
  margin-bottom: 76px;
}

/* Alte Sidebars sicher aus */
.mkcg-side-card,
.mkcg-sidebar,
.mkcg-analysis-sidebar,
.mkcg-content-sidebar {
  display: none !important;
}

.mkcg-page-grid {
  display: block !important;
  width: 100%;
}

/* =========================================================
   FORMS / WPFORMS / MKCG FORM
========================================================= */

.wpforms-container {
  margin-top: 24px !important;
  max-width: 100% !important;
}

.wpforms-container form {
  width: 100% !important;
}

.wpforms-container .wpforms-field {
  padding: 0 0 18px !important;
}

.wpforms-container label.wpforms-field-label,
.mkcg-auth-form-wrap .mkcg-auth-field label {
  display: block;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #071523 !important;
  margin-bottom: 8px !important;
}

.wpforms-container .wpforms-required-label {
  color: var(--mkcg-gold) !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="number"],
.wpforms-container input[type="password"],
.wpforms-container input[type="url"],
.wpforms-container input[type="date"],
.wpforms-container select,
.wpforms-container textarea,
.mkcg-auth-form-wrap input,
.mkcg-auth-form-wrap select,
.mkcg-auth-form-wrap textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-height: 54px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(15,39,68,0.16) !important;
  background: #ffffff !important;
  color: #071523 !important;
  font-size: 15px !important;
  padding: 14px 16px !important;
  box-shadow: none !important;
}

.wpforms-container textarea,
.mkcg-auth-form-wrap textarea {
  min-height: 140px !important;
  resize: vertical !important;
}

.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus,
.mkcg-auth-form-wrap input:focus,
.mkcg-auth-form-wrap select:focus,
.mkcg-auth-form-wrap textarea:focus {
  outline: none !important;
  border-color: var(--mkcg-blue) !important;
  box-shadow: 0 0 0 3px rgba(18,52,90,0.10) !important;
}

.wpforms-container .wpforms-submit-container {
  padding-top: 10px !important;
}

.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit,
.mkcg-auth-submit {
  background: var(--mkcg-blue) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 14px !important;
  min-height: 56px !important;
  padding: 0 30px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 14px 38px rgba(16,45,76,0.18) !important;
}

.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover,
.mkcg-auth-submit:hover {
  background: var(--mkcg-navy) !important;
}

/* WPForms Name sauber untereinander */
.wpforms-container .wpforms-field-name .wpforms-field-row {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wpforms-container .wpforms-field-name .wpforms-field-row-block {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
}

.wpforms-container .wpforms-field-name input {
  width: 100% !important;
  max-width: 100% !important;
}

/* MKCG eigenes Formular */
.mkcg-auth-form-wrap .mkcg-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mkcg-auth-form-wrap .mkcg-auth-field {
  margin-bottom: 18px;
}

.mkcg-auth-form-wrap .mkcg-auth-consent {
  margin: 14px 0;
  background: rgba(255,255,255,0.60);
  border: 1px solid rgba(200,164,93,0.18);
  border-radius: 18px;
  padding: 16px 18px;
}

.mkcg-auth-form-wrap .mkcg-auth-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mkcg-auth-form-wrap .mkcg-auth-consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--mkcg-blue);
  flex: 0 0 auto;
}

.mkcg-auth-form-wrap .mkcg-auth-consent span {
  font-size: 14px;
  line-height: 1.6;
  color: #3E5063;
}

.mkcg-auth-notice {
  padding: 16px 18px;
  border-radius: 16px;
  margin-bottom: 22px;
  font-weight: 700;
}

.mkcg-auth-notice.success {
  background: rgba(50, 213, 131, 0.12);
  color: #075c35;
  border: 1px solid rgba(50, 213, 131, 0.28);
}

.mkcg-auth-notice.error {
  background: rgba(220, 38, 38, 0.10);
  color: #8a1111;
  border: 1px solid rgba(220, 38, 38, 0.22);
}

/* =========================================================
   FOOTER
========================================================= */

.mkcg-footer {
  background: var(--mkcg-navy);
  color: rgba(255,255,255,0.78);
  padding: 42px 0;
  margin-top: 0;
}

.mkcg-footer-wrap {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 34px;
  align-items: start;
}

.mkcg-footer-brand h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px;
}

.mkcg-footer-brand p {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}

.mkcg-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 12px 18px;
}

.mkcg-footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.mkcg-footer-links a:hover {
  color: var(--mkcg-gold);
}

/* =========================================================
   FLOATING KI BUTTON
========================================================= */

.mkcg-floating-ai,
.mkcg-ki-button,
.mkcg-assistant {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #102D4C;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 700;
  font-weight: 850;
  font-size: 12px;
  box-shadow: 0 14px 42px rgba(16,37,63,0.24);
  text-decoration: none;
  border: 1px solid rgba(200,164,93,0.18);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
  :root {
    --mkcg-width: min(100% - 48px, 1180px);
  }

  .mkcg-header-inner {
    padding: 0 24px;
  }

  .mkcg-menu,
  .mkcg-nav ul {
    gap: 20px;
  }

  .mkcg-menu a,
  .mkcg-nav a {
    font-size: 14px;
    font-weight: 650;
  }

  .mkcg-value-grid,
  .mkcg-news-grid,
  .mkcg-area-list {
    grid-template-columns: 1fr;
  }

  .mkcg-analysis-box,
  .mkcg-contact {
    flex-direction: column;
    align-items: stretch;
  }

  .mkcg-analysis-box .mkcg-btn,
  .mkcg-contact .mkcg-btn {
    width: 100%;
    min-width: 0;
  }

  .mkcg-footer-wrap {
    grid-template-columns: 1fr;
  }

  .mkcg-footer-links {
    justify-content: flex-start;
  }
}

/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 900px) {
  :root {
    --mkcg-width: min(100% - 32px, 1180px);
  }

  .mkcg-site-header {
    position: relative;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
  }

  .mkcg-header-inner {
    min-height: 78px;
    height: auto;
    padding: 18px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .mkcg-logo,
  .mkcg-logo a {
    font-size: 30px;
  }

  .mkcg-menu-toggle {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(200,164,93,0.26);
    background: rgba(255,255,255,0.05);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    cursor: pointer;
  }

  .mkcg-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: #ffffff;
    transition: 0.22s ease;
  }

  .mkcg-menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mkcg-menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .mkcg-menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .mkcg-nav {
    display: none;
    width: 100%;
    margin: 18px 0 0;
    padding: 14px;
    background:
      radial-gradient(circle at top right, rgba(200,164,93,0.12), transparent 34%),
      linear-gradient(180deg, #071523 0%, #03070D 100%);
    border: 1px solid rgba(200,164,93,0.16);
    border-radius: 22px;
    box-shadow: 0 22px 70px rgba(3,7,13,0.28);
  }

  .mkcg-nav.is-open {
    display: block;
  }

  .mkcg-menu,
  .mkcg-nav ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .mkcg-menu li,
  .mkcg-nav li {
    width: 100%;
    display: block;
  }

  .mkcg-menu a,
  .mkcg-nav a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 12px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 650;
    border-radius: 14px;
    white-space: normal;
  }

  .mkcg-menu a:hover,
  .mkcg-nav a:hover {
    background: rgba(255,255,255,0.07);
    color: var(--mkcg-gold-soft);
  }

  .mkcg-nav .menu-item-has-children > a::after {
    content: "+";
    margin-left: auto;
    color: var(--mkcg-gold-soft);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
  }

  .mkcg-nav .menu-item-has-children.mkcg-sub-open > a::after {
    content: "−";
  }

  .mkcg-nav .sub-menu {
    display: none !important;
    position: static;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin: 0 0 8px 0;
    padding: 6px 0 6px 12px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(200,164,93,0.22);
    border-radius: 0;
    box-shadow: none;
  }

  .mkcg-nav .menu-item-has-children.mkcg-sub-open > .sub-menu {
    display: block !important;
  }

  .mkcg-nav .sub-menu a {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
  }
}

/* =========================================================
   MOBILE CONTENT
========================================================= */

@media (max-width: 900px) {
  .mkcg-hero-inner {
    padding: 56px 16px 58px;
  }

  .mkcg-hero-bg,
  .mkcg-page-hero::after {
    right: -290px;
    top: 120px;
    width: 520px;
    height: 240px;
    opacity: 0.55;
  }

  .mkcg-hero h1,
  .mkcg-page-hero h1 {
    font-size: 38px;
    line-height: 1.10;
    max-width: 100%;
  }

  .mkcg-hero p,
  .mkcg-page-hero p {
    font-size: 16px;
    line-height: 1.65;
    max-width: 100%;
  }

  .mkcg-page-hero {
    padding: 58px 0 56px;
  }

  .mkcg-actions,
  .mkcg-page-actions {
    gap: 14px;
    margin-top: 28px;
  }

  .mkcg-section {
    padding: 56px 0;
  }

  .mkcg-page-content {
    padding: 54px 0 78px;
  }

  .mkcg-value-grid {
    gap: 22px;
    padding-top: 28px;
    padding-bottom: 34px;
  }

  .mkcg-value-card {
    border-radius: 26px;
    padding: 28px;
    min-height: auto;
  }

  .mkcg-section-header {
    margin-bottom: 28px;
  }

  .mkcg-section-header h2,
  .mkcg-content-card h1,
  .mkcg-content-card h2,
  .mkcg-contact h2 {
    font-size: 34px;
  }

  .mkcg-analysis-box,
  .mkcg-content-card,
  .mkcg-contact {
    border-radius: 24px;
  }

  .mkcg-analysis-box {
    padding: 24px;
    margin-bottom: 30px;
  }

  .mkcg-content-card {
    padding: 28px 24px 30px;
    margin-bottom: 30px;
  }

  .mkcg-contact {
    padding: 30px 24px;
    margin-bottom: 54px;
  }

  .mkcg-area-item {
    min-height: auto;
    padding: 14px 16px;
  }

  .mkcg-auth-form-wrap .mkcg-auth-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .mkcg-auth-submit,
  .wpforms-container .wpforms-submit,
  .wpforms-container button[type="submit"] {
    width: 100% !important;
  }

  .mkcg-footer {
    padding: 36px 0 92px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 560px) {
  :root {
    --mkcg-width: min(100% - 24px, 1180px);
  }

  .mkcg-logo,
  .mkcg-logo a {
    font-size: 28px;
  }

  .mkcg-badge,
  .mkcg-kicker {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.35;
    padding: 10px 14px;
    letter-spacing: 0.10em;
    margin-bottom: 24px;
    white-space: normal;
  }

  .mkcg-hero-inner {
    padding: 48px 6px 52px;
  }

  .mkcg-hero h1,
  .mkcg-page-hero h1 {
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .mkcg-hero p,
  .mkcg-page-hero p {
    font-size: 15px;
    line-height: 1.62;
  }

  .mkcg-btn,
  .mkcg-actions .mkcg-btn,
  .mkcg-page-actions .mkcg-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
    white-space: normal;
    text-align: center;
  }

  .mkcg-value-card,
  .mkcg-content-card {
    padding: 22px;
  }

  .mkcg-section-header h2,
  .mkcg-content-card h1,
  .mkcg-content-card h2,
  .mkcg-contact h2 {
    font-size: 28px;
  }

  .mkcg-value-card h2,
  .mkcg-content-card h3 {
    font-size: 23px;
  }

  .mkcg-contact {
    padding: 24px 22px;
  }

  .mkcg-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }

  .mkcg-footer-links a {
    font-size: 13px;
  }

  .mkcg-floating-ai,
  .mkcg-ki-button,
  .mkcg-assistant {
    width: 58px;
    height: 58px;
    right: 18px;
    bottom: 18px;
    font-size: 13px;
  }
}

/* =========================================================
   ADMIN BAR MOBILE
========================================================= */

@media (max-width: 782px) {
  body.admin-bar .mkcg-site-header {
    margin-top: 0;
  }
}

/* =========================================================
   D11 THEME-INTEGRATED PREMIUM PAGES
   Er ist bewusst auf .mkcg-d11-* begrenzt.
========================================================= */

.mkcg-d11-premium-page .mkcg-page-hero,
.mkcg-d11-hero {
  padding: 62px 0 64px !important;
}

.mkcg-d11-premium-page .mkcg-page-hero h1,
.mkcg-d11-hero h1 {
  font-size: clamp(34px, 3.2vw, 48px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  max-width: 760px !important;
  margin-bottom: 18px !important;
}

.mkcg-d11-premium-page .mkcg-page-hero p,
.mkcg-d11-hero p {
  font-size: 16px !important;
  line-height: 1.65 !important;
  max-width: 760px !important;
  font-weight: 500 !important;
}

.mkcg-d11-content {
  padding: 64px 0 86px !important;
}

.mkcg-d11-shell {
  background: linear-gradient(180deg, var(--mkcg-ivory) 0%, var(--mkcg-ivory-soft) 100%);
  border: 1px solid var(--mkcg-border);
  border-radius: 28px;
  padding: 34px 42px 42px;
  box-shadow: var(--mkcg-shadow-card);
}

.mkcg-d11-topline,
.mkcg-d11-card-head,
.mkcg-d11-upload-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
}

.mkcg-d11-topline {
  margin-bottom: 24px;
  align-items: center;
}

.mkcg-d11-back {
  display: inline-flex;
  min-height: 42px;
  padding: 0 19px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(18,52,90,0.18);
  color: var(--mkcg-text) !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(7,21,35,0.06);
}

.mkcg-d11-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: #E7FAEF;
  color: #00783F;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.mkcg-d11-card {
  background: #fff;
  border: 1px solid rgba(18,52,90,0.16);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(7,21,35,0.04);
}

.mkcg-d11-narrow-card {
  max-width: 760px;
  margin: 0 auto;
}

.mkcg-d11-card h2,
.mkcg-d11-narrow-card h2 {
  color: var(--mkcg-text);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 840;
  margin: 0 0 8px;
}

.mkcg-d11-card h3,
.mkcg-d11-doc-card h3,
.mkcg-d11-form-card h3 {
  color: var(--mkcg-text);
  font-size: 18px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 840;
  margin: 0;
}

.mkcg-d11-card p,
.mkcg-d11-doc-card p,
.mkcg-d11-form-card p,
.mkcg-d11-small {
  color: var(--mkcg-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.mkcg-d11-notice {
  border-radius: 15px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
  border: 1px solid transparent;
}

.mkcg-d11-notice-warning {
  background: #FFF4E8;
  border-color: #F0B36A;
  color: #B94B00;
}

.mkcg-d11-notice-info {
  background: #EEF6FF;
  border-color: #AFCFF5;
  color: #0B3B6F;
}

.mkcg-d11-notice-success {
  background: #EAFBF2;
  border-color: #81DCA8;
  color: #006B3A;
}

.mkcg-d11-doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.mkcg-d11-doc-card,
.mkcg-d11-form-card,
.mkcg-d11-upload-item {
  background: #F8FBFF;
  border: 1px solid rgba(18,52,90,0.14);
  border-radius: 18px;
  padding: 18px;
}

.mkcg-d11-doc-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.mkcg-d11-doc-head span,
.mkcg-d11-tags span,
.mkcg-d11-upload-head em {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: #EAFBF2;
  color: #00783F;
  font-size: 11px;
  font-weight: 850;
  font-style: normal;
}

.mkcg-d11-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 12px;
}

.mkcg-d11-tags span:first-child {
  background: #EEF6FF;
  color: #0754A7;
}

.mkcg-d11-tags span:nth-child(2) {
  background: #FFF4E8;
  color: #B94B00;
}

.mkcg-d11-soft-button {
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(18,52,90,0.14);
  background: #EAF3FE;
  color: #08345F;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.mkcg-d11-primary {
  display: inline-flex;
  min-height: 44px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 0;
  background: #1263C7;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(18,99,199,0.16);
}

.mkcg-d11-checkline {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--mkcg-text);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

.mkcg-d11-checkline input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 3px 0 0 !important;
  padding: 0 !important;
  accent-color: #1263C7;
  flex: 0 0 auto;
}

.mkcg-d11-form-card {
  margin-top: 20px;
}

.mkcg-d11-form-grid,
.mkcg-d11-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.mkcg-d11-meta-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mkcg-d11-form-card label,
.mkcg-d11-narrow-card label {
  display: block;
  color: var(--mkcg-text);
  font-size: 13px;
  font-weight: 800;
}

.mkcg-d11-form-card input,
.mkcg-d11-form-card select,
.mkcg-d11-form-card textarea,
.mkcg-d11-narrow-card input,
.mkcg-d11-narrow-card select,
.mkcg-d11-narrow-card textarea {
  width: 100% !important;
  min-height: 44px !important;
  margin-top: 7px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(18,52,90,0.18) !important;
  background: #fff !important;
  color: var(--mkcg-text) !important;
  font-size: 14px !important;
  padding: 10px 12px !important;
  box-shadow: none !important;
}

.mkcg-d11-form-card textarea {
  min-height: 130px !important;
}

.mkcg-d11-narrow-card small,
.mkcg-d11-small {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--mkcg-muted);
}

.mkcg-d11-upload-item {
  margin-top: 18px;
}

.mkcg-d11-upload-head strong {
  display: block;
  color: var(--mkcg-text);
  font-size: 15px;
  font-weight: 850;
  margin-bottom: 4px;
}

.mkcg-d11-upload-head span {
  display: block;
  color: var(--mkcg-muted);
  font-size: 12px;
}

.mkcg-d11-meta-grid span {
  display: block;
  background: #fff;
  border: 1px solid rgba(18,52,90,0.14);
  border-radius: 12px;
  padding: 11px 12px;
}

.mkcg-d11-meta-grid small {
  display: block;
  color: var(--mkcg-muted);
  font-size: 11px;
  margin-bottom: 5px;
}

.mkcg-d11-meta-grid b {
  color: var(--mkcg-text);
  font-size: 13px;
}

@media (max-width: 900px) {
  .mkcg-d11-shell {
    padding: 24px 18px 28px;
    border-radius: 24px;
  }

  .mkcg-d11-card {
    padding: 20px;
  }

  .mkcg-d11-doc-grid,
  .mkcg-d11-form-grid,
  .mkcg-d11-meta-grid {
    grid-template-columns: 1fr;
  }

  .mkcg-d11-card-head,
  .mkcg-d11-topline,
  .mkcg-d11-upload-head {
    flex-direction: column;
  }
}
/* =========================================================
   D12 PREMIUM FEINSCHLIFF FINAL
   Fuer:
   /premium-pflichtunterlagen/
   /premium-unterschrift/
   /premium-upload/
   /premium-unterlagen/

   Ziel:
   - Premium ruhiger
   - kleinere Schrift
   - weniger fett
   - naeher an Produktseiten-Design
   - keine Funktionsaenderung
========================================================= */

/* Grundlayout ruhiger */
body.mkcg-platform-theme {
  background: linear-gradient(180deg, #fbf7ef 0%, #eef4f8 100%);
}

/* Premium Hero kompakter und edler */
.mkcg-d11-premium-page .mkcg-page-hero,
.mkcg-d11-hero,
.mkcg-page-hero {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
  min-height: auto !important;
}

/* Hero Innenbreite wie Produktseiten */
.mkcg-d11-premium-page .mkcg-page-hero .mkcg-page-inner,
.mkcg-d11-hero .mkcg-page-inner,
.mkcg-page-hero .mkcg-page-inner {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Badge kleiner und hochwertiger */
.mkcg-d11-premium-page .mkcg-badge,
.mkcg-page-hero .mkcg-badge {
  min-height: 34px !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  font-size: 11px !important;
  letter-spacing: 0.16em !important;
  font-weight: 800 !important;
  color: #ffd770 !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(214, 166, 70, 0.45) !important;
  box-shadow: none !important;
  margin-bottom: 28px !important;
}

/* Hero Titel kleiner, weniger brachial */
.mkcg-d11-premium-page .mkcg-page-hero h1,
.mkcg-d11-hero h1,
.mkcg-page-hero h1 {
  font-size: clamp(34px, 4.1vw, 58px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
  font-weight: 780 !important;
  max-width: 850px !important;
  margin: 0 0 18px !important;
  color: #ffffff !important;
  text-shadow: 0 2px 0 rgba(196, 88, 54, 0.32) !important;
}

/* Hero Text kleiner, eleganter */
.mkcg-d11-premium-page .mkcg-page-hero p,
.mkcg-d11-hero p,
.mkcg-page-hero p {
  font-size: clamp(15px, 1.25vw, 18px) !important;
  line-height: 1.68 !important;
  font-weight: 500 !important;
  max-width: 760px !important;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0 0 30px !important;
}

/* Hero Button wie Produktseite */
.mkcg-d11-premium-page .mkcg-page-hero .mkcg-btn,
.mkcg-d11-hero .mkcg-btn,
.mkcg-page-hero .mkcg-btn {
  min-height: 50px !important;
  padding: 0 30px !important;
  border-radius: 14px !important;
  font-size: 14px !important;
  font-weight: 780 !important;
  letter-spacing: -0.01em !important;
  background: #fffaf1 !important;
  color: #061626 !important;
  border: 1px solid rgba(214, 166, 70, 0.24) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12) !important;
}

/* Inhalt mehr Produktseiten-Look */
.mkcg-d11-content {
  padding-top: 74px !important;
  padding-bottom: 96px !important;
}

/* Großer Außenrahmen ruhiger */
.mkcg-d11-shell {
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: rgba(255, 251, 244, 0.78) !important;
  border: 1px solid rgba(214, 166, 70, 0.42) !important;
  border-radius: 30px !important;
  padding: 36px 42px 46px !important;
  box-shadow: 0 26px 80px rgba(8, 23, 38, 0.08) !important;
}

/* Zurueck-Button schoener */
.mkcg-d11-back {
  min-height: 42px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(18, 52, 90, 0.16) !important;
  color: #072b4f !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  box-shadow: 0 12px 30px rgba(7, 21, 35, 0.06) !important;
  text-decoration: none !important;
}

/* Status Badge kleiner */
.mkcg-d11-status {
  min-height: 32px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: #e7faef !important;
  color: #00783f !important;
  font-size: 12px !important;
  font-weight: 780 !important;
}

/* Weiße Innenkarten edler, weniger hart */
.mkcg-d11-card,
.mkcg-d11-narrow-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(18, 52, 90, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 46px rgba(7, 21, 35, 0.055) !important;
  padding: 30px !important;
}

/* Hauptueberschriften kleiner und weniger fett */
.mkcg-d11-card h2,
.mkcg-d11-narrow-card h2 {
  font-size: clamp(24px, 2.1vw, 34px) !important;
  line-height: 1.13 !important;
  letter-spacing: -0.04em !important;
  font-weight: 760 !important;
  color: #052847 !important;
  margin-bottom: 10px !important;
}

/* Unterueberschriften kleiner */
.mkcg-d11-card h3,
.mkcg-d11-doc-card h3,
.mkcg-d11-form-card h3 {
  font-size: clamp(17px, 1.35vw, 22px) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.03em !important;
  font-weight: 740 !important;
  color: #052847 !important;
}

/* Paragraphen feiner */
.mkcg-d11-card p,
.mkcg-d11-doc-card p,
.mkcg-d11-form-card p,
.mkcg-d11-small {
  font-size: 14px !important;
  line-height: 1.72 !important;
  font-weight: 440 !important;
  color: #415875 !important;
}

/* Hinweisboxen weniger laut */
.mkcg-d11-notice {
  border-radius: 16px !important;
  padding: 15px 18px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}

.mkcg-d11-notice-warning {
  background: #fff7ed !important;
  border-color: rgba(234, 151, 74, 0.55) !important;
  color: #b44b00 !important;
}

.mkcg-d11-notice-info {
  background: #eef7ff !important;
  border-color: rgba(124, 179, 235, 0.55) !important;
  color: #123f68 !important;
}

.mkcg-d11-notice-success {
  background: #eafbf2 !important;
  border-color: rgba(71, 204, 126, 0.45) !important;
  color: #006b3a !important;
}

/* Dokumentkarten kompakter */
.mkcg-d11-doc-grid {
  gap: 18px !important;
  margin-top: 22px !important;
}

.mkcg-d11-doc-card,
.mkcg-d11-form-card,
.mkcg-d11-upload-item {
  background: #f8fbff !important;
  border: 1px solid rgba(18, 52, 90, 0.13) !important;
  border-radius: 18px !important;
  padding: 20px !important;
  box-shadow: none !important;
}

/* Dokumentkarten-Text kleiner */
.mkcg-d11-doc-card p {
  font-size: 13.5px !important;
  line-height: 1.68 !important;
}

/* Mini-Badges eleganter */
.mkcg-d11-doc-head span,
.mkcg-d11-tags span,
.mkcg-d11-upload-head em {
  min-height: 25px !important;
  padding: 0 10px !important;
  font-size: 11px !important;
  font-weight: 760 !important;
  border-radius: 999px !important;
}

/* Version/Platzhalter Badges kleiner */
.mkcg-d11-tags {
  gap: 8px !important;
  margin: 16px 0 12px !important;
}

.mkcg-d11-tags span:first-child {
  background: #eef6ff !important;
  color: #0754a7 !important;
}

.mkcg-d11-tags span:nth-child(2) {
  background: #fff4e8 !important;
  color: #b94b00 !important;
}

/* Buttons im Inhalt weniger grell */
.mkcg-d11-soft-button {
  min-height: 42px !important;
  border-radius: 12px !important;
  background: #eaf3fe !important;
  border: 1px solid rgba(18, 52, 90, 0.13) !important;
  color: #08345f !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  box-shadow: none !important;
}

.mkcg-d11-primary {
  min-height: 44px !important;
  padding: 0 24px !important;
  border-radius: 12px !important;
  background: #1263c7 !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 780 !important;
  box-shadow: 0 12px 26px rgba(18, 99, 199, 0.16) !important;
}

/* Checkbox-Zeilen nicht so dominant */
.mkcg-d11-checkline {
  font-size: 13px !important;
  line-height: 1.58 !important;
  font-weight: 650 !important;
  color: #082747 !important;
}

/* Upload-Formular schmaler wie Premium-Karte */
.mkcg-d11-narrow-card {
  max-width: 740px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Formularlabels kleiner */
.mkcg-d11-form-card label,
.mkcg-d11-narrow-card label {
  font-size: 13px !important;
  font-weight: 720 !important;
  color: #173b5d !important;
}

/* Inputs feiner */
.mkcg-d11-form-card input,
.mkcg-d11-form-card select,
.mkcg-d11-form-card textarea,
.mkcg-d11-narrow-card input,
.mkcg-d11-narrow-card select,
.mkcg-d11-narrow-card textarea {
  min-height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(18, 52, 90, 0.2) !important;
  background: #ffffff !important;
  color: #082747 !important;
  font-size: 14px !important;
  font-weight: 450 !important;
  padding: 10px 12px !important;
}

/* Unterlagen-Statusfelder */
.mkcg-d11-meta-grid span {
  background: #ffffff !important;
  border: 1px solid rgba(18, 52, 90, 0.13) !important;
  border-radius: 13px !important;
  padding: 12px 13px !important;
}

.mkcg-d11-meta-grid small {
  font-size: 11px !important;
  color: #6a7f99 !important;
}

.mkcg-d11-meta-grid b {
  font-size: 13px !important;
  color: #082747 !important;
  font-weight: 760 !important;
}

/* Footer bleibt edel, falls Premium-Seiten lang sind */
.mkcg-footer {
  background: #092f56 !important;
}

/* Desktop: Content nicht zu breit aufblasen */
@media (min-width: 1200px) {
  .mkcg-d11-shell {
    width: min(100% - 140px, 1180px) !important;
  }

  .mkcg-d11-card {
    width: 100% !important;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .mkcg-d11-premium-page .mkcg-page-hero,
  .mkcg-d11-hero,
  .mkcg-page-hero {
    padding-top: 46px !important;
    padding-bottom: 48px !important;
  }

  .mkcg-d11-shell {
    width: min(100% - 28px, 1180px) !important;
    padding: 24px 18px 28px !important;
    border-radius: 24px !important;
  }

  .mkcg-d11-card,
  .mkcg-d11-narrow-card {
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .mkcg-d11-doc-grid,
  .mkcg-d11-form-grid,
  .mkcg-d11-meta-grid {
    grid-template-columns: 1fr !important;
  }

  .mkcg-d11-topline,
  .mkcg-d11-card-head,
  .mkcg-d11-upload-head {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

/* Handy */
@media (max-width: 560px) {
  .mkcg-d11-premium-page .mkcg-page-hero h1,
  .mkcg-d11-hero h1,
  .mkcg-page-hero h1 {
    font-size: 34px !important;
  }

  .mkcg-d11-premium-page .mkcg-page-hero p,
  .mkcg-d11-hero p,
  .mkcg-page-hero p {
    font-size: 15px !important;
  }

  .mkcg-d11-shell {
    width: min(100% - 20px, 1180px) !important;
    padding: 20px 14px 24px !important;
  }

  .mkcg-d11-card h2,
  .mkcg-d11-narrow-card h2 {
    font-size: 24px !important;
  }

  .mkcg-d11-card h3,
  .mkcg-d11-doc-card h3,
  .mkcg-d11-form-card h3 {
    font-size: 18px !important;
  }
}