
/* Corsten V5 shared consistency layer
   Last line of defense for identical typography, spacing and reusable blocks. */
:root{
  --c-text:#06142d; --c-muted:#50627f; --c-blue:#2563eb; --c-border:#dbe5f2; --c-soft:#f6f9fd;
  --c-shadow:0 18px 46px rgba(15,23,42,.07);
  --c-font:Arial, Helvetica, sans-serif;
}
html,body{font-family:var(--c-font)!important;color:var(--c-text)!important;font-size:16px;line-height:1.68;}
.container{width:min(1180px,calc(100% - 44px));margin-left:auto;margin-right:auto;}
.site-header{background:#111c31;color:#fff;}
.site-header .nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.brand{display:flex;flex-direction:column;color:#fff;text-decoration:none;line-height:1.1;}
.brand-main{font-weight:900;letter-spacing:.01em;}
.brand-sub{font-size:.82rem;opacity:.9;font-weight:400;font-style:normal;color:#bfdbfe;font-family:Arial,Helvetica,sans-serif;}
.nav-links{display:flex;align-items:center;gap:1rem;font-size:.95rem;}
.nav-links a{color:#fff;text-decoration:none;font-weight:400;}
.nav-cta{background:var(--c-blue);padding:.68rem 1.05rem;border-radius:999px;font-weight:900;}
.lang a{border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.18rem .45rem;font-size:.82rem;}
.section{padding:82px 0;}
.section.alt{background:var(--c-soft);}
.eyebrow{letter-spacing:.24em;font-size:.75rem;font-weight:900;text-transform:uppercase;color:#7dd3fc!important;}
.article-content h2,.section h2,.contact-full h2,h2.section-title{
  font-size:clamp(2.45rem,4vw,3.75rem)!important;line-height:1.08!important;font-weight:900!important;letter-spacing:-.035em!important;
  margin:0 0 2rem!important;color:var(--c-text)!important;
}
.article-content h3,.reference-card h3,.faq-item h3,.card strong,.download-mini-item strong{font-weight:900!important;color:var(--c-text)!important;}
.article-content section{padding-top:2.7rem;margin-top:2.7rem;border-top:1px solid var(--c-border);scroll-margin-top:108px;}
.article-content section:first-child{padding-top:0;margin-top:0;border-top:0;}
.article-content p,.article-content li{font-size:1.04rem;color:#243954;line-height:1.75;}
.article-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:46px;align-items:start;}
.article-aside{border:1px solid var(--c-border);border-radius:26px;background:#fff;box-shadow:var(--c-shadow);padding:1.35rem;position:sticky;top:96px;}
.article-aside h3{font-size:1.22rem;line-height:1.22;margin:0 0 1rem;font-weight:900;}
.article-aside a{display:block;margin:.45rem 0;color:var(--c-blue);line-height:1.38;text-decoration:none;}
.article-aside hr{border:0;border-top:1px solid rgba(15,23,42,.2);margin:1rem 0;}
.card,.fact-card,.reference-card,.faq-item,.download-mini-item,.profile-download-card,.contact-card,.diagram-card,.tuning-card{
  border:1px solid var(--c-border)!important;border-radius:24px!important;background:#fff!important;box-shadow:var(--c-shadow)!important;
}
.specialization-grid,.reference-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.35rem!important;}
.service-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.35rem!important;}
@media(min-width:761px) and (max-width:1100px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
.service-grid .card,.specialization-grid .card{padding:1.65rem 1.8rem;min-height:150px;display:block;}
.service-grid .card strong,.specialization-grid .card strong{display:block;font-size:1.12rem;color:var(--c-blue)!important;margin-bottom:.9rem;}
.service-grid .card p,.specialization-grid .card p{margin:0;color:var(--c-muted);}
.reference-card{padding:1.7rem!important;min-height:unset!important;margin:0!important;}
.reference-card h3{font-size:1.28rem!important;line-height:1.25!important;margin:0 0 .8rem!important;}
.reference-card .meta,.reference-card strong{display:block;color:var(--c-blue)!important;font-weight:900;margin:.2rem 0 .9rem;}
.reference-card p{margin:0;color:#243954;}
.faq-list{display:grid;gap:1.2rem;margin-top:1.6rem;}
.faq-item{padding:1.55rem 1.7rem!important;margin:0!important;}
.faq-item h3{font-size:1.18rem!important;line-height:1.3;margin:0 0 .75rem!important;}
.faq-item p{margin:0;color:#243954;}
.diagram-card{padding:1.25rem!important;margin:2rem 0;}
.diagram-card img{width:100%;height:auto;display:block;}
.contact-full{padding:82px 0!important;margin-top:0!important;}
.contact-card.compact-contact{display:grid;grid-template-columns:minmax(0,1.06fr) minmax(420px,.94fr);gap:2.2rem;align-items:center;padding:2rem 2.2rem!important;}
.compact-contact .contact-copy h3{font-size:1.28rem;line-height:1.28;margin:0 0 1rem;color:var(--c-text);}
.compact-contact .muted{color:var(--c-muted);}
.compact-contact .contact-actions{display:grid;gap:.75rem;justify-content:start;}
.compact-contact .contact-row{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center;}
.compact-contact .contact-row a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd8ea;border-radius:999px;padding:.75rem 1.1rem;text-decoration:none;color:var(--c-text);font-weight:900;background:#fff;white-space:nowrap;}
.compact-contact .contact-row a.primary{background:var(--c-blue);border-color:var(--c-blue);color:#fff;}
.compact-contact .contact-row a.download{color:var(--c-blue);border-color:var(--c-blue);}
.compact-contact .social-row a{width:52px;height:52px;padding:0;}
.linkedin-icon::before{content:'in';font-weight:900;}
.xing-icon::before{content:'X';font-weight:900;}
.download-mini-list{display:grid;gap:.85rem;margin-top:1.1rem;}
.download-mini-item{padding:1rem 1.05rem!important;display:block;}
.download-mini-item strong{display:block;font-size:1rem;line-height:1.25;margin-bottom:.4rem;}
.download-mini-item p,.download-mini-item span{display:block;margin:.15rem 0;color:var(--c-muted);line-height:1.45;word-break:break-word;}
.download-mini-item .download-actions{margin-top:.85rem!important;display:block;}
.download-mini-item .download-actions a,.download-mini-item>a{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;border-radius:999px;background:var(--c-blue);color:#fff!important;font-weight:900;padding:.65rem 1rem;text-decoration:none;}
.all-downloads-link,.download-all-link a{display:inline-flex;margin-top:.95rem;color:var(--c-blue);font-weight:800;}
.profile-download-card{padding:1.55rem!important;}
/* --- Data tables (Git/Gitflow service pages) --- */
.table-wrap{width:100%;overflow-x:auto;margin:1.8rem 0 2.2rem;border:1px solid var(--c-border);border-radius:12px;box-shadow:var(--c-shadow);background:#fff;-webkit-overflow-scrolling:touch;}
.data-table{width:100%;border-collapse:collapse;font-size:.93rem;line-height:1.5;color:var(--c-text);background:#fff;}
.data-table thead th{background:#111c31;color:#fff;font-weight:800;text-align:left;padding:.85rem 1.1rem;border:none;white-space:nowrap;vertical-align:middle;letter-spacing:.005em;}
.data-table tbody td{padding:.78rem 1.1rem;border-top:1px solid var(--c-border);vertical-align:top;text-align:left;}
.data-table tbody tr:nth-child(even){background:var(--c-soft);}
.data-table tbody tr:hover{background:#eef4fd;}
.data-table tbody td code{background:#eef2f8;color:#0f3a8a;font-family:Consolas,'Courier New',monospace;font-size:.86rem;padding:.12rem .42rem;border-radius:5px;white-space:nowrap;}
.data-table td:first-child,.data-table th:first-child{padding-left:1.25rem;}
.data-table td:last-child,.data-table th:last-child{padding-right:1.25rem;}
.site-footer{font-size:.95rem;background:#111c31;color:#fff;}
.site-footer a{color:#fff;text-decoration:none;font-weight:400;}
.site-footer .footer-grid{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;padding:34px 0;}
.site-footer .footer-grid>div:first-child{flex:0 1 auto;min-width:0;display:flex;flex-direction:column;gap:.55rem;}
.site-footer .footer-grid>div:first-child strong{display:flex;align-items:center;min-height:2.1rem;margin:0;line-height:1.3;}
.site-footer .footer-grid>div:first-child p{display:flex;align-items:center;min-height:2.1rem;margin:0;line-height:1.3;white-space:nowrap;}
.footer-links-stacked{display:flex!important;flex-direction:column;align-items:flex-end;gap:.55rem;flex-wrap:nowrap!important;}
.footer-links-stacked .footer-row{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;min-height:2.1rem;gap:1rem;margin:0;line-height:1.3;}
.footer-links-stacked .footer-top-link{margin-left:0!important;}
@media(max-width:1000px){.article-grid,.contact-card.compact-contact{grid-template-columns:1fr!important}.article-aside{position:static}.hero-meta{flex-wrap:wrap}.nav{flex-wrap:wrap}.nav-links{flex-wrap:wrap}}
@media(max-width:760px){.container{width:min(100% - 28px,1180px)}.article-content h2,.section h2,.contact-full h2,h2.section-title{font-size:2.2rem!important}.service-grid,.specialization-grid,.reference-grid{grid-template-columns:1fr!important}.section{padding:58px 0}.contact-card.compact-contact{padding:1.4rem!important}.site-footer .footer-grid{flex-direction:column;align-items:flex-start}.footer-links-stacked{align-items:flex-start}.footer-links-stacked .footer-row{justify-content:flex-start}.site-footer .footer-grid>div:first-child p{white-space:normal}}


/* === GLOBAL FINAL CONSISTENCY PASS ===
   One visual system for home + all service pages. Keep this file loaded last. */
:root{
  --c-font: Arial, Helvetica, sans-serif;
  --c-h1: clamp(3.05rem, 5.1vw, 4.25rem);
  --c-h2: clamp(2.25rem, 3.55vw, 3.05rem);
  --c-h3: 1.28rem;
}
html,body{font-family:var(--c-font)!important;font-size:16px!important;line-height:1.68!important;}
body *{font-family:var(--c-font)!important;}
.hero h1,
h1.hero-title,
main .hero h1,
.hero .container h1{
  font-size:var(--c-h1)!important;
  line-height:1.06!important;
  letter-spacing:-.035em!important;
  font-weight:900!important;
  max-width:980px;
}
.article-content h2,
.section h2,
.contact-full h2,
h2.section-title,
main h2{
  font-size:var(--c-h2)!important;
  line-height:1.1!important;
  letter-spacing:-.026em!important;
  font-weight:900!important;
  margin:0 0 1.65rem!important;
}
.article-content h3,.reference-card h3,.faq-item h3,.card strong{
  font-size:var(--c-h3)!important;
  line-height:1.28!important;
  letter-spacing:-.01em!important;
}
/* Clear breathing room ABOVE in-article subheadings (h3) so they never stick
   to the preceding text/quote/code block. */
.article-content h3{margin-top:2.4rem!important;margin-bottom:1rem!important;}
.article-content > h3:first-child,
.article-content section > h3:first-child{margin-top:0!important;}
.article-content p + h3,
.article-content .code-note + h3,
.article-content blockquote + h3,
.article-content pre + h3,
.article-content .code-block + h3,
.article-content ul + h3,
.article-content ol + h3,
.article-content table + h3{margin-top:2.8rem!important;}
.hero{padding:86px 0 78px!important;}
.hero-grid{gap:46px!important;align-items:center!important;}
.hero p{font-size:1.05rem!important;line-height:1.65!important;}
.hero-meta{display:flex!important;gap:.7rem!important;flex-wrap:wrap!important;align-items:stretch!important;margin-top:2rem!important;}
.hero-meta span{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;height:3.1rem!important;min-height:3.1rem!important;box-sizing:border-box!important;font-size:.84rem!important;line-height:1.25!important;padding:.3rem 1.1rem!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.25)!important;white-space:normal!important;}
.hero-actions{margin-bottom:0!important;}
.article-content section{padding-top:2.45rem!important;margin-top:2.45rem!important;}
.reference-grid,.faq-list,.service-grid,.specialization-grid{gap:1.25rem!important;}
.reference-card,.faq-item,.card{padding:1.45rem 1.55rem!important;}
.reference-card h3{margin-bottom:.75rem!important;}
.reference-card p,.faq-item p,.card p{font-size:1rem!important;line-height:1.65!important;}
.tag-list,.technology-tags,.tech-tags{display:flex!important;flex-wrap:wrap!important;gap:.7rem!important;margin:1.15rem 0 1.6rem!important;}
.tag-list span,.technology-tags span,.tech-tags span{display:inline-flex!important;align-items:center!important;border:1px solid #cfe0f5!important;border-radius:999px!important;background:#fff!important;color:#2563eb!important;font-weight:900!important;padding:.52rem .78rem!important;font-size:.95rem!important;line-height:1.15!important;}
.contact-card.compact-contact{padding:1.8rem 2rem!important;}
.compact-contact .contact-copy h3{font-size:1.18rem!important;line-height:1.28!important;}
.download-mini-item .download-actions{display:block!important;clear:both!important;margin-top:.9rem!important;}
.download-mini-item .download-actions a{display:inline-flex!important;}
@media(max-width:980px){
  :root{--c-h1:clamp(2.35rem, 10vw, 3.3rem);--c-h2:clamp(2rem, 8vw, 2.6rem)}
  .hero-grid,.article-grid,.contact-card.compact-contact{grid-template-columns:1fr!important;}
}


/* === HERO SINGLE-LINE (all languages) ===
   Keep the CTA buttons and the meta chip row each on ONE line on desktop.
   Longest content is PT; reduced gap/padding/font-size lets it fit the hero column.
   Mobile (<=980px) keeps wrapping since the hero collapses to a single column. */
@media(min-width:981px){
  /* Buttons row and meta chip row each on ONE line, both spanning the full hero column
     so they are flush left and right with each other in every language. */
  .hero .hero-actions{display:flex!important;flex-wrap:nowrap!important;gap:.6rem!important;align-items:stretch!important;width:100%!important;}
  /* Equal-width buttons => identical size across all languages, flush with the row edges. */
  .hero .hero-actions .button{flex:1 1 0!important;min-width:0!important;margin:0!important;text-align:center!important;white-space:nowrap!important;padding:.85rem .6rem!important;}
  .hero-meta{display:flex!important;flex-wrap:nowrap!important;gap:.5rem!important;align-items:center!important;}
  .hero-meta span{font-size:.82rem!important;padding:.32rem .62rem!important;white-space:nowrap!important;}
}

/* === Code example blocks for new service pages (ETL / Data Vault / BI) === */
.code-block{margin:1.6rem 0;}
.code-block .code-label{display:flex;align-items:center;gap:.6rem;font-family:Consolas,Menlo,monospace!important;font-size:.8rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#1e3a8a;background:#e8effb;border:1px solid #cdddf5;border-bottom:none;border-radius:14px 14px 0 0;padding:.6rem 1rem;}
.code-block .code-label::before{content:'';width:.7rem;height:.7rem;border-radius:50%;background:#2563eb;flex:0 0 auto;}
.code-block pre{margin:0!important;border-radius:0 0 16px 16px!important;background:#0b1220!important;color:#e6edf7!important;padding:1.15rem 1.25rem!important;overflow:auto;border:1px solid #1e293b;}
.code-block pre code{font-family:Consolas,Menlo,monospace!important;font-size:.86rem;line-height:1.62;white-space:pre;color:#e6edf7;}
.code-block.no-label pre{border-radius:16px!important;}
.code-note{color:var(--c-muted);font-size:.95rem;margin:.5rem 0 0;font-style:italic;}
.code-block pre code .cm{color:#7d8aa5;}
.callout{border-left:5px solid var(--c-blue)!important;background:var(--c-soft)!important;border-radius:14px;padding:1.1rem 1.3rem;margin:1.5rem 0;}
.callout strong{color:var(--c-text);}
.key-list{display:grid;gap:.55rem;margin:1.1rem 0 1.4rem;padding:0;list-style:none;}
.key-list li{padding-left:1.6rem;position:relative;color:#243954;line-height:1.6;}
.key-list li::before{content:'▸';position:absolute;left:0;color:#2563eb;font-weight:900;}

/* ---- Code copy button (header bar) ---- */
.code-block .code-label{justify-content:space-between;}
.code-block .code-label .code-label-text{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.code-block .code-label.code-label-empty::before{display:none;}
.code-block .code-copy{flex:0 0 auto;display:inline-flex;align-items:center;gap:.4rem;cursor:pointer;font-family:Consolas,Menlo,monospace;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#1e3a8a;background:#ffffff;border:1px solid #cdddf5;border-radius:8px;padding:.28rem .6rem;line-height:1;transition:background .15s ease,color .15s ease,border-color .15s ease;}
.code-block .code-copy:hover{background:#2563eb;color:#ffffff;border-color:#2563eb;}
.code-block .code-copy:focus-visible{outline:2px solid #2563eb;outline-offset:2px;}
.code-block .code-copy .code-copy-icon{width:.82rem;height:.82rem;flex:0 0 auto;background-color:currentColor;-webkit-mask:no-repeat center/contain;mask:no-repeat center/contain;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='9' width='11' height='11' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='9' width='11' height='11' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E");}
.code-block .code-copy.is-copied{background:#15803d;color:#ffffff;border-color:#15803d;}
.code-block .code-copy.is-copied .code-copy-icon{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");}
.code-block .code-copy.is-failed{background:#b91c1c;color:#ffffff;border-color:#b91c1c;}

/* Restore soft contact-area gradient on Leistungen subpages.
   v5-unified-layout + this file set .contact-card{background:#fff!important},
   which beat the lower-specificity gradient rule. This higher-specificity
   override (loaded last) reinstates the gradient like the home page. */
.contact-full .contact-card.compact-contact{
  background:linear-gradient(135deg,#eef4ff 0%,#f7faff 42%,#ffffff 100%)!important;
  border:1px solid #d7e3f5!important;
  box-shadow:0 18px 40px rgba(37,99,235,.10)!important;
}

/* ---- Back-to-top: floating button + footer text link ---- */
.back-to-top{
  position:fixed;right:1.6rem;bottom:1.6rem;z-index:1200;
  width:48px;height:48px;display:inline-flex;align-items:center;justify-content:center;
  border:none;border-radius:50%;cursor:pointer;
  background:#2563eb;color:#ffffff;
  box-shadow:0 8px 22px rgba(37,99,235,.34);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .25s ease,transform .25s ease,visibility .25s ease,background .15s ease;
}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0);}
.back-to-top:hover{background:#1d4ed8;}
.back-to-top:focus-visible{outline:2px solid #1d4ed8;outline-offset:3px;}
.back-to-top svg{width:22px;height:22px;display:block;}
@media (max-width:600px){.back-to-top{right:1rem;bottom:1rem;width:44px;height:44px;}}
@media (prefers-reduced-motion:reduce){.back-to-top{transition:opacity .15s ease,visibility .15s ease;transform:none;}}

/* Footer "back to top" text link sits flush right in the footer link row */
.footer-links .footer-top-link{margin-left:auto;display:inline-flex;align-items:center;gap:.35rem;}
.footer-links .footer-top-link svg{width:14px;height:14px;}
@media (max-width:720px){.footer-links .footer-top-link{margin-left:0;}}

/* ---- Social icons: kill legacy text fallbacks ("in"/"X") and SVG remnants,
       show the brand PNG at a consistent size on ALL pages (home, subpages,
       downloads). v5-dwh-page.css injects ::before text + hides svg; that was
       only neutralised on the home page by v5-home-polish.css. This rule,
       loaded last everywhere, fixes it site-wide. ---- */
.social-row a.social-icon::before,
.compact-contact .social-row a.social-icon::before,
.contact-full .social-row a.social-icon::before{content:none!important;display:none!important;}
.social-row a.social-icon svg,
.compact-contact .social-row a.social-icon svg,
.contact-full .social-row a.social-icon svg{display:none!important;}
.social-row a.social-icon .brand-img,
.compact-contact .social-row a.social-icon .brand-img,
.contact-full .social-row a.social-icon .brand-img{
  display:block!important;width:26px!important;height:26px!important;
  object-fit:contain!important;}

/* === Related services (internal cross-linking, SEO) === */
.related-services{padding:2.6rem 0 1rem;border-top:1px solid var(--c-border);}
.related-services h2{font-size:1.45rem;margin:0 0 .35rem;color:var(--c-text);}
.related-services .related-intro{margin:0 0 1.25rem;color:var(--c-muted);font-size:1rem;}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;}
.related-card{display:flex;align-items:center;gap:.7rem;padding:1rem 1.15rem;
  border:1px solid var(--c-border);border-radius:12px;background:var(--c-soft);
  text-decoration:none;color:var(--c-text);font-weight:600;line-height:1.3;
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;}
.related-card:hover{border-color:var(--c-blue);box-shadow:var(--c-shadow);
  transform:translateY(-2px);}
.related-card .related-arrow{color:var(--c-blue);font-weight:800;font-size:1.1rem;
  flex:0 0 auto;}
.related-card .related-label{flex:1 1 auto;}
@media (max-width:880px){.related-grid{grid-template-columns:1fr;}}
