/* ==========================================================================
   KANZLEI MÜLLER RECHTSANWALT - BRAND DESIGN SYSTEM
   Brand Colors & Typography matching https://mueller-rechtsanwalt.eu/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Montserrat:wght@300;400;500;600;700;800;900&family=Poppins:wght@500;600;700&display=swap');

:root {
  /* Core Brand Colors from mueller-rechtsanwalt.eu */
  --color-primary: #ad9293;          /* Warm Rose-Gold / Bronze metallic tone */
  --color-primary-light: #c2adae;    /* Lighter accent */
  --color-primary-dark: #917778;     /* Darker accent */
  --color-primary-rgb: 173, 146, 147;
  --color-primary-glow: rgba(173, 146, 147, 0.25);

  /* Deep Navy & Obsidian Charcoal */
  --color-navy: #20243c;             /* Prestigious dark navy */
  --color-navy-dark: #16192b;        /* Darker navy */
  --color-dark: #191919;             /* Goldenblatt deep charcoal */
  --color-dark-surface: #22263d;     /* Elevated dark surface */

  /* Neutral & Slate Backgrounds */
  --color-bg-light: #f8f9fb;
  --color-bg-alt: #eff3f4;           /* Subtle cool slate from original theme */
  --color-bg-card: #ffffff;
  --color-border: #e2e6ea;
  --color-border-dark: rgba(255, 255, 255, 0.12);

  /* Text Colors */
  --color-text-main: #191919;        /* High-contrast headings & text */
  --color-text-body: #474d5d;        /* Refined readable body text */
  --color-text-muted: #868686;       /* Subtitle muted gray */
  --color-text-light: #ffffff;
  --color-text-light-muted: #a6abbd;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-accent: 'Poppins', 'Montserrat', sans-serif;

  /* Transitions & Shadows */
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 30px rgba(25, 25, 25, 0.08);
  --shadow-card-hover: 0 18px 45px rgba(29, 33, 57, 0.14);
  --shadow-glow: 0 0 25px var(--color-primary-glow);

  /* Container */
  --container-max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
}

/* Base Reset & Smoothness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-light);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-main);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Supertitle / Category Accent matching mueller-rechtsanwalt.eu */
.supertitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  position: relative;
}

.supertitle-light {
  color: var(--color-primary-light);
}

/* Section Headings */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

.section-title.light {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-body);
  line-height: 1.6;
}

.section-subtitle.light {
  color: var(--color-text-light-muted);
}

/* Buttons - Goldenblatt & Modern Legal Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(173, 146, 147, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(173, 146, 147, 0.45);
}

.btn-navy {
  background-color: var(--color-navy);
  color: #ffffff;
}

.btn-navy:hover {
  background-color: var(--color-navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(32, 36, 60, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: #ffffff;
}

.btn-outline-light {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(173, 146, 147, 0.1);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 80%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.6s ease;
}

.btn-glow:hover::after {
  transform: rotate(25deg) translateY(100%);
}

/* Badges */
.badge-lawyer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(173, 146, 147, 0.12);
  color: var(--color-navy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(173, 146, 147, 0.3);
}

.badge-lawyer svg {
  color: var(--color-primary);
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary) !important; }
.text-navy { color: var(--color-navy) !important; }
