/* ============================================================
   WEB SYSTEMS — styles.css
   ============================================================ */


/* ============================================================
   CSS VARIABLES
   ============================================================ */

:root {
  --bg:               #FFFFFF;
  --bg-card:          #F7F9FC;
  --bg-dark:          #0A1F3D;
  --text:             #0A1F3D;
  --text-dark:        #F0F4FA;
  --muted:            rgba(10, 31, 61, 0.65);
  --muted-dark:       rgba(240, 244, 250, 0.7);
  --accent:           #22D3B8;
  --accent-secondary: #1E5BCC;
  --accent-gradient:  linear-gradient(135deg, #22D3B8 0%, #1E5BCC 100%);
  --border:           rgba(10, 31, 61, 0.12);
  --border-dark:      rgba(240, 244, 250, 0.15);

  --nav-height: 80px;
  --transition: 0.2s ease;
}

[data-theme="dark"] {
  --bg:      var(--bg-dark);
  --text:    var(--text-dark);
  --bg-card: rgba(255, 255, 255, 0.04);
  --muted:   var(--muted-dark);
  --border:  var(--border-dark);
}


/* ============================================================
   RESET
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.menu-open {
  overflow: hidden;
}

ul {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

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


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

/* Italic accent words in headlines */
.italic-accent {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

p {
  font-family: 'Inter', sans-serif;
  color: var(--muted);
  line-height: 1.6;
}


/* ============================================================
   SHARED BUTTON BASE
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-whatsapp {
  padding: 14px 24px;
  font-size: 15px;
  background: #25D366;
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  opacity: 0.9;
}

.btn-contact {
  padding: 14px 26px;
  font-size: 15px;
  background: var(--accent-gradient);
  color: #FFFFFF;
}

.btn-contact:hover {
  opacity: 0.9;
}


/* ============================================================
   NAVIGATION — WRAPPER
   ============================================================ */

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  gap: 24px;
}


/* ============================================================
   NAVIGATION — LOGO
   ============================================================ */

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  cursor: pointer;
}

.nav-logo-img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(10, 31, 61, 0.15);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
  line-height: 1.2;
}

.nav-brand {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-left: 0;
  padding-left: 0;
  text-indent: 0;
  text-transform: uppercase;
  color: var(--accent-secondary);
  color: var(--muted);
}


/* ============================================================
   NAVIGATION — DESKTOP LINKS
   ============================================================ */

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  opacity: 1;
}


/* ============================================================
   NAVIGATION — DESKTOP RIGHT CONTROLS
   ============================================================ */

.nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-mobile-controls {
  display: none;
  align-items: center;
  gap: 8px;
}


/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */

.lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: border-color var(--transition), color var(--transition);
}

.lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-toggle:active {
  transform: scale(0.97);
}


/* ============================================================
   THEME TOGGLE
   ============================================================ */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle:active {
  transform: scale(0.97);
}

/* Sun/Moon icon visibility */
.icon-moon {
  display: none;
}

[data-theme="dark"] .icon-sun {
  display: none;
}

[data-theme="dark"] .icon-moon {
  display: block;
}


/* ============================================================
   HAMBURGER BUTTON
   ============================================================ */

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color var(--transition);
  flex-shrink: 0;
}

.hamburger:hover {
  background-color: var(--bg-card);
}

.hamburger:active {
  transform: scale(0.97);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 3px;
  background-color: var(--text);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Hamburger X animation */
.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ============================================================
   MOBILE PHONE BUTTON
   ============================================================ */

.btn-phone-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.btn-phone-mobile:hover {
  opacity: 0.9;
}

.btn-phone-mobile:active {
  transform: scale(0.97);
}


/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 0 24px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}

.mobile-menu-close:hover {
  background-color: var(--bg-card);
  color: var(--accent);
}

.mobile-menu-close:active {
  transform: scale(0.97);
}

.mobile-menu-nav {
  flex: 1;
  padding-top: 16px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-link {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  padding: 20px 0;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: color var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent);
}

.mobile-nav-link:active {
  transform: scale(0.97);
}

.mobile-nav-divider {
  height: 1px;
  background-color: var(--border);
}


/* ============================================================
   LAYOUT — MAIN & SECTIONS
   ============================================================ */

main {
  padding-top: var(--nav-height);
}


/* ============================================================
   HERO SECTION
   ============================================================ */

