/* EstateView · Design-Tokens
   Ein Quelltext, zwei Themes: data-theme="dark" (Version 1, Original-Look in Eisblau) und "light" (Version 2).
   Akzentfarbe: Eisblau statt Gelb/Orange. Glow-Farbe als RGB-Tripel, damit sie mit Alpha kombinierbar ist. */

:root {
  --font-display: "Climate Crisis", "Barlow", Impact, sans-serif;
  --font-head: "Barlow", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1312px;
  --max-wide: 1440px;
  --gutter: clamp(18px, 4.4vw, 64px);
  --space-section: clamp(72px, 9vw, 128px);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Version 1: Dunkel / Eisblau ---------- */
:root,
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b0d11;
  --bg-alt: #0e1116;
  --surface: #12161c;
  --surface-2: #181e26;
  --surface-glass: rgba(16, 20, 26, .58);
  --header-bg: rgba(11, 13, 17, .72);
  --line: rgba(150, 205, 255, .13);
  --line-strong: rgba(150, 210, 255, .38);
  --text: #ffffff;
  --text-2: #c7d1dc;
  --text-3: #8592a4;
  --heading: #ffffff;
  --accent: #a6d8ff;
  --accent-strong: #6cb9f5;
  --accent-soft: rgba(140, 205, 255, .10);
  --glow-rgb: 110 190 255;
  --terrain-rgb: 118 196 255;

  --btn-bg: linear-gradient(90deg, #f7fbff 0%, #cfeaff 48%, #82c6f7 100%);
  --btn-text: #06182c;
  --btn-border: rgba(255, 255, 255, .92);
  --btn-shadow: 0 10px 34px -12px rgba(110, 190, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .9);
  --btn-shadow-hover: 0 14px 44px -10px rgba(110, 190, 255, .95), inset 0 1px 0 #fff;
  --band-bg: linear-gradient(180deg, #0f3f73 0%, #2a7bc9 55%, #6ab8f2 100%);
  --demo-bg: #0d1218;
  --veil: rgba(11, 13, 17, .72);
  --glow-a: .24;

  /* Leistungskarten (Profile-Card-Prinzip) */
  --svc-bg: radial-gradient(120% 120% at 25% 0%, #1c232d 0%, #12171e 55%, #0d1116 100%);
  --svc-border: rgba(150, 205, 255, .09);
  --svc-shadow: 0 30px 60px -32px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .04);
  --ledge-bg: linear-gradient(90deg, #eef8ff 0%, #bfe3ff 45%, #78c1f6 100%);
  --ledge-text: #06182c;
  --ledge-glow: 0 26px 60px -22px rgb(110 190 255 / .5);
  --ledge-glow-hover: 0 36px 90px -16px rgb(110 190 255 / .9);
  --vgrid-line: rgba(150, 205, 255, .14);
  --vgrid-cell: rgba(14, 18, 24, .72);

  /* Isometrische Raum-Grafik */
  --iso-edge: rgba(170, 220, 255, .55);
  --iso-slab-t: #1a2330; --iso-slab-l: #0f161f; --iso-slab-r: #0b1118;
  --iso-floor: #17202c; --iso-plank: rgba(160, 210, 255, .07);
  --iso-wall-l: #1d2836; --iso-wall-r: #161f2b; --iso-wallcap: #a6d8ff;
  --iso-iwall-l: #212d3c; --iso-iwall-r: #1a2431;
  --iso-furn-l: #253348; --iso-furn-r: #1c283a;
  --iso-counter: #3a4c63; --iso-wood: #4b5f7b; --iso-seat: #34475f; --iso-sofa: #3f6d9f;
  --iso-bed: #dfe9f4; --iso-pillow: #f5f9fd; --iso-blanket: #5c9bd8; --iso-tub: #e7f1fa;
  --iso-pot: #2e3d52; --iso-plant: #5cae98; --iso-plant-l: #3f8574; --iso-plant-r: #336d60;
  --iso-window: rgba(166, 216, 255, .38); --iso-ray: rgba(166, 216, 255, .09); --iso-rug: rgba(110, 190, 255, .16);
  --iso-lamp: #eaf6ff;
}

/* ---------- Version 2: Hell ---------- */
[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f9fc;
  --bg-alt: #edf3f9;
  --surface: #ffffff;
  --surface-2: #f2f7fc;
  --surface-glass: rgba(255, 255, 255, .62);
  --header-bg: rgba(246, 249, 252, .8);
  --line: rgba(24, 52, 96, .10);
  --line-strong: rgba(61, 152, 230, .40);
  --text: #0f1a2b;
  --text-2: #3b4b5f;
  --text-3: #6a7a8e;
  --heading: #1b2443;
  --accent: #2b86d9;
  --accent-strong: #1f6fc0;
  --accent-soft: rgba(43, 134, 217, .09);
  --glow-rgb: 84 166 242;
  --terrain-rgb: 64 146 226;

  --btn-bg: linear-gradient(90deg, #ffffff 0%, #e2f2ff 45%, #a9dbff 100%);
  --btn-text: #0e1f3b;
  --btn-border: rgba(61, 152, 230, .55);
  --btn-shadow: 0 10px 26px -12px rgba(40, 120, 210, .55), inset 0 1px 0 #fff;
  --btn-shadow-hover: 0 16px 34px -12px rgba(40, 120, 210, .7), inset 0 1px 0 #fff;
  --band-bg: linear-gradient(180deg, #14508f 0%, #2f86d6 55%, #74c0f4 100%);
  --demo-bg: #0f1620;
  --veil: rgba(246, 249, 252, .8);
  --glow-a: .13;

  --svc-bg: radial-gradient(120% 120% at 25% 0%, #ffffff 0%, #f7fafd 55%, #eef4fa 100%);
  --svc-border: rgba(24, 52, 96, .08);
  --svc-shadow: 0 24px 50px -30px rgba(20, 60, 120, .35), inset 0 1px 0 #fff;
  --ledge-bg: linear-gradient(90deg, #e3f2ff 0%, #a9d8fb 50%, #5eb0ee 100%);
  --ledge-text: #0b2140;
  --ledge-glow: 0 24px 50px -24px rgb(64 146 226 / .45);
  --ledge-glow-hover: 0 32px 70px -18px rgb(64 146 226 / .75);
  --vgrid-line: rgba(24, 52, 96, .12);
  --vgrid-cell: rgba(255, 255, 255, .7);

  --iso-edge: rgba(43, 104, 170, .42);
  --iso-slab-t: #ffffff; --iso-slab-l: #dfe8f2; --iso-slab-r: #ccd9e7;
  --iso-floor: #f3f7fb; --iso-plank: rgba(43, 104, 170, .08);
  --iso-wall-l: #ffffff; --iso-wall-r: #e6eef6; --iso-wallcap: #2b86d9;
  --iso-iwall-l: #fbfdff; --iso-iwall-r: #e3ecf5;
  --iso-furn-l: #dbe6f1; --iso-furn-r: #c9d8e8;
  --iso-counter: #f4f8fc; --iso-wood: #d9c4a8; --iso-seat: #c8d6e5; --iso-sofa: #7fb2e3;
  --iso-bed: #ffffff; --iso-pillow: #ffffff; --iso-blanket: #8cc4f0; --iso-tub: #ffffff;
  --iso-pot: #b9c8d8; --iso-plant: #7cc2a9; --iso-plant-l: #5ba68b; --iso-plant-r: #4c8f77;
  --iso-window: rgba(84, 166, 242, .30); --iso-ray: rgba(84, 166, 242, .10); --iso-rug: rgba(84, 166, 242, .14);
  --iso-lamp: #ffd98a;
}
