/* ==========================================================
   Haselnuss Kärnten – Grundlagen (Farben, Schriften, Formulare)
   Schriften liegen lokal im Theme → keine Verbindung zu Google.
   ========================================================== */

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/open-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/playfair-display-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/playfair-display-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Farben */
  --c-bg:          #fdf6f0;   /* wie Hauptseite */
  --c-card:        #fffdf7;
  --c-bg-card:     #fffdf7;
  --c-bg-alt:      #f5ebe0;
  --c-dark:        #5c3c24;
  --c-text:        #3a2d22;
  --c-text-muted:  #7a6a5a;
  --c-heading:     #5c3c24;
  --c-primary:     #7a4e2e;
  --c-primary-dk:  #5c3c24;
  --c-primary-dkr: #4b3c2d;
  --c-accent:      #f4d6a2;
  --c-accent-hov:  #e8c07a;
  --c-green:       #4f7a3a;
  --c-line:        rgba(58, 45, 34, .13);
  --c-border:      rgba(58, 45, 34, .13);

  /* Schrift */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Form */
  --max-w:     1080px;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.07);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.18);
  --t:         .25s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-sans); font-size: 16px; line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.hk-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-underline-offset: 3px; }
a:hover { color: var(--c-primary-dk); }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--c-heading); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
h2, h3 { font-weight: 600; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p, ul, ol { margin: 0 0 1em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Formulare */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"],
input[type="search"], input[type="url"], textarea, select {
  width: 100%; padding: 13px 15px; margin: 4px 0 0;
  border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  background: var(--c-card); color: var(--c-text);
  font: inherit; font-size: 1rem; line-height: 1.3;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237d6c5c' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(122,78,46,.14); }
textarea { min-height: 120px; resize: vertical; }
label { font-size: .93rem; font-weight: 600; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--c-primary); width: 18px; height: 18px; }

/* Buttons */
.hk-btn, button.hk-btn, a.hk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--c-primary); color: #fff; text-decoration: none;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.2;
  transition: background var(--t), transform var(--t);
}
.hk-btn:hover { background: var(--c-primary-dk); color: #fff; transform: translateY(-2px); }
.hk-btn--ghost { background: transparent; color: var(--c-primary); box-shadow: inset 0 0 0 2px var(--c-primary); }
.hk-btn--ghost:hover { background: var(--c-primary); color: #fff; }
.hk-btn--gold { background: var(--c-accent); color: var(--c-primary-dkr); }
.hk-btn--gold:hover { background: var(--c-accent-hov); color: var(--c-primary-dkr); }
