/* ARAGUA e.V. — Stile */
/* Schriften lokal: Outfit, Source Sans 3 (SIL Open Font License) */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/Outfit-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/Outfit-300-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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Outfit-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Outfit-300-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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Outfit-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/Outfit-300-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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Outfit-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/Outfit-300-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;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Outfit-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Outfit-300-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/SourceSans3-400i-latin-ext.woff) format('woff');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/SourceSans3-400i-latin.woff) format('woff');
  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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/SourceSans3-300-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;
}
/* tokens/colors.css */
:root {
  /* ================= ARAGUA Farben =================
     Abgeleitet aus den farbigen Logodateien: das Orange des Vereinslogos,
     das Ziegelrot des Signets, warme Neutrale. Bewusst kurz gehalten. */

  /* Orange — die Vereinsfarbe. Fläche, nie Fließtext. */
  --orange-100: #fdf1da;
  --orange-200: #fbdfab;
  --orange-300: #f8c86a;
  --orange-400: #f5ad2a;
  --orange-500: #ee9109;
  --orange-600: #d47c07;
  --orange-700: #a85f06;
  --orange-800: #7d4605;
  --orange-900: #4f2c03;

  /* Ziegelrot — exakt die Signetfarbe der Originaldatei (rgb 166 82 45).
     Zweite Stimme, sparsam eingesetzt. */
  --brick-100: #f8ebe3;
  --brick-200: #eed3c1;
  --brick-300: #ddb197;
  --brick-400: #c47a4e;
  --brick-500: #a6522d;
  --brick-600: #914628;
  --brick-700: #753821;
  --brick-800: #582918;
  --brick-900: #3a1b10;

  /* Warme Neutrale — Papier und Tinte, kein Grau. */
  --sand-000: #ffffff;
  --sand-050: #fbf8f3;
  --sand-100: #f4ece0;
  --sand-200: #e8dccb;
  --sand-300: #d5c6b2;
  --sand-400: #b1a394;
  --sand-500: #8c7f72;
  --sand-600: #6c6158;
  --sand-700: #4e4640;
  --sand-800: #342e2a;
  --sand-900: #221c17;

  /* Status */
  --success-500: #4a7a45;
  --success-100: #e6efe3;
  --warning-500: #a85f06;
  --warning-100: #fdf1da;
  --danger-500: #a0361f;
  --danger-100: #f9e7e1;

  /* ---- Semantische Rollen ---- */
  --brand-primary: var(--orange-500);
  --brand-primary-hover: var(--orange-600);
  --brand-primary-press: var(--orange-700);
  --brand-primary-text: var(--orange-800);
  --brand-secondary: var(--brick-500);
  --brand-secondary-hover: var(--brick-600);

  --surface-page: var(--sand-050);
  --surface-card: var(--sand-000);
  --surface-sunken: var(--sand-100);
  --surface-inverse: var(--sand-900);
  --surface-brand: var(--orange-500);
  --surface-brand-soft: var(--orange-100);
  --surface-secondary-soft: var(--brick-100);

  --text-body: var(--sand-900);
  --text-muted: var(--sand-600);
  --text-quiet: var(--sand-500);
  --text-on-brand: var(--sand-900);
  --text-on-inverse: var(--sand-100);
  --text-link: var(--brick-600);
  --text-link-hover: var(--brick-700);

  --border-subtle: var(--sand-200);
  --border-strong: var(--sand-300);
  --border-brand: var(--orange-500);

  --focus-ring: var(--brick-500);
  --selection-bg: var(--orange-200);

  --gradient-brand: linear-gradient(135deg, #f6b708 0%, #ee9109 55%, #e8760a 100%);
}

/* tokens/typography.css */
:root {
  --font-display: "Outfit", "Trebuchet MS", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Consolas", monospace;

  /* Sizes — 1.25 major-third-ish ramp, tuned for German compounds. */
  --text-2xs: 0.6875rem; /* 11px — legal, image credits */
  --text-xs: 0.8125rem;  /* 13px — meta, table headers */
  --text-sm: 0.9375rem;  /* 15px — captions, form help */
  --text-base: 1.0625rem;/* 17px — body */
  --text-lg: 1.1875rem;  /* 19px — lead paragraph */
  --text-xl: 1.5rem;     /* 24px — h4 */
  --text-2xl: 1.875rem;  /* 30px — h3 */
  --text-3xl: 2.375rem;  /* 38px — h2 */
  --text-4xl: 3rem;      /* 48px — h1 */
  --text-5xl: 4rem;      /* 64px — hero / big numbers */

  --leading-tight: 1.12;
  --leading-snug: 1.28;
  --leading-normal: 1.6;
  --leading-loose: 1.75;

  --tracking-wordmark: 0.34em;
  --tracking-kicker: 0.14em;
  --tracking-tight: -0.015em;
  --tracking-normal: 0;

  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --measure: 66ch;
}

/* tokens/spacing.css */
:root {
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 7rem;
  --space-12: 9rem;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-pill: 999px;

  --border-width: 1px;
  --border-width-thick: 2px;

  --container-narrow: 44rem;
  --container-text: 60rem;
  --container-wide: 76rem;
  --gutter: var(--space-5);
}

/* tokens/elevation.css */
:root {
  /* Warm shadows — tinted toward the ink, never neutral black. */
  --shadow-xs: 0 1px 2px rgba(34, 26, 22, 0.06);
  --shadow-sm: 0 2px 6px rgba(34, 26, 22, 0.07);
  --shadow-md: 0 6px 18px rgba(34, 26, 22, 0.09);
  --shadow-lg: 0 18px 44px rgba(34, 26, 22, 0.13);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-focus: 0 0 0 3px rgba(156, 58, 34, 0.22);
}

/* tokens/motion.css */
:root {
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 120ms;
  --duration-base: 180ms;
  --duration-slow: 320ms;
  --transition-base: all var(--duration-base) var(--ease-standard);
}

/* tokens/base.css */
/* Minimal element defaults. Components carry their own styling. */
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  text-wrap: pretty;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: var(--weight-600, 600);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-4);
  color: var(--text-body);
}
h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
p { margin: 0 0 var(--space-4); max-width: var(--measure); }
a { color: var(--text-link); text-decoration: underline; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--text-link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }
::selection { background: var(--selection-bg); }
img { max-width: 100%; display: block; }
small { font-size: var(--text-sm); color: var(--text-muted); }

