/* Copyright 2026 rolf-bartel.de */

:root {
  --text: #1f1a17;
  --muted: #5f5249;
  --heading: #96507a;
  --accent: #9a7a3b;
  --white: #fff;

  --bg-soft: #f3efeb;
  --card: rgba(255, 250, 246, 0.84);
  --card-strong: rgba(255, 250, 246, 0.94);
  --panel: rgba(250, 243, 234, 0.4);

  .card {
	width: min(100%, 720px);
	padding: 40px 36px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 28px;
	box-shadow: var(--shadow);
	text-align: center;
	backdrop-filter: blur(10px);
}

  --border: rgba(255, 255, 255, 0.55);
  --border-strong: rgba(255, 255, 255, 0.78);

  --link-bg: rgba(255, 255, 255, 0.72);
  --link-bg-hover: rgba(246, 240, 231, 0.96);

  --shadow: 0 20px 60px rgba(43, 31, 19, 0.14);
  --shadow-soft: 0 12px 32px rgba(43, 31, 19, 0.09);

  --radius: 28px;
  --container: 1180px;
  --header-height: 84px;
  --anchor-offset: calc(var(--header-height) + 28px);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  hyphens: auto;
}

body {
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background-image: url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.background-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 251, 245, 0.72), rgba(255, 245, 234, 0.52)),
    rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.narrow {
  width: min(calc(100% - 32px), 900px);
}

.section {
  position: relative;
  z-index: 1;
  padding: 44px 0;
}

.anchor-target {
  scroll-margin-top: var(--anchor-offset);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 248, 240, 0.58);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 20px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-name {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.2rem;
  color: var(--heading);
  font-weight: 700;
}

.nav-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.main-nav a,
.site-footer nav a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  background: var(--link-bg-hover);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 0;
  box-shadow: var(--shadow-soft);
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 24px;
}

.nav-toggle span:nth-child(3) {
  top: 31px;
}

.nav-toggle.is-active span:nth-child(1) {
  top: 24px;
  transform: rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  top: 24px;
  transform: rotate(-45deg);
}

.hero {
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero-card,
.contact-card,
.content-panel,
.info-card,
.photo-copy,
.photo-card {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-card {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 56px 48px;
  border-radius: var(--radius);
  text-align: center;
 
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02)),
    var(--panel);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-badge i {
  color: var(--heading);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--heading);
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--heading);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  color: var(--text);
}

.hero-subtitle {
  margin: 0 0 20px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--muted);
}

.hero-text,
.section-head p,
.content-panel p,
.info-card p,
.contact-copy p,
address,
li {
  font-size: 1.02rem;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 30px;
}

.hero-info-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.hero-info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px;
  text-align: left;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.62);
}

.hero-info-item i {
  margin-top: 4px;
  color: var(--heading);
  font-size: 1.05rem;
}

.hero-address,
.contact-copy address {
  font-style: normal;
  color: var(--muted);
  margin: 0;
}

.hero-info-text {
  margin: 0;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-meta {
  margin-top: 18px;
}

.hero-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.grid {
  display: grid;
  gap: 22px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 28px 24px;
  border-radius: 22px;
}

.card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(150, 80, 122, 0.12);
  color: var(--heading);
  font-size: 1.2rem;
}

.alt-section {
  background: rgba(255, 248, 240, 0.3);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.content-panel {
  padding: 34px 30px;
  border-radius: 24px;
}

.lead {
  font-weight: 600;
  color: var(--muted);
  margin-top: -8px;
}

.check-list,
.process-list {
  margin: 0;
  padding-left: 22px;
}

.check-list li + li,
.process-list li + li {
  margin-top: 10px;
}

.photo-section {
  padding-top: 20px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 22px;
  align-items: stretch;
}

.photo-card {
  border-radius: 24px;
  overflow: hidden;
  min-height: 260px;
}

.photo-card-large {
  grid-row: span 2;
  min-height: 100%;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-copy {
  padding: 28px 24px;
  border-radius: 24px;
  align-self: end;
  margin-bottom: 15px;
}

.contact-section {
  padding-bottom: 96px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  padding: 36px;
  border-radius: var(--radius);
}

.contact-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.contact-note i {
  margin-top: 4px;
  color: var(--heading);
}

.contact-note p {
  margin: 0;
  color: var(--muted);
}

.contact-boxes {
  display: grid;
  gap: 14px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  text-decoration: none;
  background: var(--link-bg);
  border: 1px solid var(--border-strong);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact-box:hover,
.contact-box:focus-visible,
.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.contact-box:hover,
.contact-box:focus-visible {
  background: var(--link-bg-hover);
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(150, 80, 122, 0.12);
  color: var(--heading);
  font-size: 1.1rem;
}

.contact-content {
  display: block;
  min-width: 0;
}

.contact-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-word;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-small {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.btn-primary {
  background: rgba(150, 80, 122, 0.96);
  color: #ffffff;
  border-color: rgba(150, 80, 122, 0.96);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: rgba(129, 65, 103, 0.98);
  border-color: rgba(129, 65, 103, 0.98);
}

.btn-outline {
  background: var(--link-bg);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--link-bg-hover);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 24px 0 40px;
  background: rgba(34, 24, 17, 0.24);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: #514c49;
}

.footer-inner p {
  margin: 0;
}

.footer-inner nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(150, 80, 122, 0.34);
  outline-offset: 3px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border-strong);
  background: var(--link-bg);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    background-color 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--link-bg-hover);
  transform: translateY(0);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .cards-3,
  .split,
  .contact-card,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-card-large {
    grid-row: auto;
  }

  .hero-info-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 76px;
    --anchor-offset: calc(var(--header-height) + 22px);
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .nav-area {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(244, 237, 225, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transition:
      opacity 0.22s ease,
      transform 0.24s ease,
      visibility 0.24s ease;
  }

  .nav-area.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav,
  .header-actions {
    flex-direction: column;
    width: 100%;
  }

  .main-nav a,
  .header-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 861px) {
  .nav-area {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }
}

@media (max-width: 640px) {
  :root {
    --anchor-offset: calc(var(--header-height) + 18px);
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 54px;
  }

  .hero-card,
  .content-panel,
  .contact-card,
  .info-card,
  .photo-copy,
  .photo-card {
    border-radius: 22px;
  }

  .hero-card {
    padding: 34px 22px;
  }

  .content-panel,
  .contact-card,
  .info-card,
  .photo-copy {
    padding: 24px 20px;
  }

  .hero-actions,
  .footer-inner,
  .footer-inner nav {
    flex-direction: column;
  }

  .btn,
  .contact-box,
  .site-footer nav a {
    width: 100%;
  }

  .footer-inner {
    align-items: stretch;
    text-align: center;
  }

  .container,
  .narrow {
    width: min(calc(100% - 24px), var(--container));
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .hero-text,
  .section-head p,
  .content-panel p,
  .info-card p,
  .contact-copy p,
  address,
  li {
    font-size: 1rem;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 18px;
    font-size: 0.8rem;
  }

  .hero-info-item {
    padding: 16px;
  }

  .contact-box {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}