/* Element Strategies – gemeinsame Gestaltung der Unterseiten. Nach altem Seiten-CSS laden.
   Farben (:root) sowie Kopf- und Fußzeile liegen zentral in chrome.css. */
html { scroll-behavior: smooth; overflow-x: clip; }
body.inner-page { background: var(--es-paper); color: var(--es-ink); font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; overflow-x: hidden; }
.inner-page a { color: inherit; }
.inner-page a:focus-visible, .inner-page button:focus-visible, .inner-page input:focus-visible, .inner-page textarea:focus-visible, .inner-page select:focus-visible, .inner-page summary:focus-visible { outline: 3px solid #2eaa92; outline-offset: 3px; }


/* Seitenaufbau und volle Hero-Breite innerhalb der bestehenden HTML-Seiten. */
.inner-page .container { max-width: 1200px; padding: 0 clamp(20px,5vw,64px) 110px; margin: auto; }
.inner-page .container > .hero, .inner-page .container > .page-head { position: relative; isolation: isolate; width: 100vw; margin-left: calc(50% - 50vw); padding: clamp(78px,9vw,132px) max(clamp(20px,8vw,120px), calc((100vw - 1200px)/2 + 64px)) clamp(80px,8vw,116px); overflow: hidden; color: white; background: radial-gradient(circle at 82% 25%, rgba(20,125,181,.25), transparent 32%), var(--es-navy); }
.inner-page .container > .hero::before, .inner-page .container > .page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg,transparent,#000); }
.inner-page .container > .hero::after, .inner-page .container > .page-head::after { content: ""; position: absolute; width: 490px; height: 490px; right: -150px; top: -150px; border: 1px solid rgba(125,226,196,.18); border-radius: 50%; pointer-events: none; }
.inner-page .hero > *, .inner-page .page-head > * { position: relative; z-index: 1; }
.inner-page .hero .label, .inner-page .page-head .label { color: var(--es-mint); }
.inner-page .label { display: flex; align-items: center; gap: 12px; color: #1d766a; font-size: 11px; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
.inner-page .label::before { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; flex: 0 0 auto; }
.inner-page .hero h1, .inner-page .page-head h1 { max-width: 940px; margin: 20px 0 22px; color: white; font-family: inherit; font-size: clamp(42px,5.5vw,75px); font-weight: 800; line-height: 1.08; letter-spacing: -.055em; }
.inner-page .hero h1 em, .inner-page .page-head h1 em { color: var(--es-mint); font-style: normal; }
.inner-page .hero p, .inner-page .hero .lead, .inner-page .page-head p { max-width: 700px; color: rgba(255,255,255,.78); font-size: clamp(16px,1.6vw,19px); line-height: 1.75; }
.inner-page .hero .lead p { color: inherit; font-size: inherit; }
.inner-page .breadcrumb { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: rgba(255,255,255,.63); font-size: 13px; }
.inner-page .breadcrumb a, .inner-page .hero .breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.inner-page .breadcrumb a:hover { color: var(--es-mint); }
.inner-page .breadcrumb span { color: var(--es-mint); }
.inner-page .hero-split { grid-template-columns: minmax(0,1fr) minmax(240px,.38fr); gap: clamp(35px,6vw,95px); }
.inner-page .hero-media, .inner-page .client-logo { overflow: hidden; background: rgba(255,255,255,.93); border: 1px solid rgba(255,255,255,.35); border-radius: 24px; box-shadow: 0 30px 70px rgba(0,0,0,.16); }
.inner-page .client-logo { display: grid; place-items: center; width: min(240px,100%); min-height: 120px; padding: 22px; margin-bottom: 25px; }
.inner-page .client-logo img { max-width: 100%; max-height: 85px; object-fit: contain; }

/* Lesefluss, Karten und CTA. Bestehende Inhalte bleiben im HTML erhalten. */
.inner-page .container > section { padding: 76px 0 0; }
.inner-page .section-head { margin-bottom: 27px; }
.inner-page .section-head h2 { max-width: 820px; margin: 14px 0 0; color: var(--es-navy); font-family: inherit; font-size: clamp(30px,3.6vw,49px); line-height: 1.15; letter-spacing: -.045em; font-weight: 790; }
.inner-page h2, .inner-page h3 { letter-spacing: -.035em; }
.inner-page .card { background: #fff; border: 1px solid var(--es-line); border-radius: 23px; box-shadow: 0 15px 45px rgba(11,31,51,.055); }
.inner-page .card.glow::before { height: 3px; background: linear-gradient(90deg,var(--es-mint),#43a9d0); }
.inner-page .card h3 { color: var(--es-navy); font-family: inherit; }
.inner-page .card p, .inner-page .lead, .inner-page .muted { line-height: 1.7; }
.inner-page .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 49px; padding: 12px 22px; background: var(--es-mint); color: var(--es-navy); border-radius: 9px; box-shadow: 0 14px 32px rgba(125,226,196,.16); font-weight: 760; }
.inner-page .btn-primary:hover { background: #9bedda; filter: none; transform: translateY(-1px); }
.inner-page .btn-ghost { border-radius: 9px; color: var(--es-navy); }
.inner-page .btn-ghost:hover { border-color: #219c83; color: #127762; }
.inner-page .highlight-box { padding: clamp(27px,4vw,48px); background: var(--es-navy); color: white; border-radius: 24px; }
.inner-page .highlight-box strong { color: var(--es-mint); }
.inner-page .cta { margin-top: 40px; padding-top: 85px; text-align: left; }
.inner-page .cta .card { padding: clamp(32px,5vw,72px); background: radial-gradient(circle at right,rgba(20,125,181,.25),transparent 48%),var(--es-navy); border: 0; color: white; }
.inner-page .cta h2, .inner-page .cta h2 em { max-width: 710px; color: white; font-family: inherit; font-size: clamp(30px,3.5vw,48px); line-height: 1.14; letter-spacing: -.045em; }
.inner-page .cta h2 em { color: var(--es-mint); }
.inner-page .cta .btn-primary { margin-top: 8px; }
.inner-page .tag, .inner-page .meta span { border: 1px solid var(--es-line); background: #eef5f2; border-radius: 999px; padding: 5px 11px; color: #215f57; font-size: 11px; font-weight: 700; }
.inner-page .price-box .amount { color: var(--es-navy); font-family: inherit; }
.inner-page .price-box ul li::before { color: #18816f; }
.inner-page .faq-item { border-bottom: 1px solid var(--es-line); }

/* Portfolio: Logos, Projektkarten und Navigation erhalten ihre eigene Hierarchie. */
.inner-page.page-portfolio .slider-wrap { border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: var(--es-navy-light); box-shadow: 0 24px 60px rgba(11,31,51,.13); }
.inner-page.page-portfolio .slide { min-height: 265px; padding: 54px; }
.inner-page.page-portfolio .slide img { max-height: 105px; max-width: min(370px,80%); filter: none; }
.inner-page.page-portfolio .slide-label { color: rgba(255,255,255,.83); bottom: 22px; }
.inner-page.page-portfolio .slide-badge { background: var(--es-mint); color: var(--es-navy); border-radius: 999px; padding: 5px 11px; }
.inner-page.page-portfolio .slider-btn { border-radius: 50%; width: 42px; height: 42px; background: white; }
.inner-page.page-portfolio .client-grid { gap: 22px; }
.inner-page.page-portfolio .client-card { color: inherit; }
.inner-page.page-portfolio .client-card .card { padding: 0 0 27px; overflow: hidden; }
.inner-page.page-portfolio .client-thumb { height: 195px; margin: 0 0 25px; border-radius: 0; background: #e9f2f0; }
.inner-page.page-portfolio .client-thumb img { max-height: 95px; max-width: 230px; }
.inner-page.page-portfolio .client-card h3, .inner-page.page-portfolio .client-card .meta, .inner-page.page-portfolio .client-card p, .inner-page.page-portfolio .client-card .card-link { margin-left: 27px; margin-right: 27px; }
.inner-page.page-portfolio .client-card h3 { color: var(--es-navy); font-family: inherit; font-size: 24px; letter-spacing: -.04em; }
.inner-page.page-portfolio .client-card p { color: #53636e; }
.inner-page.page-portfolio .card-link { color: #136e61; border-bottom: 1px solid rgba(19,110,97,.35); padding-bottom: 3px; }
.inner-page .project-screenshot { overflow: hidden; border-radius: 24px; border: 1px solid var(--es-line); box-shadow: 0 22px 60px rgba(11,31,51,.09); }
.inner-page .project-screenshot img { width: 100%; height: auto; display: block; }

/* Formulare, Ratgeber, Preise und Rechtstexte im gleichen System. */
.inner-page input, .inner-page textarea, .inner-page select { font: inherit; }
.inner-page input:not([type="checkbox"]):not([type="radio"]), .inner-page textarea, .inner-page select { border-radius: 9px; border: 1px solid #bdcbd1; background: white; }
.inner-page .legal { max-width: 900px; margin: 66px auto 0; padding: clamp(26px,5vw,66px); background: white; border: 1px solid var(--es-line); border-radius: 24px; box-shadow: 0 20px 55px rgba(11,31,51,.06); }
.inner-page .legal h2 { margin-top: 34px; color: var(--es-navy); }
.inner-page .legal a, .inner-page .article-body a { color: #0b6a75; text-decoration: underline; text-underline-offset: 3px; }
.inner-page .article-body { margin-top: 20px; padding: clamp(24px,4vw,56px); background: white; border: 1px solid var(--es-line); border-radius: 24px; box-shadow: 0 14px 42px rgba(11,31,51,.05); }
.inner-page .article-body h2, .inner-page .article-body h3 { color: var(--es-navy); }
.inner-page .article-meta { color: rgba(255,255,255,.62); }
.inner-page .compare-table { overflow-x: auto; }
.inner-page .article-grid .card, .inner-page .price-grid .card { height: 100%; }
.inner-page .price-card .amount { color: var(--es-navy); }


@media (max-width: 900px) {
  .inner-page .hero-split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .inner-page .container { padding: 0 20px 75px; }
  .inner-page .container > .hero, .inner-page .container > .page-head { width: auto; margin-left: -20px; margin-right: -20px; padding: 76px 20px 78px; }
  .inner-page .hero h1, .inner-page .page-head h1 { font-size: clamp(38px,10vw,53px); }
  .inner-page .container > section { padding-top: 61px; }
  .inner-page .client-grid, .inner-page .project-grid, .inner-page .services, .inner-page .goals, .inner-page .how-grid, .inner-page .article-grid, .inner-page .price-grid { grid-template-columns: 1fr; }
  .inner-page .cta .card { padding: 34px 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .inner-page *, .inner-page *::before, .inner-page *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
