/* ===================================================
   Glasharmonika Manufaktur – Schönfeldinger
   Shared Stylesheet
   =================================================== */

@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/lato-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rosarivo';
  src: url('fonts/rosarivo-regular-webfont.woff2') format('woff2'),
       url('fonts/rosarivo-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Rosarivo';
  src: url('fonts/rosarivo-italic-webfont.woff2') format('woff2'),
       url('fonts/rosarivo-italic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --amber:        #C57B31;   /* Amber: Überschriften, Akzente, Buttons */
  --cream:        #F7F3ED;   /* Header, Footer, Hintergründe */
  --text:         #363636;
  --white:        #FAFAFA;

  /* Aliase */
  --brown-dark:   #F7F3ED;
  --brown-mid:    #C57B31;
  --brown-light:  #C57B31;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'Rosarivo', Georgia, serif;
  font-weight: 400;
  color: var(--amber);
  line-height: 1.3;
}

/* ── HEADER & NAV ─────────────────────────────── */

header {
  background: var(--cream);
  border-bottom: 1px solid #e8e2d9;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 40px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo img {
  height: 46px;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--text);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 400;
  transition: color 0.2s;
}

nav a:hover, nav a.active {
  color: var(--amber);
  text-decoration: none;
}

/* ── HERO ─────────────────────────────────────── */

.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) brightness(0.55);
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 20px;
}

.hero-content .kicker {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 10px;
}

.hero-content .sub {
  font-family: 'Rosarivo', Georgia, serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-style: italic;
  opacity: 0.9;
  max-width: 780px;
  margin: 0 auto 30px;
}

.hero-content p.intro {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: 1rem;
  opacity: 0.88;
  line-height: 1.8;
}

/* ── BUTTONS ──────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 13px 32px;
  background: var(--amber);
  color: var(--white);
  border: 2px solid var(--amber);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}

.btn:hover {
  background: #a8661f;
  border-color: #a8661f;
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--amber);
}

/* ── SECTIONS ─────────────────────────────────── */

section {
  padding: 80px 40px;
}

section:nth-child(even) {
  background: var(--cream);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
}

/* ── PAGE HEADER (Subpages) ───────────────────── */

.page-hero {
  background: var(--cream);
  color: var(--text);
  padding: 60px 40px;
  text-align: center;
  border-bottom: 1px solid #e8e2d9;
}

.page-hero h1 {
  font-size: 2.4rem;
  color: var(--amber);
}

/* ── INSTRUMENTE ──────────────────────────────── */

.instrument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

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

.instrument-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  margin-bottom: 18px;
}

.instrument-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.instrument-card p {
  color: #555;
  font-size: 0.95rem;
}

.center { text-align: center; }

/* ── ÜBER UNS ─────────────────────────────────── */

.ueber-uns-text {
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}

.ueber-uns-text p + p { margin-top: 1.2em; }

/* ── KONTAKT (Homepage Widget) ────────────────── */

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 720px) { .kontakt-grid { grid-template-columns: 1fr; } }

.kontakt-box {
  background: var(--white);
  color: var(--text);
  border: 1px solid #e8e2d9;
  padding: 40px 36px;
  text-align: center;
}

.kontakt-box h3 {
  color: var(--amber);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.kontakt-box p { opacity: 0.9; margin-top: 10px; }
.kontakt-box a { color: var(--amber); }
.kontakt-box a:hover { color: #a8661f; }

/* ── TEXT PAGE (Impressum, DS, AGB) ────────────── */

.text-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 40px;
}

.text-content h2 { font-size: 1.6rem; margin: 36px 0 12px; }
.text-content h3 { font-size: 1.15rem; margin: 28px 0 8px; color: var(--amber); }
.text-content p { margin-bottom: 1em; }
.text-content ul { margin: 0.5em 0 1em 1.5em; }
.text-content li { margin-bottom: 0.4em; }

/* ── GESCHICHTE BILDER ────────────────────────── */

.geschichte-img {
  height: auto;
  margin-bottom: 24px;
}

.img-right {
  float: right;
  width: 280px;
  margin: 4px 0 24px 36px;
}

.img-left {
  float: left;
  width: 300px;
  margin: 4px 36px 24px 0;
}

@media (max-width: 768px) {
  .geschichte-img {
    float: none;
    width: 100%;
    margin: 24px 0;
    display: block;
  }
}

/* ── WERKLISTE ────────────────────────────────── */

.werk-section {
  margin-bottom: 40px;
}

.werk-section h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  border-bottom: 1px solid var(--amber);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.werk-table {
  width: 100%;
  border-collapse: collapse;
}

.werk-table td {
  padding: 6px 12px 6px 0;
  vertical-align: top;
  line-height: 1.5;
}

.werk-table td:first-child {
  font-style: italic;
  color: #555;
  width: 38%;
}

/* ── FOOTER ───────────────────────────────────── */

footer {
  background: var(--cream);
  color: var(--text);
  border-top: 1px solid #e8e2d9;
  padding: 30px 40px;
  text-align: center;
  font-size: 0.88rem;
}

footer .social {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

footer .social a {
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

footer .social a:hover { color: var(--amber); }

footer .legal { margin-top: 10px; }
footer .legal a { color: var(--text); margin: 0 8px; }
footer .legal a:hover { color: var(--amber); }

/* ── RESPONSIVE ────────────────────────────────── */

@media (max-width: 1100px) {
  header { padding: 0 20px; }
  nav ul { gap: 16px; }
  nav a { font-size: 12px; letter-spacing: 0.04em; }
}

@media (max-width: 768px) {
  .header-inner { height: auto; flex-direction: column; padding: 14px 0; gap: 10px; }
  .logo img { height: 36px; max-width: 100%; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 14px; }
  nav a { font-size: 13px; letter-spacing: 0.08em; }
  .hero { height: 65vh; min-height: 400px; }
  section { padding: 50px 20px; }
  .hero-content .sub { display: none; }
  .text-content { padding: 40px 20px; }
}