#hero {
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Background glow — soft accent top-right */
#hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 60%;
  height: 70%;
  background: radial-gradient(ellipse at top right, rgba(34, 211, 184, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* LEFT COLUMN — TEXT */
.hero-text {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-subline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--muted);
  max-width: 540px;
  margin-top: 24px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  min-width: 240px;
  justify-content: center;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-hero-primary:hover {
  opacity: 0.9;
}

.btn-hero-primary:active {
  transform: scale(0.97);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  min-width: 200px;
  justify-content: center;
  background: transparent;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid var(--text);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn-hero-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-hero-secondary:active {
  transform: scale(0.97);
}

/* RIGHT COLUMN — DEVICE TRIO */
.hero-devices {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.devices-stage {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}


@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* LAPTOP */
.device-laptop {
  position: relative;
  z-index: 2;
  width: 580px;
  max-width: 100%;
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
  transform-origin: center center;
}

.laptop-lid {
  background: #D0D5DD;
  border-radius: 12px 12px 0 0;
  padding: 10px 10px 0;
  position: relative;
}

[data-theme="dark"] .laptop-lid {
  background: #2A3A54;
}

.laptop-screen {
  background: #1a1a2e;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  position: relative;
}

.laptop-screen img {
  width: 100%;
  height: auto;
  display: block;
}

img.device-screen {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}


.laptop-base {
  background: #C8CDD6;
  height: 18px;
  border-radius: 0 0 4px 4px;
  position: relative;
  clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

[data-theme="dark"] .laptop-base {
  background: #243350;
}

.laptop-touchpad {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 8px;
  background: #B8BDC6;
  border-radius: 3px;
}

[data-theme="dark"] .laptop-touchpad {
  background: #1E2E48;
}

/* TABLET */
.device-tablet {
  position: absolute;
  left: -40px;
  bottom: -30px;
  z-index: 3;
  width: 220px;
  transform: rotate(-6deg);
  box-shadow: 0 20px 40px rgba(10, 31, 61, 0.15);
  border-radius: 16px;
}

.tablet-frame {
  background: #D0D5DD;
  border-radius: 16px;
  padding: 8px;
  position: relative;
}

[data-theme="dark"] .tablet-frame {
  background: #2A3A54;
}

.tablet-screen {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.tablet-screen img {
  width: 100%;
  height: auto;
  display: block;
}


/* HANDY */
.device-phone {
  position: absolute;
  right: -20px;
  bottom: -50px;
  z-index: 3;
  width: 140px;
  transform: rotate(8deg);
  box-shadow: 0 20px 40px rgba(10, 31, 61, 0.15);
  border-radius: 28px;
}

.phone-frame {
  background: #D0D5DD;
  border-radius: 28px;
  padding: 6px;
  position: relative;
}

[data-theme="dark"] .phone-frame {
  background: #2A3A54;
}

.phone-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 10px;
  background: #D0D5DD;
  border-radius: 0 0 8px 8px;
  z-index: 2;
}

[data-theme="dark"] .phone-notch {
  background: #2A3A54;
}

.phone-screen {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: auto;
  display: block;
}



/* ============================================================
   RESPONSIVE — TABLET (< 1200px)
   ============================================================ */

@media (max-width: 1199px) {
  .device-laptop {
    width: 460px;
  }

  .device-tablet {
    width: 180px;
    left: -20px;
  }

  .device-phone {
    width: 120px;
    right: -10px;
  }
}


/* ============================================================
   RESPONSIVE — MOBILE (< 1024px)
   ============================================================ */

@media (min-width: 1024px) {
  .nav-links          { display: flex; }
  .nav-controls       { display: flex; }
  .nav-mobile-controls { display: none; }
}

@media (max-width: 1023px) {
  .nav-logo-img       { width: 50px; height: 50px; }
  .nav-links          { display: none; }
  .nav-controls       { display: none; }
  .nav-mobile-controls { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }

  .hero-devices {
    order: 2;
  }

  .hero-text {
    order: 1;
  }

  .hero-subline {
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .device-laptop {
    width: 90%;
    max-width: 420px;
    transform: none;
    margin: 0 auto;
  }

  .device-tablet {
    width: 50%;
    max-width: 180px;
    left: -10px;
    bottom: -20px;
  }

  .device-phone {
    width: 30%;
    max-width: 110px;
    right: -10px;
    bottom: -30px;
  }

  .hero-badge {
    right: 10px;
    top: -16px;
    font-size: 12px;
    padding: 8px 12px;
  }
}

@media (max-width: 599px) {
  .nav-tagline { display: none; }

  #hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .device-laptop {
    width: 100%;
  }
}


/* ============================================================
   SHARED SECTION HEADER (reusable across sections)
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-subline {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ============================================================
   LEISTUNGEN SECTION
   ============================================================ */

#leistungen {
  padding: 120px 0;
  background-color: var(--bg-card);
  transition: background-color 0.3s ease;
}

.leistungen-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}


/* ============================================================
   SERVICE CARD (Stil B — Split-Layout)
   ============================================================ */

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg);
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 4px 24px rgba(10, 31, 61, 0.06);
  transition: background-color 0.3s ease;
}

/* Reversed: mockup moves to column 2 */
.service-card--reversed .service-mockup {
  order: 2;
}

.service-card--reversed .service-text {
  order: 1;
}


/* ============================================================
   BROWSER FRAME MOCKUP
   ============================================================ */

.service-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.service-mockup-wrap {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 60px rgba(10, 31, 61, 0.15);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) rotateZ(-2deg);
  transition: transform 0.5s ease;
}

