/* 21versuch.de - typography and colours taken from the previous site:
   Open Sans, body #666, headings #333. Accent is the deep green of the logo. */

:root {
  --green:      #003839;   /* logo colour */
  --green-dark: #002526;
  --ink:        #333333;   /* headings, as before */
  --body:       #666666;   /* body text, as before */
  --line:       #e2e6e6;
  --bg:         #ffffff;
  --bg-soft:    #f5f8f8;
  --wrap:       1080px;
  --radius:     8px;
  --font: 'Open Sans', Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { color: var(--ink); line-height: 1.25; margin: 0 0 14px; font-weight: 700; }
h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); }
h3 { font-size: 1.1rem; }
p  { margin: 0 0 16px; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

.skip-link { position: absolute; left: -9999px; background: var(--green); color: #fff; padding: 10px 16px; z-index: 99; }
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; }
.brand img { width: 58px; height: 58px; display: block; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-weight: 700; font-size: 1.16rem; color: var(--green); }
.brand-tag  { font-size: .8rem; color: var(--body); }

.header-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* language switch, top right */
.lang-switch {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px 3px 5px; text-decoration: none;
  font-size: .8rem; color: var(--body); background: var(--bg-soft);
}
.lang-switch:hover { border-color: var(--green); color: var(--green); }
.lang-code {
  background: var(--green); color: #fff; font-weight: 700; font-size: .68rem;
  letter-spacing: .04em; border-radius: 999px; padding: 3px 8px;
}

.nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .94rem; padding-bottom: 3px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { color: var(--green); border-bottom-color: var(--green); }

/* ---------- sections ---------- */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 52px 0; }
.hero-grid { display: grid; gap: 34px; align-items: center; }
@media (min-width: 820px) { .hero-grid { grid-template-columns: 300px 1fr; } }
.hero-cover img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,56,57,.18); display: block; }
.lead { font-size: 1.06rem; }

.section { padding: 50px 0; }
.section-alt { background: var(--bg-soft); border-block: 1px solid var(--line); }

.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: var(--radius); font-weight: 600;
}
.btn:hover { background: var(--green-dark); color: #fff; }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--bg); }
.two-col { display: grid; gap: 26px; }
@media (min-width: 820px) { .two-col { grid-template-columns: 1fr 1fr; } }

.price { font-size: 1.5rem; font-weight: 700; color: var(--green); margin: 0 0 6px; }

.tags { list-style: none; margin: 0; padding: 0; }
.tags li {
  display: inline-block; font-size: .82rem; color: var(--green);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px 12px; margin: 0 6px 8px 0;
}

.gallery { display: grid; gap: 18px; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); display: block; }
.gallery figcaption { font-size: .84rem; margin-top: 7px; }

.note { background: var(--bg-soft); border-left: 3px solid var(--green); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.email { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* long legal text */
.legal { max-width: 74ch; }
.legal h2 { margin-top: 34px; font-size: 1.3rem; }
.legal h3 { margin-top: 24px; color: var(--green); font-size: 1.02rem; }
.legal p, .legal li { font-size: .95rem; }
.legal .shout { font-size: .88rem; background: var(--bg-soft); padding: 14px 16px; border-radius: var(--radius); }

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: #cfdedd; padding: 46px 0 22px; margin-top: 20px; }
.site-footer a { color: #fff; }
.footer-h { color: #fff; font-size: 1.05rem; margin: 0 0 10px; }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer .email { color: #fff; }
.footer-links, .social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.social li { margin-bottom: 9px; }
.social a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.social a:hover { text-decoration: underline; }
.social svg { width: 22px; height: 22px; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); margin-top: 30px; padding-top: 16px; font-size: .86rem; }
