/* ==========================================================================
   Chiemgauer Tierheilpraxis — Global Styles
   Design-Tokens, CSS Reset, Typografie, Responsive Breakpoints
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design-Tokens (CSS Custom Properties)
   -------------------------------------------------------------------------- */
:root {
  /* Primaer — aus PDF-Designsystem "braun-pastell" */
  --color-bg:           #FBF6EE;
  --color-bg-alt:       #F3E8D4;
  --color-text:         #3D2B1F;
  --color-text-medium:  #6b4f3b;
  --color-text-light:   #8a7a6a;

  /* Akzente */
  --color-accent:       #C9A78B;
  --color-accent-warm:  #C67B5C;
  --color-accent-hover: #b5694a;

  /* Natur-Gruen */
  --color-nature:       #5A7247;
  --color-nature-light: #7A9A65;

  /* Struktur */
  --color-border:       #E8D7BF;
  --color-card-bg:      #FFFFFF;
  --color-shadow:       rgba(61, 43, 31, 0.08);
  --color-overlay:      rgba(61, 43, 31, 0.6);

  /* Footer */
  --color-footer-bg:    #3D2B1F;
  --color-footer-text:  #F3E8D4;

  /* Typografie */
  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Lato', 'Helvetica Neue', sans-serif;

  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   2rem;
  --text-4xl:   2.5rem;
  --text-hero:  3rem;

  --leading-tight:  1.25;
  --leading-normal: 1.6;
  --leading-loose:  1.8;

  /* Abstaende */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Container */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:  1024px;
  --container-xl:  1200px;

  /* Radien */
  --radius-sm:    0.375rem;
  --radius-md:    0.5rem;
  --radius-lg:    0.75rem;
  --radius-xl:    1rem;
  --radius-2xl:   1.5rem;
  --radius-full:  9999px;

  /* Schatten */
  --shadow-sm:  0 1px 2px var(--color-shadow);
  --shadow-md:  0 4px 12px var(--color-shadow);
  --shadow-lg:  0 8px 24px var(--color-shadow);
  --shadow-xl:  0 12px 40px var(--color-shadow);

  /* Transition */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --------------------------------------------------------------------------
   CSS Reset (modern)
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--color-accent-warm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: var(--leading-tight);
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Basis-Typografie
   -------------------------------------------------------------------------- */
h1 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-loose);
}

strong {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-8);
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.section {
  padding-block: var(--space-16);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-accent-warm);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent-warm);
  border: 2px solid var(--color-accent-warm);
}

.btn-secondary:hover {
  background-color: var(--color-accent-warm);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints (Mobile First)
   sm:  640px
   md:  768px
   lg: 1024px
   xl: 1200px
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  h1 { font-size: var(--text-hero); }
}