.service-mockup-wrap--reversed {
  transform: perspective(1000px) rotateY(8deg) rotateX(4deg) rotateZ(2deg);
}

.service-mockup-wrap:hover {
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) rotateZ(-1deg) scale(1.05);
}

.service-mockup-wrap--reversed:hover {
  transform: perspective(1000px) rotateY(4deg) rotateX(2deg) rotateZ(1deg) scale(1.05);
}

.browser-frame {
  background: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
}

[data-theme="dark"] .browser-frame {
  background: #1A2A40;
}

.browser-bar {
  background: #E8ECF0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

[data-theme="dark"] .browser-bar {
  background: #0F1E30;
}

.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-red    { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green  { background: #28C840; }

.browser-url-bar {
  flex: 1;
  background: #FFFFFF;
  border-radius: 4px;
  padding: 4px 10px;
  min-width: 0;
}

[data-theme="dark"] .browser-url-bar {
  background: #0A1626;
}

.browser-url-text {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(10, 31, 61, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .browser-url-text {
  color: rgba(240, 244, 250, 0.4);
}

.browser-content {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #F0F4FA;
}

[data-theme="dark"] .browser-content {
  background: #0A1626;
}

.browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.browser-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0A1F3D 0%, #1E5BCC 60%, #22D3B8 100%);
}


/* ============================================================
   SERVICE TEXT
   ============================================================ */

.service-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.service-number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.service-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.service-desc {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 16px;
  min-height: 90px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
}

.feature-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(34, 211, 184, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-top: 32px;
  cursor: pointer;
  align-self: flex-start;
  transition: gap var(--transition);
}

.service-cta:hover {
  gap: 10px;
}

.service-cta-arrow {
  display: inline-block;
  transition: transform var(--transition);
}

.service-cta:hover .service-cta-arrow {
  transform: translateX(4px);
}


/* ============================================================
   LEISTUNGEN RESPONSIVE
   ============================================================ */

@media (max-width: 1023px) {
  .leistungen-inner {
    padding: 0 24px;
  }

  .service-card {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .service-card--reversed .service-mockup,
  .service-card--reversed .service-text {
    order: unset;
  }

  .service-mockup-wrap {
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) rotateZ(-1deg);
  }

  .service-mockup-wrap--reversed {
    transform: perspective(1000px) rotateY(4deg) rotateX(2deg) rotateZ(1deg);
  }

  .service-mockup-wrap:hover,
  .service-mockup-wrap--reversed:hover {
    transform: perspective(1000px) rotateX(1deg) scale(1.03);
  }

  .services-list {
    gap: 48px;
  }
}

@media (max-width: 599px) {
  #leistungen {
    padding: 80px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .service-card {
    padding: 28px;
    border-radius: 16px;
    gap: 28px;
  }

  .service-mockup-wrap,
  .service-mockup-wrap--reversed {
    transform: none;
    box-shadow: 0 12px 30px rgba(10, 31, 61, 0.12);
  }

  .service-mockup-wrap:hover,
  .service-mockup-wrap--reversed:hover {
    transform: scale(1.02);
  }

  .services-list {
    gap: 28px;
  }
}


/* ============================================================
   WEB SYSTEMS (ABOUT) SECTION
   ============================================================ */

#websystems {
  padding: 120px 0;
  background-color: var(--bg);
  transition: background-color 0.3s ease;
}

.websystems-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 80px;
  align-items: start;
}

.websystems-text {
  display: flex;
  flex-direction: column;
}

.about-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.about-para {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.about-card {
  background: var(--bg-card);
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 130px;
  transition: background-color 0.3s ease;
}

.about-card-icon {
  display: flex;
  color: var(--accent);
}

.about-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.about-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* Right column — visual */
.websystems-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-wrap {
  position: relative;
  margin-top: 40px;
}

.about-image-wrap > img,
.websystems-image {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(10, 31, 61, 0.12);
  display: block;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(34, 211, 184, 0.1) 100%);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stat-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(10, 31, 61, 0.1);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.about-stat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: badge-pulse 3s ease-in-out infinite;
}

.about-stat-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

/* About responsive */
@media (max-width: 1023px) {
  .websystems-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 48px;
  }

  .websystems-visual {
    order: -1;
  }

  .about-image-wrap {
    margin-top: 0;
    max-width: 480px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 599px) {
  #websystems {
    padding: 80px 0;
  }

  .about-stat-card {
    left: 0;
    bottom: -16px;
  }
}


/* ============================================================
   TRUST BANNER
   ============================================================ */

.trust-banner {
  background: linear-gradient(135deg, #0A1F3D 0%, #1E5BCC 100%);
  padding: 80px 24px;
}

.trust-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 48px;
}

.trust-banner-icon {
  flex-shrink: 0;
  color: #22D3B8;
  opacity: 0.9;
}

.trust-banner-text {
  flex: 1;
}

.trust-banner-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 16px;
}