/* Website */

  body { background: var(--surface-page); }
  .wrap { max-width: var(--container-wide); margin: 0 auto; padding: 0 var(--space-5); }
  .ph { background: var(--sand-200); border-radius: var(--radius-lg); display: grid; place-items: center;
        color: var(--sand-600); font-size: var(--text-sm); text-align: center; padding: var(--space-4); }
  img { max-width: 100%; }
  .nav-burger { display: none; }
  .r-sticky { position: sticky; top: 96px; max-height: calc(100vh - 112px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
  .nav-desk a { white-space: nowrap; }
  /* Desktop: größerer Header und Logo */
  html.force-desktop .nav-bar { padding-top: var(--space-5) !important; padding-bottom: var(--space-5) !important; }
  html.force-desktop .nav-bar > a img { width: 184px !important; }
  html.force-desktop .hero-pad { padding-top: var(--space-7) !important; }
  html.force-desktop .r-sticky { top: 164px; max-height: calc(100vh - 180px); }
  @media (min-width: 1025px) {
    .nav-bar { padding-top: var(--space-5) !important; padding-bottom: var(--space-5) !important; }
    .nav-bar > a img { width: 184px !important; }
    .hero-pad { padding-top: var(--space-7) !important; }
    .r-sticky { top: 164px; max-height: calc(100vh - 180px); }
  }
  /* Tablet */
  @media (max-width: 1024px) {
    html:not(.force-desktop) { --text-5xl: 3.25rem; --space-10: 4rem; }
    html:not(.force-desktop) .r-4, html:not(.force-desktop) .r-gal { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html:not(.force-desktop) .r-board { grid-template-columns: minmax(0, 200px) minmax(0, 1fr) !important; }
    html:not(.force-desktop) .r-board > :nth-child(3) { grid-column: 2; }
    html:not(.force-desktop) .r-footer { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    html:not(.force-desktop) .r-footer > :first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 900px) {
    html:not(.force-desktop) .nav-desk { display: none !important; }
    html:not(.force-desktop) .nav-burger { display: inline-flex; }
    html:not(.force-desktop) .nav-bar { gap: var(--space-4) !important; }
  }
  @media (min-width: 901px) { .nav-mobile { display: none !important; } }
  @media (max-width: 760px) {
    html:not(.force-desktop) .r-split, html:not(.force-desktop) .r-3 { grid-template-columns: minmax(0, 1fr) !important; }
    html:not(.force-desktop) .r-sticky { position: static; order: -1; max-height: none; overflow: visible; }
  }
  /* Handy */
  @media (max-width: 640px) {
    html:not(.force-desktop) { --text-5xl: 2.75rem; --text-4xl: 2.25rem; --text-3xl: 1.875rem; --text-2xl: 1.5rem; --text-xl: 1.3125rem;
      --space-10: 3rem; --space-9: 2.75rem; --space-8: 2.25rem; --space-7: 2rem; }
    html:not(.force-desktop) .r-pair, html:not(.force-desktop) .r-row, html:not(.force-desktop) .r-board { grid-template-columns: minmax(0, 1fr) !important; }
    html:not(.force-desktop) .r-board > :nth-child(3) { grid-column: auto; }
    html:not(.force-desktop) .r-board img { max-width: 220px; }
    html:not(.force-desktop) .r-list { grid-template-columns: minmax(0, 1fr) auto !important; }
    html:not(.force-desktop) .r-list > :first-child { grid-column: 1 / -1; }
    html:not(.force-desktop) .r-footer { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    html:not(.force-desktop) .nav-action { display: none; }
  }
  @media (max-width: 480px) { html:not(.force-desktop) .r-4 { grid-template-columns: minmax(0, 1fr) !important; } }
