/* ==========================================================================
   PRACIUM — MAIN STYLESHEET
   Strict Brand Design System:
   - Background: #121212
   - Cards / UI-Container: #1E1E1E
   - Accent: #FF6B00
   - Main Text: #EDEDED
   - Subtext / Meta: #A0A0A0
   - Font Family: Inter
   ========================================================================== */

/* Self-Hosted Inter Variable Font (100% DSGVO/GDPR Compliant, Zero External Requests) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Core Brand Colors (Strictly Enforced) */
  --bg-main: #121212;
  --bg-card: #1E1E1E;
  --accent: #FF6B00;
  --text-main: #EDEDED;
  --text-muted: #A0A0A0;

  /* Subtle Structural Borders (Derived strictly from brand colors) */
  --border-subtle: rgba(237, 237, 237, 0.07);
  --border-default: rgba(237, 237, 237, 0.12);
  --border-hover: rgba(255, 107, 0, 0.45);
  --accent-tint: rgba(255, 107, 0, 0.08);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-width: 1040px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 74px;

  /* Geometry & Transitions */
  --radius-sm: 6px;
  --radius-md: 10px;
  --transition: 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::selection {
  background-color: var(--accent);
  color: var(--text-main);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), opacity var(--transition);
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Accessibility Skip-to-Content Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 999;
  background-color: var(--accent);
  color: var(--text-main);
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ==========================================================================
   TYPOGRAPHY & SECTION HEADERS
   ========================================================================== */

h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-muted);
  line-height: 1.68;
}

.section {
  padding-block: 4.5rem;
}

.section--top-tight {
  padding-top: 2rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  font-weight: 700;
  color: var(--text-main);
}

.section-rule {
  width: 34px;
  height: 3px;
  background-color: var(--accent);
  margin-top: 0.6rem;
  border-radius: 2px;
}

/* Subpage Intro Header (Portfolio, Projects, Services, Contact, Imprint, Privacy) */
.page-intro {
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.page-intro__title {
  font-size: clamp(2.1rem, 3.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-intro__rule {
  width: 42px;
  height: 3.5px;
  background-color: var(--accent);
  margin-top: 0.75rem;
  border-radius: 2px;
}

.page-intro__desc {
  margin-top: 1.5rem;
  max-width: 580px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--bg-main);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo__img {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding-block: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.site-nav__link:hover {
  color: var(--text-main);
}

.site-nav__link.is-active {
  color: var(--text-main);
  font-weight: 600;
}

.site-nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--accent);
  border-radius: 1px;
}

/* Mobile Menu Button */
.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  color: var(--text-main);
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   BUTTONS, TAGS & LINKS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--text-main);
}

.btn--primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--text-main);
  border-color: var(--border-default);
}

.btn--outline:hover {
  background-color: var(--bg-card);
  border-color: var(--text-muted);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
}

.btn--full {
  width: 100%;
}

.section-action {
  margin-top: 1.5rem;
}

/* Inline Orange Action Links (e.g. "Learn more ->", "View on GitHub ↗") */
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-link__arrow {
  transition: transform var(--transition);
}

.card-link:hover .card-link__arrow {
  transform: translateX(3px);
}

/* Tags & Badges */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  background-color: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.badge--accent-outline {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* ==========================================================================
   HOME — CENTERED HERO SECTION (Full Viewport 100vh + Smooth Scroll-Scale)
   ========================================================================== */

.hero {
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero__inner {
  max-width: 740px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate3d(0, var(--hero-translate-y, 0px), 0) scale(var(--hero-scale, 1));
  opacity: var(--hero-opacity, 1);
  transform-origin: center center;
  will-change: transform, opacity;
}

.hero__banner {
  width: clamp(260px, 36vw, 390px);
  height: auto;
  margin-bottom: 2rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.032em;
  color: var(--text-main);
  margin-bottom: 1.35rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.68;
  margin-bottom: 2.35rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.35rem;
}

.hero__buttons .btn {
  padding: 0.85rem 1.75rem;
  font-size: 0.925rem;
}

.hero__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
}

.hero__social-link {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__social-link:hover {
  color: var(--text-main);
}

.hero__social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Subtle Bottom Scroll Indicator */
.hero__scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: var(--scroll-hint-opacity, 0.65);
  transition: color var(--transition);
}

.hero__scroll-hint:hover {
  color: var(--text-main);
}

.hero__scroll-hint svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
  animation: heroBounce 2.2s infinite ease-in-out;
}

@keyframes heroBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__inner {
    transform: none !important;
    opacity: 1 !important;
  }
  .hero__scroll-hint svg {
    animation: none;
  }
}

/* ==========================================================================
   HOME — ABOUT ME & MY SKILLS
   ========================================================================== */

.about-skills-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 3.5rem;
  align-items: start;
}

.about-text p + p {
  margin-top: 1.15rem;
}

