/*
 * Copyright (c) 2026. Kambrium Software GmbH
 *
 * This software is confidential and proprietary information of Kambrium Software GmbH.
 * Use of this software is governed by the terms of a written license agreement
 * between you and Kambrium Software GmbH.
 *
 * This software is not open source and may not be redistributed, modified,
 * or disclosed in whole or in part without prior written permission from
 * Kambrium Software GmbH.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 *
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap");

:root {
  --color-primary-50: #f0f7fa;
  --color-primary-100: #e0eff5;
  --color-primary-200: #b9dae9;
  --color-primary-300: #7ebcd8;
  --color-primary-400: #3e9bc4;
  --color-primary-500: #257fa8;
  --color-primary-600: #1d668a;
  --color-primary-700: #1a5472;
  --color-primary-800: #19475f;
  --color-primary-900: #183c50;
  --color-primary-950: #102736;
  --color-secondary-50: #faf9f6;
  --color-secondary-100: #f3f1ea;
  --color-secondary-200: #e7e3d5;
  --color-secondary-300: #d5cdb6;
  --color-secondary-400: #bcaf8e;
  --color-secondary-500: #a6946d;
  --color-secondary-600: #8c7a56;
  --color-secondary-700: #8d7d58;
  --color-secondary-800: #726645;
  --color-secondary-900: #594e34;
  --bg: var(--color-secondary-50);
  --surface: #ffffff;
  --surface-strong: var(--color-primary-900);
  --surface-soft: var(--color-primary-100);
  --text: var(--color-primary-950);
  --muted: #64748b;
  --brand: var(--color-primary-500);
  --brand-strong: var(--color-primary-700);
  --brand-soft: var(--color-primary-100);
  --accent: var(--color-primary-400);
  --border: var(--color-secondary-200);
  --shadow: 0 10px 20px rgba(24, 60, 80, 0.08);
  --radius: 24px;
  --max: 1120px;
  --font-sans:
    "Outfit",
    "Inter",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, var(--color-primary-50) 0%, transparent 25%),
    radial-gradient(circle at 100% 100%, var(--color-secondary-100) 0%, transparent 25%);
  background-color: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--color-secondary-200);
}

.site-header .shell,
.site-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header .shell {
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-badge {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 12px 30px rgba(37, 127, 168, 0.2);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-800);
}

.brand-tagline {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
}

.header-actions,
.footer-links,
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lang-switch a {
  border: 2px solid transparent;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.7);
}

.lang-switch a.active {
  background: var(--color-primary-100);
  color: var(--color-primary-800);
  border-color: var(--color-primary-500);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.9rem 1.35rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 127, 168, 0.2);
}

.button-secondary {
  background: #ffffff;
  color: var(--color-primary-700);
  border: 1px solid var(--color-secondary-300);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: 36px;
  padding: 4.25rem;
  background:
    linear-gradient(135deg, rgba(24, 60, 80, 0.98), rgba(29, 102, 138, 0.94)),
    linear-gradient(180deg, var(--color-primary-900), var(--color-primary-700));
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-panel::before,
.hero-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-panel::before {
  width: 360px;
  height: 360px;
  right: -140px;
  top: -160px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel::after {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -120px;
  background: rgba(62, 155, 196, 0.18);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  padding: 1.45rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
}

.section {
  padding: 1.5rem 0 4rem;
}

.section-heading {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.section-heading h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.05;
  color: var(--color-primary-800);
  font-weight: 700;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.card,
.step,
.legal-card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--color-secondary-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.35rem;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--color-primary-100);
  color: var(--color-primary-600);
  font-size: 1.35rem;
}

.card h3,
.step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  color: var(--color-primary-800);
  font-weight: 700;
}

.card p,
.step p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.6rem;
}

.step-index {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
}

.cta-band {
  padding-bottom: 5rem;
}

.cta-panel {
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--color-primary-700), var(--color-primary-900));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.cta-panel h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.8rem);
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.site-footer .shell {
  padding: 1.25rem 1.5rem;
  border-radius: 24px;
  background: var(--color-primary-900);
  color: rgba(255, 255, 255, 0.92);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.legal-page {
  padding: 3rem 0 4rem;
}

.legal-card {
  padding: 2.4rem;
}

.legal-card h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 0.7rem;
  font-size: 1.35rem;
}

.legal-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.legal-meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-weight: 700;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: var(--color-primary-700);
  font-weight: 800;
}

.legal-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

@media (max-width: 1080px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
  }

  .site-header .shell,
  .site-footer .shell,
  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .hero-panel {
    padding: 2rem;
  }

  .hero-card {
    width: 100%;
  }

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

@media (max-width: 720px) {
  .card-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-header .shell {
    padding: 1rem 0;
    align-items: flex-start;
  }

  .cta-panel,
  .legal-card {
    padding: 1.5rem;
  }
}