.trust-banner-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

.trust-banner-cta {
  flex-shrink: 0;
  display: inline-block;
  padding: 16px 32px;
  background: #22D3B8;
  color: #0A1F3D;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 184, 0.35);
}

@media (max-width: 900px) {
  .trust-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .trust-banner-sub {
    max-width: 100%;
  }
}


/* ============================================================
   KONTAKT SECTION
   ============================================================ */

#kontakt {
  padding: 120px 0;
  background-color: var(--bg-dark);
  position: relative;
  overflow: hidden;
  /* Always dark */
  --text:   var(--text-dark);
  --muted:  var(--muted-dark);
  --border: var(--border-dark);
}

/* Animated grid lines */
.kontakt-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 59px,
      rgba(255, 255, 255, 0.04) 59px,
      rgba(255, 255, 255, 0.04) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 59px,
      rgba(255, 255, 255, 0.04) 59px,
      rgba(255, 255, 255, 0.04) 60px
    );
  pointer-events: none;
  animation: grid-scroll 6s linear infinite;
}

@keyframes grid-scroll {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}

/* Ambient gradient glows */
.kontakt-glow-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 184, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-drift-1 30s ease-in-out infinite alternate;
}

.kontakt-glow-2 {
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 91, 204, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-drift-2 25s ease-in-out infinite alternate;
}

@keyframes glow-drift-1 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 40px); }
}

@keyframes glow-drift-2 {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(-50px, -30px); }
}

.kontakt-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* LEFT — Contact info */
.kontakt-info {
  display: flex;
  flex-direction: column;
}

.kontakt-subline {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: rgba(240, 244, 250, 0.7);
  margin-top: 20px;
  line-height: 1.6;
}

.kontakt-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 50px;
}

.kontakt-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.kontakt-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(34, 211, 184, 0.1);
  color: var(--accent);
  flex-shrink: 0;
}

.kontakt-item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kontakt-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(240, 244, 250, 0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kontakt-value {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.4;
  transition: color var(--transition);
}

a.kontakt-value:hover {
  color: var(--accent);
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}


/* RIGHT — Form */
.kontakt-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Floating label fields */
.form-field {
  position: relative;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 22px 16px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text-dark);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--accent);
}

.form-field textarea {
  resize: none;
  line-height: 1.5;
}