.skills-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.52rem 1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-main);
  transition: border-color var(--transition), transform var(--transition);
}

.skill-pill:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.skill-pill svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.skills-note {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION & SERVICES SUBPAGE
   ========================================================================== */

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.service-card__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.service-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card__list {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-card__list li {
  font-size: 0.8125rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* Highlighted Hosting & Ongoing Care Add-On Banner (services.html) */
.addon-banner {
  background-color: var(--bg-card);
  border: 1px solid var(--border-hover);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 2.5rem;
  align-items: center;
}

.addon-banner__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.addon-banner__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.addon-banner__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.addon-banner__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.addon-item {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.1rem;
}

.addon-item__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.addon-item__text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 4-Step Process Grid (services.html) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.process-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.process-card__step {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.process-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.process-card__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* FAQ Accordion (services.html) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding-inline: 1.5rem;
}

.faq-item__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
  transition: transform var(--transition);
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  padding-bottom: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.9rem;
}

/* ==========================================================================
   PORTFOLIO & PROJECTS CARDS (Matching Screenshots 1, 2, 3)
   ========================================================================== */

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

.showcase-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition), transform var(--transition);
}

.showcase-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.showcase-card__media {
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.showcase-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-card__placeholder-icon {
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  opacity: 0.45;
}

.showcase-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}

.showcase-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   CTA SECTIONS (Home Box CTA & Subpage Centered CTA)
   ========================================================================== */

.cta-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(2.25rem, 5vw, 3.5rem) 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cta-box__title {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--text-main);
}

.cta-box__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 440px;
  margin-bottom: 0.5rem;
}

.cta-inline {
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-inline__prompt {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   CONTACT PAGE (Screenshot 5 Structure)
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 3.5rem;
  align-items: start;
  padding-bottom: 4.5rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.contact-sidebar__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-socials__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Direct Contact Channels (Email, WhatsApp Business, Discord) */
.contact-direct__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-direct__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-direct__item:hover {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.contact-direct__left {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.contact-direct__left svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: currentColor;
  flex-shrink: 0;
}

.contact-direct__left svg[fill="none"] {
  fill: none;
}

.contact-direct__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.contact-direct__item:hover .contact-direct__meta {
  color: var(--text-main);
}

.contact-direct__meta.is-copied {
  color: var(--accent);
  font-weight: 600;
}

.contact-socials__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.contact-socials__link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-socials__link:hover {
  color: var(--text-main);
}

.contact-socials__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  background-color: var(--bg-main);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  font-size: 0.875rem;
  color: var(--text-main);
  transition: border-color var(--transition);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--bg-main);
  border-left: 3px solid var(--accent);
  font-size: 0.85rem;
  color: var(--text-main);
}

.form-feedback.is-visible {
  display: block;
}

.form-feedback.is-error {
  border-left-color: #ef4444;
  color: #fca5a5;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-privacy-note a:hover {
  color: var(--accent);
}

/* ==========================================================================
   IMPRINT & PRIVACY POLICY (Screenshot 4 Bilingual Structure)
   ========================================================================== */

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 4.5rem;
  align-items: start;
}

.legal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.legal-card__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.legal-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.legal-section h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.legal-section p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-section ul,
.legal-list {
  list-style: disc;
  padding-left: 1.25rem;
  margin-block: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-section li,
.legal-list li {
  margin-bottom: 0.35rem;
}

.legal-section li:last-child,
.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-link {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.legal-link:hover,
.legal-link:focus-visible {
  color: var(--accent-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-section--note {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.legal-section--note p {
  font-size: 0.775rem;
  font-style: italic;
  color: var(--text-muted);
}

.legal-section--note strong {
  font-style: normal;
  color: var(--text-main);
}

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

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 1.75rem;
  background-color: var(--bg-main);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-footer__link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.site-footer__link:hover,
.site-footer__link.is-active {
  color: var(--accent);
}

.site-footer__socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-footer__social-link {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
}

.site-footer__social-link:hover {
  color: var(--text-main);
}

.site-footer__social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   SCROLL-REVEAL POLISH, BACK-TO-TOP & 404 PAGE
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 380ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color var(--transition);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), border-color var(--transition), color var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* 404 Error Page */
.error-404 {
  min-height: calc(100vh - var(--header-height) - 85px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: 4rem;
}

.error-404__inner {
  max-width: 500px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error-404__code {
  font-size: clamp(4rem, 9vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.error-404__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.85rem;
}

.error-404__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.error-404__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 900px) {
  .about-skills-layout,
  .services-grid,
  .addon-banner,
  .contact-layout,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-default);
    padding: 1.25rem var(--container-pad);
    display: none;
  }

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

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .site-nav__link {
    font-size: 1rem;
    padding-block: 0.4rem;
  }

  .cards-grid-2,
  .addon-banner__features,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }

  .site-footer__links,
  .site-footer__socials {
    justify-content: center;
  }
}
