/* Weinhandel Hirschmann – Farbschema der bisherigen Seite beibehalten */
:root {
  --body-bg: #780000;
  --body-fg: #ffffff;
  --link: #00c8fa;
  --link-h: #b9b9b9;
  --head-bg: #c2c2c2;
  --head-fg: #000000;
  --card-bg: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .25);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--body-bg);
  color: var(--body-fg);
  font: 1rem/1.65 "Segoe UI", Roboto, Arial, sans-serif;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover, a:focus { color: var(--link-h); }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 1.5rem 16px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
h1 { font-size: 2rem; margin: .5em 0; }
h2 { font-size: 1.7rem; margin: 1.2em 0 .4em; }
h3 { font-size: 1.3rem; margin: 1em 0 .4em; }
.lead { font-size: 1.15rem; font-style: italic; }

/* Kopf */
.site-header { background: var(--head-bg); color: var(--head-fg); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .5rem; padding-bottom: .5rem; }
.brand img { display: block; height: 50px; width: auto; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.menu a { display: block; padding: .6rem .9rem; color: var(--head-fg); text-decoration: none; border-radius: 4px; }
.menu a:hover, .menu a:focus, .menu .active > a { background: var(--body-bg); color: #fff; }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 0; display: none; position: absolute; left: 0; top: 100%; min-width: 220px; background: var(--head-bg); box-shadow: 0 6px 12px rgba(0, 0, 0, .35); border-radius: 0 0 4px 4px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.nav-toggle { display: none; background: var(--body-bg); color: #fff; border: 0; padding: .6rem 1rem; border-radius: 4px; font: inherit; cursor: pointer; }

/* Inhalt */
.hero { background: #140805; text-align: center; }
.hero img { display: block; margin: 0 auto; width: 100%; height: auto; max-height: calc(100vh - 70px); object-fit: contain; }
.round { border-radius: 12px; }
.banner { width: 100%; max-height: 360px; object-fit: cover; border-radius: 8px; }
.kunde { max-height: 120px; background: #fff; padding: 8px; border-radius: 6px; }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { display: flex; flex-wrap: wrap; justify-content: center; }
.grid-3 > .card { flex: 0 1 calc((100% - 2.5rem) / 3); }
.card { background: var(--card-bg); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem; text-align: center; }
.card img { border-radius: 6px; }
.card h3 { margin-top: .6em; }
.winzer { position: relative; }
.badge { margin: 0 0 .5rem; font-weight: 700; color: #ffd7d7; }
.btn { display: inline-block; background: var(--body-bg); color: #e6e6e6; border: 1px solid #b9b9b9; padding: .55rem 1.1rem; border-radius: 4px; text-decoration: none; font: inherit; cursor: pointer; }
.btn:hover, .btn:focus { background: #fff; color: var(--body-bg); }
.btn.big { font-size: 1.15rem; padding: .8rem 1.6rem; }
.steps { text-align: left; display: inline-block; margin: 0 auto 1.5rem; padding-left: 1.4rem; }
.liste { border: 1px solid var(--line); background: #fff; }
.map iframe { width: 100%; height: 420px; border: 0; border-radius: 8px; background: #fff; }
.map { margin-top: 1.5rem; }

/* Tabs */
.tablist { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 1rem; }
.tablist button { background: transparent; color: #fff; border: 1px solid #b9b9b9; padding: .55rem 1.1rem; border-radius: 4px; font: inherit; cursor: pointer; }
.tablist button[aria-selected="true"] { background: #fff; color: var(--body-bg); font-weight: 700; }
.tabs.js .tabpanel[hidden] { display: none; }
.tabpanel { background: var(--card-bg); border: 1px solid var(--line); border-radius: 10px; padding: 1.2rem; overflow: auto; }
.tabimg { float: left; margin: 0 1.2rem .6rem 0; max-width: 40%; border-radius: 6px; }

/* Rechtstexte */
.legal h1, .legal h2, .legal h3 { margin-top: 1.4em; }
.legal h2 { font-size: 1.45rem; }
.legal h3 { font-size: 1.2rem; }
.legal p { margin: .6em 0; }
.legal { overflow-wrap: anywhere; hyphens: auto; }

/* Fuss */
.site-footer { background: var(--head-bg); color: var(--head-fg); text-align: center; margin-top: 2rem; }
.site-footer a { color: #00334d; }
.site-footer a:hover { color: #000; }
.site-footer p { margin: .3rem 0; }

@media (max-width: 900px) {
  .grid-3 > .card { flex-basis: calc((100% - 1.25rem) / 2); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-in { flex-wrap: wrap; }
  nav { width: 100%; }
  .menu { display: none; flex-direction: column; width: 100%; padding-bottom: .5rem; }
  .menu.open { display: flex; }
  .sub { display: block; position: static; box-shadow: none; padding-left: 1rem; background: transparent; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 > .card { flex-basis: 100%; }
  .tabimg { float: none; display: block; max-width: 100%; margin: 0 0 1rem; }
  h1 { font-size: 1.7rem; }
}

.mosaic { display: block; margin: 0 auto; width: 100%; max-width: 640px; height: auto; border-radius: 8px; }