.form-field label {
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(240, 244, 250, 0.45);
  pointer-events: none;
  transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

/* Float label up on focus or value present */
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label,
.form-field select:focus + label,
.form-field select.has-value + label {
  top: 7px;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* Select custom arrow */
.form-field--select select {
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba%28240%2C244%2C250%2C0.4%29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-field select option {
  background-color: #0A1F3D;
  color: #F0F4FA;
}

/* Submit button */
.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  margin-top: 4px;
}

.btn-submit:hover  { opacity: 0.9; }
.btn-submit:active { transform: scale(0.97); }

/* Privacy note */
.form-privacy {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(240, 244, 250, 0.4);
  line-height: 1.5;
  text-align: center;
}

.form-privacy a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Success toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--accent-gradient);
  color: #FFFFFF;
  padding: 16px 28px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  white-space: nowrap;
  pointer-events: none;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Kontakt responsive */
@media (max-width: 1023px) {
  .kontakt-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
    gap: 48px;
  }
}

@media (max-width: 599px) {
  #kontakt {
    padding: 80px 0;
  }

  .kontakt-form-wrap {
    padding: 24px;
    border-radius: 16px;
  }
}


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

#footer {
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
  /* Always dark */
  --text:   var(--text-dark);
  --muted:  var(--muted-dark);
  --border: var(--border-dark);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
}

.footer-logo-wrapper {
  width: 56px;
  height: 56px;
  background: #000814;
  border-radius: 14px;
  border: 1px solid rgba(34, 211, 184, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  overflow: hidden;
  flex-shrink: 0;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-logo-name {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.footer-tagline-text {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(240, 244, 250, 0.35);
  margin-bottom: 16px;
}

.footer-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(240, 244, 250, 0.5);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-heading {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(240, 244, 250, 0.5);
  cursor: pointer;
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--accent);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 48px;
  padding-top: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(240, 244, 250, 0.35);
}

/* Footer lang toggle inherits .lang-toggle but needs dark border */
#footer .lang-toggle {
  border-color: rgba(240, 244, 250, 0.2);
  color: var(--text-dark);
}

#footer .lang-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Footer responsive */
@media (max-width: 1023px) {
  .footer-inner {
    padding: 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  #footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-col--brand {
    grid-column: auto;
  }
}


/* ============================================================
   COOKIE BANNER
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 640px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 8px 30px rgba(10, 31, 61, 0.12);
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity var(--transition), border-color var(--transition),
              color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.cookie-btn:active {
  transform: scale(0.97);
}

.cookie-btn--accept {
  background: var(--accent-gradient);
  color: #FFFFFF;
  border: none;
}

.cookie-btn--accept:hover {
  opacity: 0.9;
}

.cookie-btn--decline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.cookie-btn--decline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

@media (max-width: 599px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    justify-content: center;
  }
}


/* ============================================================
   LEGAL PAGES (Impressum, Datenschutz)
   ============================================================ */

.legal-main {
  padding-top: var(--nav-height);
  min-height: calc(100vh - var(--nav-height));
  background-color: var(--bg);
  transition: background-color 0.3s ease;
}

.legal-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 32px 100px;
}

.legal-h1 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
}

.legal-updated {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 16px;
  margin-top: 0;
  line-height: 1.2;
}

.legal-section h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  margin-top: 24px;
  line-height: 1.3;
}

.legal-section p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-section a:hover {
  opacity: 0.85;
}

.legal-placeholder {
  background: rgba(34, 211, 184, 0.07);
  border: 1px dashed rgba(34, 211, 184, 0.4);
  border-radius: 6px;
  padding: 3px 8px;
  font-style: italic;
  color: var(--accent);
  font-size: 0.95em;
}

@media (max-width: 599px) {
  .legal-inner {
    padding: 48px 24px 80px;
  }
}

/* ── LEGAL PAGE (Impressum / Datenschutz) ── */
.legal-page-section {
  padding: 80px 0 120px;
  background: var(--bg, #FFFFFF);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-breadcrumb {
  margin-bottom: 32px;
}

.legal-breadcrumb a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-breadcrumb a:hover {
  opacity: 0.7;
}

.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 32px;
}

.legal-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-top: 24px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.legal-content p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-content ul {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}

.legal-content a:hover {
  opacity: 0.8;
}

.legal-content strong {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 600px) {
  .legal-page-section { padding: 48px 0 80px; }
  .legal-content h2   { font-size: 20px; }
  .legal-content h3   { font-size: 16px; }
  .legal-content p,
  .legal-content ul   { font-size: 15px; }
}
