/* V11.10: ERP, separate 3D configurators and proportional homepage spacing. */
.corporate-home .hero { isolation: isolate; }
.corporate-home .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 100%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 43%, #dce1e820, transparent 66%), radial-gradient(ellipse at 65% 60%, #aabedb38, transparent 63%);
  filter: blur(26px);
}
html.corporate-home[data-theme="dark"] .hero::before {
  background: radial-gradient(ellipse at 38% 43%, #76243b65, transparent 66%), radial-gradient(ellipse at 65% 60%, #35476360, transparent 63%);
}
.software-section.software-showcase {
  --ivory: #ffffff;
  --ink: #151a22;
  --secondary: #596374;
  --line: #dce1e8;
  --surface: #f2f4f7;
  --card: #f7f8fa;
  --ink-rgb: 21, 26, 34;
  color-scheme: light;
  color: var(--ink);
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
html[data-theme="dark"] .software-section.software-showcase {
  --ivory: #080808;
  --ink: #f4f4f5;
  --secondary: #bfc3cc;
  --line: #292d35;
  --surface: #111113;
  --card: #111113;
  --ink-rgb: 244, 244, 245;
  color-scheme: dark;
  border: 0;
}
.corporate-home #software > .section-top,
.corporate-home #marketing > .section-top {
  padding-bottom: 15px;
  border-bottom: 0;
}
.erp-showcase {
  --erp-preview-height: min(620px, max(280px, calc(100svh - var(--corporate-header-height, 104px) - 132px)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-width: 0;
  position: relative;
  isolation: isolate;
  margin-top: 26px;
}
.erp-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: min(640px, 82vw);
  height: min(640px, 90%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at 38% 43%, #76243b20, transparent 66%), radial-gradient(ellipse at 65% 60%, #aabedb38, transparent 63%);
  filter: blur(26px);
}
html[data-theme="dark"] .erp-showcase::before {
  background: radial-gradient(ellipse at 38% 43%, #76243b65, transparent 66%), radial-gradient(ellipse at 65% 60%, #35476360, transparent 63%);
}
.erp-showcase-copy, .erp-plan-panel {
  min-width: 0; padding: 26px; border: 0; border-radius: 0; background: transparent;
  position: relative; isolation: isolate;
  text-align: center;
  box-shadow: none;
  text-shadow: 0 8px 18px #151a2215;
  animation: erp-copy-float 9s ease-in-out infinite;
}
.erp-showcase-copy::after, .erp-plan-panel::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 14%; right: 14%; bottom: -12px; height: 30px; border-radius: 50%;
  background: radial-gradient(ellipse, #151a2220, #aabedb18 38%, transparent 72%);
  filter: blur(15px); opacity: .5;
}
html[data-theme="dark"] .erp-showcase-copy, html[data-theme="dark"] .erp-plan-panel {
  box-shadow: none;
  text-shadow: 0 10px 20px #000000b3;
}
html[data-theme="dark"] .erp-showcase-copy::after, html[data-theme="dark"] .erp-plan-panel::after {
  background: radial-gradient(ellipse, #76243b65, #35476355 38%, transparent 72%);
  opacity: .5;
}
@keyframes erp-copy-float { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(-5px); } }
.erp-kicker { margin: 0 0 13px; font-size: 10px; line-height: 1.4; letter-spacing: .13em; color: var(--secondary); }
.erp-showcase h3 { font-size: clamp(29px, 3vw, 42px); line-height: 1.13; letter-spacing: -.025em; margin: 0 0 17px; max-width: 350px; text-wrap: balance; }
.erp-showcase-copy h3, .erp-plan-panel h4 { text-shadow: 0 12px 22px #151a2226; }
html[data-theme="dark"] .erp-showcase-copy h3, html[data-theme="dark"] .erp-plan-panel h4 { text-shadow: 0 12px 24px #000000d9, 0 0 20px #c7b4be12; }
.erp-showcase-copy > *, .erp-plan-panel > * { margin-inline: auto; }
.erp-showcase-description { font-size: 14px; line-height: 1.65; color: var(--secondary); margin: 0 0 22px; max-width: 380px; }
.erp-feature-list { display: grid; gap: 15px; list-style: none; padding: 0; margin: 0; }
.erp-feature-list li { display: flex; gap: 12px; align-items: center; justify-content: center; }
.erp-feature-mark { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; font-size: 9px; color: #76243b; background: #76243b08; }
html[data-theme="dark"] .erp-feature-mark { color: #d3a3b2; background: #76243b19; }
.erp-feature-list strong { display: block; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--ink); }
.erp-showcase-copy .erp-feature-mark { display: none; }
.erp-feature-list li div > span { display: block; font-size: 11px; line-height: 1.6; color: var(--secondary); margin-top: 2px; }
.erp-preview-column { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.erp-phone-viewport { position: relative; width: calc(var(--erp-preview-height) * 350 / 736); height: var(--erp-preview-height); flex: none; animation: erp-phone-float 7s ease-in-out infinite; filter: drop-shadow(0 24px 24px #151a2226); }
.erp-phone-viewport::after { content: ""; position: absolute; z-index: -1; pointer-events: none; left: 8%; right: 8%; bottom: -13px; height: 24px; border-radius: 50%; background: radial-gradient(ellipse, #151a2230, transparent 70%); filter: blur(10px); }
html[data-theme="dark"] .erp-phone-viewport { filter: drop-shadow(0 24px 26px #000000b3); }
html[data-theme="dark"] .erp-phone-viewport::after { background: radial-gradient(ellipse, #000000b3, transparent 70%); }
@keyframes erp-phone-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) {
  .erp-phone-viewport { animation: none; }
  .erp-showcase-copy, .erp-plan-panel { animation: none; transform: translateY(-2px); }
}
.erp-phone-viewport iframe { display: block; position: absolute; top: 0; left: 0; width: 350px; height: 736px; max-width: none; border: 0; border-radius: 37px; clip-path: inset(0 0 .817px 0 round 37px); background: transparent; transform-origin: top left; transform: scale(var(--erp-preview-scale, 1)); }
.erp-phone-viewport:focus-within { outline: 2px solid #d3a3b2; outline-offset: 6px; border-radius: 38px; }
.erp-preview-caption { color: var(--secondary); font-size: 10px; line-height: 1.5; margin: 0; text-align: center; }
.erp-plan-panel { max-width: 380px; justify-self: end; width: 100%; }
.erp-plan-panel h4 { font-family: TriciosGothic, Arial, sans-serif; font-weight: 400; font-size: clamp(25px, 2.5vw, 33px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 16px; text-wrap: balance; }
.erp-plan-panel > p:not(.erp-kicker) { font-size: 13px; line-height: 1.7; color: var(--secondary); margin: 0 0 20px; }
.erp-plan-panel .erp-plans-link { font-size: 14px; min-height: 44px; text-decoration: none; justify-content: center; gap: 12px; padding: 8px 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #8f1438; text-shadow: inherit; }
.erp-plan-panel .erp-plans-link:hover { background: transparent; box-shadow: none; text-decoration: underline; text-underline-offset: 5px; }
html[data-theme="dark"] .erp-plan-panel .erp-plans-link { color: #d7a7b7; }
.erp-preview-instructions { font-size: 12px; line-height: 1.6; color: var(--secondary); border-top: 0; padding-top: 10px; margin: 18px 0 0; }
.erp-preview-instructions strong { font-size: 12px; line-height: 1.5; font-weight: 400; }
.erp-preview-instructions span { font-size: 11px; line-height: 1.6; color: var(--secondary); }
.erp-device-note { color: var(--secondary); font-size: 10px; line-height: 1.6; margin: 16px 0 0; }
.configurator-suite {
  --ivory: #151a22;
  --ink: #f4f4f5;
  --secondary: #c4c7cd;
  --line: #ffffff26;
  --surface: #1c2128;
  --card: #1c2128;
  --white: #ffffff;
  --ink-rgb: 244, 244, 245;
  color-scheme: dark;
  color: var(--ink);
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  background: var(--ivory);
}
html[data-theme="dark"] .configurator-suite,
html[data-theme="dark"] .marketing-integrated .marketing-sales-panel {
  --ivory: #111113;
  --panel: #111113;
  --surface: #111113;
  --card: #111113;
  --line: #292d35;
  --secondary: #bfc3cc;
}
.configurator-suite-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 24px; }
.configurator-suite-heading h3 { font-size: clamp(27px, 3vw, 37px); line-height: 1.16; letter-spacing: -.025em; margin: 0; }
.configurator-suite-heading > p { color: var(--secondary); font-size: 14px; line-height: 1.65; margin: 0; }
.software-showcase .configurator-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.software-showcase .product-card h4 { font-family: TriciosGothic, Arial, sans-serif; font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 13px; }
.software-showcase .product-art { height: 220px; }
.software-showcase .product-card > p { min-height: 0; }
.software-showcase .product-card .cutlist-benefit { display: grid; gap: 7px; padding: 15px 0; border-top: 1px solid var(--line); margin-bottom: 14px; }
.cutlist-benefit strong { font-size: 14px; line-height: 1.5; color: #f0d8df; font-weight: 400; }
.cutlist-benefit span { font-size: 12px; line-height: 1.6; color: var(--secondary); }
.software-showcase a:focus-visible, .software-showcase summary:focus-visible { outline: 2px solid #d3a3b2; outline-offset: 4px; }
.corporate-home .marketing-integrated { padding: 24px 0 48px; }
@media (min-width: 769px) {
  .corporate-home .hero { min-height: 0; padding: 32px 0 40px; }
  .corporate-home .world-scene { width: min(100%, 480px); }
  .corporate-home .group-frame { min-height: 0; justify-content: flex-start; padding: 24px 0 0; margin-bottom: 24px; }
}
@media (max-width: 768px) {
  .corporate-home .hero { min-height: 0; padding: 28px 0 24px; }
  .corporate-home .group-frame .division-grid { margin-bottom: 24px; }
  .corporate-home .marketing-integrated { padding: 24px 0 32px; }
  .corporate-home .contact-section { margin-bottom: 32px; }
}
@media (min-width: 901px) {
  /* Both text blocks share the middle row: equal natural heights without stretching
     them to the phone. Flexible tracks above/below keep that row centred. */
  .erp-showcase { grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr); }
  .erp-showcase-copy, .erp-plan-panel { display: flex; flex-direction: column; grid-row: 2; align-self: stretch; width: 100%; max-width: 330px; min-height: 290px; padding: 20px; }
  .erp-showcase-copy { grid-column: 1; justify-self: end; }
  .erp-plan-panel { grid-column: 3; justify-self: start; }
  .erp-preview-column { grid-column: 2; grid-row: 1 / 4; }
  .erp-showcase-copy h3, .erp-plan-panel h4 { font-family: TriciosGothic, Arial, sans-serif; font-weight: 400; font-size: clamp(26px, 2vw, 29px); line-height: 1.13; letter-spacing: -.025em; margin: 0 0 10px; }
  .erp-kicker { margin-bottom: 8px; }
  .erp-showcase-description, .erp-plan-panel > p:not(.erp-kicker) { font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
  .erp-feature-list { gap: 8px; align-content: start; }
  .erp-feature-mark { width: 24px; height: 24px; flex-basis: 24px; }
  .erp-plan-details { display: grid; gap: 14px; }
  .erp-preview-instructions { margin-top: 0; }
}
@media (min-width: 901px) and (max-height: 740px) {
  .erp-showcase-copy h3, .erp-plan-panel h4 { font-size: 28px; margin-bottom: 12px; }
  .erp-showcase-description { font-size: 12px; margin-bottom: 16px; }
  .erp-feature-list { gap: 9px; }
  .erp-feature-list strong { font-size: 12px; }
  .erp-plan-panel > p:not(.erp-kicker) { font-size: 12px; margin-bottom: 14px; }
  .erp-preview-instructions { padding-top: 12px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .software-section.software-showcase { padding: 22px 0; }
  .erp-showcase { gap: clamp(22px, 2.5vw, 28px); }
  .erp-showcase-copy h3, .erp-plan-panel h4 { font-size: 26px; }
  .erp-showcase-description { font-size: 12px; }
  .erp-feature-list { gap: 10px; }
  .erp-feature-list li { gap: 9px; }
  .erp-showcase-copy, .erp-plan-panel { padding: 22px; }
}
@media (max-width: 900px) {
  .software-section.software-showcase { padding: 24px 0; }
  .erp-showcase { --erp-preview-height: min(630px, calc(100svh - 112px), calc((100vw - 92px) * 736 / 350)); grid-template-columns: 1fr; gap: 28px; }
  .erp-showcase-copy { max-width: none; }
  .erp-showcase h3 { max-width: 540px; font-size: 34px; }
  .erp-showcase-description { max-width: 540px; margin-bottom: 19px; }
  .erp-feature-list { grid-template-columns: 1fr; gap: 12px; }
  .erp-preview-column { justify-self: center; }
  .erp-showcase::before { top: auto; bottom: 260px; transform: translateX(-50%); height: 650px; max-height: 50%; }
  .erp-plan-panel { width: 100%; max-width: none; }
  .erp-plan-panel h4 { font-size: 29px; }
  .erp-plan-panel .erp-plans-link { max-width: 360px; margin-inline: auto; }
  .configurator-suite { margin-top: 32px; padding: 20px; }
  .configurator-suite-heading { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 600px) {
  .erp-showcase-copy, .erp-plan-panel { padding: 22px; border-radius: 0; }
  .erp-feature-list { grid-template-columns: 1fr; gap: 13px; }
  .erp-feature-list li div > span { font-size: 12px; }
  .erp-feature-list strong { font-size: 14px; }
  .software-showcase .configurator-grid { grid-template-columns: 1fr; gap: 18px; }
  .configurator-suite { padding: 16px; border-radius: 17px; }
  .software-showcase .product-art { height: 190px; }
  .software-showcase .product-card > :not(.product-art) { margin-left: 17px; margin-right: 17px; }
  .software-showcase .product-card h4 { font-size: 25px; }
}
.erp-showcase-copy h3, .erp-showcase-copy .erp-showcase-description,
.erp-plan-panel h4, .erp-plan-panel > p:not(.erp-kicker), .erp-plan-panel > .erp-kicker,
.erp-plan-panel .erp-plan-details { margin-inline: auto; }
@media print {
  .corporate-home .hero::before { display: none; }
  .erp-showcase-copy, .erp-plan-panel { animation: none; transform: none; text-shadow: none; }
  .erp-showcase-copy::after, .erp-plan-panel::after { display: none; }
  .erp-showcase-copy h3, .erp-plan-panel h4 { text-shadow: none; }
  .erp-showcase { grid-template-columns: 1fr 1fr; }
  .erp-preview-column { display: none; }
  .erp-showcase, .erp-plan-panel, .configurator-suite { color: #151a22; background: white; border-color: #bbb; }
  .erp-kicker, .erp-showcase-description, .erp-feature-list strong, .erp-feature-list li div > span, .erp-plan-panel > p, .erp-preview-instructions span, .configurator-suite-heading > p, .cutlist-benefit strong, .cutlist-benefit span { color: #151a22; }
}
