:root {
  --bg: #e8b747;
  --bg-soft: #d99a2b;
  --surface: rgba(255, 250, 240, 0.94);
  --surface-strong: rgba(255, 247, 232, 0.98);
  --surface-outline: rgba(128, 82, 42, 0.16);
  --text: #670044;
  --muted: #8c4d72;
  --accent: #85005a;
  --accent-soft: #ffe4ab;
  --mango: #f9bf58;
  --mango-strong: #fdbe02;
  --terracotta: #c97d4a;
  --sage: #8c9271;
  --warm: #d18c5d;
  --shadow: 0 22px 58px rgba(103, 0, 68, 0.1);
  --shadow-soft: 0 10px 24px rgba(103, 0, 68, 0.07);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1220px, calc(100vw - clamp(1.5rem, 3vw, 3rem)));
  --space-section: clamp(3.5rem, 6vw, 6.5rem);
  --space-section-tight: clamp(2rem, 4vw, 3.5rem);
  --space-card: clamp(1.5rem, 3vw, 2.5rem);
  --space-stack: clamp(1rem, 2vw, 1.75rem);
  --text-display: clamp(3.1rem, 5vw, 4.9rem);
  --text-heading: clamp(2rem, 3.2vw, 3.25rem);
  --text-body: clamp(1rem, 1vw + 0.8rem, 1.08rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(250, 211, 112, 0.56), rgba(250, 211, 112, 0) 30%),
    radial-gradient(circle at left 20%, rgba(171, 96, 31, 0.16), rgba(171, 96, 31, 0) 26%),
    linear-gradient(180deg, #edc260 0%, #e7b84d 34%, #efc968 68%, #ffdf9a 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.5;
  pointer-events: none;
  z-index: -1;
}

body::before {
  top: 5rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  background: rgba(255, 190, 43, 0.46);
}

body::after {
  bottom: 4rem;
  left: -8rem;
  width: 22rem;
  height: 22rem;
  background: rgba(133, 75, 25, 0.18);
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

button,
input,
textarea {
  font: inherit;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--space-section-tight) 0 var(--space-section);
}

.page-shell {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(221, 160, 56, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  z-index: 25;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.7rem 0 0;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 248, 234, 0.96);
  box-shadow: 0 8px 22px rgba(103, 0, 68, 0.07);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: rgba(249, 191, 88, 0.18);
  color: var(--text);
  box-shadow: none;
  border: 1px solid rgba(92, 102, 84, 0.16);
}

.menu-toggle-lines {
  display: inline-grid;
  gap: 0.28rem;
}

.menu-toggle-lines span {
  display: block;
  width: 1.15rem;
  height: 0.12rem;
  border-radius: 999px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand strong,
.site-footer h2,
.hero h1,
.section-heading h2,
.hero-card h2,
.content-panel h2,
.quote-card,
.teaser-card h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.brand strong {
  display: block;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.16;
}

.brand-mark {
  width: 3.45rem;
  height: 3.45rem;
  flex: 0 0 3.45rem;
  display: inline-block;
  background: center / contain no-repeat url("../media/logo-mark-deavin-claret.svg");
}

.brand-mark::before,
.brand-mark::after {
  content: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem;
  border: 1px solid rgba(128, 82, 42, 0.16);
  border-radius: 999px;
  background: rgba(255, 244, 225, 0.8);
}

.lang-switcher a {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--muted);
  transition: background-color 180ms ease, color 180ms ease;
}

.lang-switcher a.is-active {
  background: rgba(249, 191, 88, 0.28);
  color: var(--text);
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active,
.nav-chip,
.nav-chip.is-active {
  color: var(--text);
  background: rgba(249, 191, 88, 0.24);
}

.nav-chip {
  border: 1px solid rgba(128, 82, 42, 0.16);
}

.hero {
  padding-top: clamp(0.8rem, 2vw, 1.6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, 0.82fr);
  gap: clamp(1.35rem, 2.6vw, 2.3rem);
  align-items: start;
}

.hero-primary-column {
  display: grid;
  gap: clamp(1.35rem, 2.4vw, 2rem);
  align-content: start;
}

.hero-grid.single-column {
  grid-template-columns: 1fr;
}

.about-hero-grid {
  align-items: start;
}

.about-hero-grid .portrait-card {
  align-self: start;
}

.hero-copy,
.hero-card,
.content-panel,
.quote-card,
.teaser-card,
.portrait-card,
.cms-toolbar,
.cms-editor {
  border: 1px solid var(--surface-outline);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 239, 213, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
  border-radius: var(--radius-xl);
  align-self: start;
  height: auto;
  min-height: 0;
}

.about-hero-grid .hero-copy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 239, 213, 0.94));
}

.about-hero-grid .hero-copy::before,
.about-hero-grid .hero-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.about-hero-grid .hero-copy::before {
  background: url("../media/Stra%C3%9Fe_Hintergrund.JPG") center center / cover no-repeat;
  filter: saturate(1.08) contrast(1.04);
  opacity: 1;
  z-index: 0;
}

.about-hero-grid .hero-copy::after {
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.66) 0%, rgba(255, 250, 240, 0.5) 52%, rgba(255, 244, 226, 0.18) 100%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.2), rgba(255, 239, 213, 0.28));
  z-index: 1;
}

.about-hero-grid .hero-copy > * {
  position: relative;
  z-index: 2;
}

.hero-profile-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.35rem, 2.6vw, 2rem);
}

.hero-profile-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.hero-profile-card p {
  margin: 0;
}

.profile-subtitle {
  color: var(--accent);
  font-weight: 600;
  line-height: 1.5;
}

.hero-reasons-intro {
  padding: 0;
  max-width: 48rem;
}

.hero h1 {
  margin: 0;
  font-size: var(--text-display);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 12ch;
}

#home-hero-title {
  font-size: clamp(2.2rem, 1.65rem + 1.4vw, 2.95rem);
  line-height: 1;
  letter-spacing: -0.022em;
  text-wrap: normal;
  max-width: 100%;
}

#home-hero-title .hero-title-line {
  display: inline;
}

#home-hero-title .hero-title-line-sub {
  display: inline-block;
  font-size: 0.64em;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin-top: 0.14em;
}

#home-hero-title .hero-title-line.nowrap {
  white-space: nowrap;
}

.hero-compact h1 {
  font-size: clamp(2.2rem, 1.7rem + 1.25vw, 2.95rem);
  line-height: 1;
  letter-spacing: -0.022em;
  text-wrap: balance;
  max-width: 14ch;
}

#services-hero-title {
  font-size: clamp(2.15rem, 1.75rem + 1.05vw, 2.95rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: normal;
  max-width: none;
}

#about-hero-title {
  font-size: clamp(1.35rem, 5vw, 2.85rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  text-wrap: normal;
  max-width: none;
}

#about-hero-title span {
  display: block;
  white-space: nowrap;
}

.lead,
.section-heading p,
.content-panel,
.teaser-card p,
.quote-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: var(--text-body);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  align-items: center;
}

.services-hero-actions {
  width: 100%;
  justify-content: flex-end;
  align-self: end;
  margin-top: 0;
}

.services-hero-copy {
  display: grid;
  gap: clamp(1.1rem, 2.1vw, 1.6rem);
}

.services-hero-heading {
  display: grid;
  gap: 0.75rem;
}

.services-hero-heading .eyebrow,
.services-hero-heading h1,
.services-hero-row .lead {
  margin: 0;
}

.services-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: end;
}

.services-hero-row .lead {
  max-width: 54rem;
}

@media (max-width: 640px) {
  .services-hero-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-hero-actions {
    justify-content: flex-start;
  }
}

.microcopy {
  margin-top: 1.75rem;
  color: var(--muted);
}

.microcopy-strong {
  color: var(--accent);
  font-weight: 600;
}

.button,
button,
.import-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.35rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #9b5f23);
  color: #fcfbf8;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: 0 12px 30px rgba(128, 82, 42, 0.22);
}

.button:hover,
button:hover,
.import-label:hover {
  transform: translateY(-1px);
}

.menu-toggle:hover {
  transform: translateY(-50%);
}

.button-secondary {
  background: rgba(249, 191, 88, 0.22);
  color: var(--text);
  box-shadow: none;
}

.button-ghost {
  background: rgba(201, 125, 74, 0.16);
  color: var(--text);
  box-shadow: none;
}

.hero-card,
.portrait-card {
  padding: var(--space-card);
  border-radius: var(--radius-xl);
  align-self: start;
  height: auto;
  min-height: 0;
}

.card-stack,
.service-grid,
.value-grid,
.two-card-grid,
.cms-layout {
  display: grid;
  gap: 1rem;
}

.card-stack {
  margin-top: var(--space-stack);
}

.info-card,
.service-card,
.value-card,
.timeline-item,
.cms-fieldset,
.stat-item {
  border: 1px solid rgba(128, 82, 42, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 248, 234, 0.98);
  box-shadow: 0 6px 18px rgba(83, 52, 24, 0.045);
}

.info-card,
.service-card,
.value-card,
.timeline-item {
  padding: 1.25rem;
}

.info-card h3,
.service-card h3,
.value-card h3,
.timeline-item h3,
.cms-fieldset legend,
.stat-item strong {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(23rem, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: start;
}

.section-heading h2 {
  margin: 0 0 0.75rem;
  font-size: var(--text-heading);
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 14ch;
}

.section-heading > p:last-child,
.hero-copy .lead,
.hero-copy .microcopy,
.hero-card > p:not(.eyebrow),
.teaser-card > div > p,
.content-panel > p:not(.eyebrow),
.rich-copy,
.contact-hint {
  max-width: 72ch;
}

.section-link {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.content-panel {
  padding: var(--space-card);
  border-radius: var(--radius-lg);
  height: auto;
  min-height: 0;
}

.bullet-grid,
.stat-grid,
.timeline,
.detail-list,
.story-copy,
.tag-list,
.rich-copy {
  display: grid;
  gap: 0.9rem;
}

.rich-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.content-subtitle {
  margin: -0.15rem 0 1rem;
  color: var(--accent);
  font-weight: 600;
}

.about-story-flow {
  margin-top: 1.75rem;
}

.about-story-flow p {
  margin: 0;
  color: var(--text);
  line-height: 1.78;
}

.about-story-flow p + p {
  color: var(--muted);
}

.about-story-flow .story-subheading {
  margin-top: 0.6rem;
  color: var(--accent);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.15rem;
  line-height: 1.25;
}

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

.bullet-item {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 241, 214, 0.98), rgba(255, 227, 177, 0.88));
  border: 1px solid rgba(128, 82, 42, 0.12);
  color: var(--text);
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.stat-item {
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 236, 199, 0.96));
}

.stat-item strong {
  display: block;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 600;
}

.quote-section {
  padding-top: 0;
}

.quote-card {
  margin: 0;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1.35rem, 2.4vw, 1.8rem) clamp(1.5rem, 3vw, 2.6rem);
  border-radius: var(--radius-xl);
  text-align: center;
}

.quote-card p {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.6;
}

.quote-card p::before,
.quote-card p::after {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  color: rgba(201, 125, 74, 0.5);
}

.quote-card p::before {
  content: "“ ";
}

.quote-card p::after {
  content: " ”";
}

.quote-card cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.service-grid-full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-highlight {
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(128, 82, 42, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 230, 181, 0.74), rgba(255, 246, 228, 0.96));
  box-shadow: var(--shadow-soft);
}

.hero-grid.single-column .services-highlight {
  margin-top: 0.2rem;
}

.services-overview-heading {
  margin-bottom: 1.2rem;
}

.services-overview-heading .eyebrow {
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 2.1vw, 1.45rem);
  letter-spacing: 0.05em;
  text-transform: none;
  font-weight: 600;
}

.services-overview-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.service-card p,
.value-card p,
.timeline-item p,
.info-card p,
.detail-list li,
.cms-field p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.service-card,
.value-card,
.timeline-item,
.info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.service-card p,
.value-card p,
.timeline-item p,
.info-card p {
  flex: 1;
}

#home-services-preview,
#services-list {
  align-items: stretch;
}

.teaser-card {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.25rem;
  padding: var(--space-card);
  border-radius: var(--radius-xl);
  min-height: 0;
}

.teaser-card > div {
  flex: 1 1 auto;
}

.home-contact-card {
  gap: clamp(1.25rem, 3vw, 2rem);
}

.home-page .section {
  padding: clamp(1.5rem, 3vw, 2.45rem) 0 clamp(2.75rem, 5vw, 4rem);
}

.home-page .hero {
  padding: clamp(0.85rem, 2vw, 1.45rem) 0 clamp(1.1rem, 2.2vw, 1.7rem);
}

.home-page .hero-grid {
  gap: clamp(1.35rem, 2.4vw, 2.2rem);
}

.home-page .hero-primary-column {
  display: grid;
  gap: clamp(1.15rem, 2.2vw, 1.8rem);
  align-content: start;
}

.home-page .hero-copy,
.home-page .hero-card,
.home-page .content-panel,
.home-page .teaser-card {
  box-shadow: var(--shadow-soft);
}

.home-page .hero-copy {
  padding: clamp(1.8rem, 3.3vw, 2.8rem);
}

.home-page .hero-profile-card {
  padding: clamp(1.35rem, 2.4vw, 1.9rem);
}

.home-page .hero-profile-card > * + * {
  margin-top: 0.15rem;
}

.home-page .hero-reasons-intro {
  max-width: 48rem;
}

.home-page .home-reasons-cards-section {
  padding-top: clamp(0.75rem, 1.5vw, 1.25rem);
}

.home-page .section-intro,
.home-page .home-approach-layout .section-heading,
.home-page .home-jung-layout .section-heading,
.home-page .home-about-layout .section-heading {
  display: grid;
  gap: clamp(0.7rem, 1.2vw, 1rem);
}

.home-page .section-intro,
.home-page .home-jung-layout .section-heading,
.home-page .home-about-layout .section-heading {
  max-width: 50rem;
}

.home-page .section-intro .eyebrow,
.home-page .section-intro h2,
.home-page .section-intro p,
.home-page .home-approach-layout .section-heading .eyebrow,
.home-page .home-approach-layout .section-heading h2,
.home-page .home-approach-layout .section-heading p,
.home-page .home-jung-layout .section-heading .eyebrow,
.home-page .home-jung-layout .section-heading h2,
.home-page .home-jung-layout .section-heading p,
.home-page .home-about-layout .section-heading .eyebrow,
.home-page .home-about-layout .section-heading h2,
.home-page .home-about-layout .section-heading p {
  margin: 0;
}

.home-page .section-intro h2,
.home-page .home-approach-layout .section-heading h2,
.home-page .home-jung-layout .section-heading h2,
.home-page .home-about-layout .section-heading h2 {
  font-size: clamp(1.8rem, 2.25vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.home-page .section-intro h2 {
  max-width: 13ch;
}

.home-page .home-jung-layout .section-heading h2,
.home-page .home-about-layout .section-heading h2 {
  max-width: 15ch;
}

.home-page .home-approach-layout,
.home-page .home-jung-layout,
.home-page .home-about-layout {
  gap: clamp(1.35rem, 2.6vw, 2.2rem);
}

.home-page .home-jung-layout .service-grid {
  grid-template-columns: 1fr;
}

.home-page .section-button {
  margin-top: 0.35rem;
  width: fit-content;
}

.site-footer {
  padding: 0.75rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.25rem 1.5rem 0.8rem;
  border-top: 1px solid rgba(128, 82, 42, 0.18);
  align-items: start;
}

.footer-contact {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  justify-self: end;
  text-align: right;
  align-self: end;
  padding-top: 0.7rem;
}

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  padding-top: 0.7rem;
  margin-top: 0.15rem;
  color: var(--muted);
  border-top: 1px solid rgba(128, 82, 42, 0.12);
}

.footer-legal-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-block;
  background: center / contain no-repeat url("../media/logo-mark-deavin-claret.svg");
}

.footer-legal a {
  color: var(--accent);
  font-size: 0.82rem;
  opacity: 0.8;
}

.footer-legal a:first-of-type {
  justify-self: end;
}

.footer-legal a:last-of-type {
  justify-self: start;
}

.footer-admin-link {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: 0.15rem;
}

.footer-admin-link a {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.62;
}

.portrait-card {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.portrait-art {
  min-height: 18rem;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0) 26%),
    radial-gradient(circle at 50% 34%, rgba(249, 191, 88, 0.36), rgba(249, 191, 88, 0) 32%),
    linear-gradient(160deg, rgba(122, 74, 31, 0.84), rgba(201, 125, 74, 0.62));
  position: relative;
  overflow: hidden;
}

.editable-photo {
  min-height: 17rem;
  border-radius: calc(var(--radius-xl) - 6px);
  background:
    linear-gradient(135deg, rgba(122, 74, 31, 0.82), rgba(249, 191, 88, 0.58)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 14px);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: rgba(249, 191, 88, 0.2);
  position: relative;
  overflow: hidden;
}

.editable-photo::after {
  content: "Foto";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(252, 251, 248, 0.88);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.editable-photo.has-image::after {
  content: "";
  display: none;
}

.portrait-art::before,
.portrait-art::after {
  content: "";
  position: absolute;
  background: rgba(255, 245, 220, 0.82);
}

.portrait-art::before {
  inset: 22% 31% 30% 31%;
  border-radius: 46% 46% 38% 38%;
}

.portrait-art::after {
  inset: 50% 24% 4% 24%;
  border-radius: 48% 48% 16% 16%;
}

.portrait-art.has-image::before,
.portrait-art.has-image::after {
  display: none;
}

.tag-list,
.detail-list {
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(249, 191, 88, 0.2);
}

#home-hero-image {
  min-height: clamp(16rem, 28vw, 20rem);
}

#home-profile-cta,
#home-about-cta,
#home-cta-button,
#services-hero-cta {
  align-self: flex-start;
}

.contact-section {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.5rem;
}

.contact-field label,
.checkbox-field {
  color: var(--text);
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(128, 82, 42, 0.2);
  border-radius: 14px;
  background: rgba(255, 252, 244, 0.98);
  padding: 0.85rem 1rem;
  color: var(--text);
}

.contact-field textarea {
  min-height: 9rem;
  resize: vertical;
}

.contact-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 400;
}

.checkbox-field input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.checkbox-field a,
.footer-legal a,
.cms-links a {
  color: var(--accent);
}

.contact-status {
  margin: 0;
  min-height: 1.4rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-status.is-success {
  color: #2f5d41;
}

.contact-status.is-error {
  color: #8b3b35;
}

.contact-status.is-preview {
  color: var(--accent);
}

.value-grid,
.two-card-grid,
.cms-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cms-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.admin-auth {
  min-height: calc(100vh - 7rem);
  display: grid;
  align-items: center;
}

.auth-shell {
  display: grid;
  justify-items: center;
}

.auth-card {
  width: min(100%, 34rem);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-outline);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.99), rgba(255, 239, 213, 0.96));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.auth-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.import-label {
  position: relative;
  background: rgba(249, 191, 88, 0.22);
  color: var(--text);
  box-shadow: none;
}

.import-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.cms-layout {
  align-items: start;
}

.cms-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.cms-links a {
  color: var(--accent);
}

.cms-editor {
  padding: 1rem;
  border-radius: var(--radius-lg);
}

.admin-editing {
  padding-bottom: 5.5rem;
}

.admin-editing [data-edit] {
  outline: 2px solid rgba(201, 125, 74, 0.22);
  outline-offset: 4px;
  border-radius: 0.35rem;
  transition: outline-color 160ms ease, background-color 160ms ease;
}

.admin-editing [data-edit]:hover,
.admin-editing [data-edit]:focus-visible {
  outline-color: rgba(201, 125, 74, 0.66);
  background: rgba(255, 241, 214, 0.48);
}

.admin-editing a[data-edit],
.admin-editing .editable-link-text {
  outline: none;
  cursor: pointer;
}

.admin-editing a[data-edit]:hover,
.admin-editing .editable-link-text:hover {
  background: transparent;
}

.admin-editing [data-edit].is-dirty {
  outline-color: rgba(249, 191, 88, 0.86);
}

.inline-edit-button {
  position: absolute;
  z-index: 58;
  min-width: 0;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(128, 82, 42, 0.2);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.96);
  color: var(--accent);
  box-shadow: 0 8px 20px rgba(83, 52, 24, 0.14);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: lowercase;
  backdrop-filter: blur(12px);
}

.inline-edit-button:hover {
  background: var(--accent);
  color: #fcfbf8;
}

.admin-editing [data-image] {
  cursor: pointer;
  outline: 2px dashed rgba(201, 125, 74, 0.58);
  outline-offset: 5px;
}

.admin-editing [data-image]::before {
  content: "Foto bearbeiten";
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.92);
  color: var(--accent);
  font-size: 0.78rem;
}

.inline-admin-toolbar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: min(56rem, calc(100vw - 1rem));
  padding: 0.65rem;
  border: 1px solid rgba(128, 82, 42, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.95);
  box-shadow: 0 18px 44px rgba(83, 52, 24, 0.18);
  backdrop-filter: blur(18px);
}

.inline-admin-toolbar strong {
  padding-inline: 0.65rem;
  color: var(--accent);
  white-space: nowrap;
}

.inline-admin-toolbar span {
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(249, 191, 88, 0.18);
  color: var(--muted);
  font-size: 0.78rem;
}

.inline-admin-toolbar button {
  padding: 0.65rem 0.85rem;
  box-shadow: none;
  font-size: 0.9rem;
}

.admin-login-overlay,
.text-editor-overlay,
.image-editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(62, 40, 24, 0.34);
  backdrop-filter: blur(10px);
}

.admin-login-card,
.text-editor-card,
.image-editor-card {
  width: min(100%, 34rem);
  padding: 1.5rem;
  border: 1px solid var(--surface-outline);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 240, 0.98);
  box-shadow: var(--shadow);
}

.text-editor-card,
.image-editor-card {
  display: grid;
  gap: 1rem;
}

.image-editor-card {
  width: min(100%, 46rem);
}

.text-editor-card textarea {
  min-height: 12rem;
  max-height: min(48vh, 24rem);
}

.image-adjust-preview {
  min-height: min(34vh, 18rem);
  border: 1px solid rgba(128, 82, 42, 0.18);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(249, 191, 88, 0.18), rgba(201, 125, 74, 0.16)),
    repeating-linear-gradient(45deg, rgba(128, 82, 42, 0.08) 0 1px, transparent 1px 14px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

.image-adjust-preview:not(.has-image)::before {
  content: "Vorschau";
  display: grid;
  min-height: min(34vh, 18rem);
  place-items: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.image-adjust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.image-adjust-grid label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.image-adjust-grid input {
  width: 100%;
  accent-color: var(--accent);
}

.text-editor-actions,
.image-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.image-file-label {
  justify-self: start;
}

.editor-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.editor-copy p {
  margin-bottom: 0;
}

.language-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.language-tabs button {
  background: rgba(249, 191, 88, 0.18);
  color: var(--text);
  box-shadow: none;
}

.language-tabs button.is-active {
  background: var(--accent);
  color: #fcfbf8;
}

.cms-form {
  display: grid;
  gap: 1rem;
}

.cms-fieldset {
  padding: 1rem;
}

.cms-fieldset legend {
  padding: 0 0.4rem;
  color: var(--text);
}

.cms-field,
.cms-array-item {
  display: grid;
  gap: 0.5rem;
}

.cms-field + .cms-field,
.cms-array-item + .cms-array-item,
.cms-fieldset + .cms-fieldset {
  margin-top: 0.9rem;
}

.cms-field label {
  font-weight: 600;
}

.cms-field input,
.cms-field textarea {
  width: 100%;
  border: 1px solid rgba(128, 82, 42, 0.2);
  border-radius: 14px;
  background: rgba(255, 252, 244, 0.98);
  padding: 0.85rem 1rem;
  color: var(--text);
}

.cms-field textarea {
  min-height: 7rem;
  resize: vertical;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: rgba(62, 40, 24, 0.94);
  color: #fcfbf8;
  box-shadow: var(--shadow);
}

.site-access-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(255, 232, 190, 0.76);
  backdrop-filter: blur(18px);
}

.site-access-card {
  width: min(100%, 34rem);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-outline);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.99), rgba(255, 239, 213, 0.96));
  box-shadow: var(--shadow);
}

.site-access-card h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.site-access-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.site-access-error {
  margin: 0.85rem 0 0;
  color: #8b3b35;
  font-size: 0.95rem;
}

.legal-layout {
  display: grid;
  gap: 1rem;
}

.legal-section {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-outline);
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 239, 213, 0.94));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.legal-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-section ul {
  margin: 0;
  padding-left: 1.2rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(133, 0, 90, 0.34);
  outline-offset: 3px;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  body.menu-open .page-shell::after {
    opacity: 1;
  }

  .hero-grid,
  .split-layout,
  .service-grid,
  .service-grid-full,
  .value-grid,
  .two-card-grid,
  .cms-layout {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .bullet-grid {
    grid-template-columns: 1fr;
  }

  .teaser-card {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero h1,
  .section-heading h2 {
    max-width: 100%;
  }

  .home-page .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .home-page .hero-primary-column {
    display: contents;
  }

  .home-page .hero-copy {
    order: 1;
  }

  .home-page .hero-profile-card {
    order: 2;
  }

  .home-page .hero-reasons-intro {
    order: 3;
  }

  .about-hero-grid {
    display: flex;
    flex-direction: column;
  }

  .about-hero-grid .portrait-card {
    order: 1;
  }

  .about-hero-grid .hero-copy {
    order: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    justify-content: center;
    align-items: center;
  }

  .nav-bar {
    position: relative;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 4.5rem 0.85rem 1rem;
  }

  .brand {
    flex: 1;
    min-width: 0;
    max-width: none;
  }

  .brand span:last-child {
    min-width: 0;
  }

  .brand strong,
  .brand small {
    overflow: visible;
    text-overflow: clip;
  }

  .brand strong {
    white-space: normal;
    line-height: 1.1;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    z-index: 30;
    padding: 0.75rem;
    border: 1px solid rgba(92, 102, 84, 0.16);
    border-radius: 22px;
    background: rgba(250, 247, 241, 0.98);
    box-shadow: var(--shadow-soft);
    z-index: 31;
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lang-switcher {
    display: none;
  }

  .lang-switcher.is-open {
    display: grid;
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.55rem;
    border-radius: 18px;
    background: rgba(250, 247, 241, 0.98);
    box-shadow: none;
  }

  .site-header,
  .nav-bar,
  .menu-toggle {
    z-index: 32;
  }

  body.menu-open .brand {
    opacity: 0.16;
    filter: blur(6px);
    transition: opacity 180ms ease, filter 180ms ease;
  }

  body.menu-open .brand-mark,
  body.menu-open .brand strong,
  body.menu-open .brand small {
    opacity: 0.16;
  }

  .inline-admin-toolbar {
    align-items: stretch;
    border-radius: 22px;
    flex-wrap: wrap;
  }

  .inline-admin-toolbar button {
    flex: 1 1 9rem;
  }

  .image-adjust-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  #home-hero-title {
    max-width: none;
  }

  #home-hero-title .hero-title-line {
    display: block;
    white-space: nowrap;
  }

  #home-hero-title .hero-title-line-sub {
    font-size: 0.52em;
    margin-top: 0.2em;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 1.25rem 0 clamp(2.5rem, 8vw, 3.5rem);
  }

  .site-header {
    padding: 0.8rem 0;
  }

  .nav-bar {
    gap: 0.55rem;
    padding: 0.75rem 4rem 0.75rem 0.9rem;
    border-radius: 28px;
  }

  .menu-toggle {
    right: 0.8rem;
    width: 2.8rem;
    height: 2.8rem;
  }

  .brand {
    align-items: center;
    gap: 0.7rem;
    width: auto;
    max-width: calc(100% - 0.5rem);
  }

  .brand-mark {
    width: 2.85rem;
    height: 2.85rem;
    flex: 0 0 auto;
  }

  .brand strong {
    font-size: 1.05rem;
    line-height: 1.08;
  }

  .brand small {
    font-size: 0.9rem;
    line-height: 1.14;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.02;
  }

  .hero-copy,
  .hero-card,
  .content-panel,
  .quote-card,
  .teaser-card,
  .portrait-card {
    padding: clamp(1.15rem, 4vw, 1.4rem);
  }

  .services-highlight {
    padding: 1rem;
  }

  .hero-copy {
    padding: clamp(1.15rem, 4vw, 1.35rem);
  }

  .lead,
  .section-heading p,
  .content-panel,
  .teaser-card p,
  .quote-card p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .site-nav,
  .hero-actions,
  .cms-toolbar,
  .language-tabs {
    width: 100%;
  }

  .site-nav a,
  .hero-actions .button,
  .teaser-card .button,
  .cms-toolbar button,
  .cms-toolbar .import-label,
  .language-tabs button,
  .section-link .button {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .lang-switcher {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lang-switcher.is-open {
    display: grid;
  }

  .lang-switcher a {
    text-align: center;
  }

  .site-nav a {
    text-align: center;
    padding: 0.82rem 0.95rem;
  }

  .about-story-flow {
    margin-top: 1.2rem;
    gap: 0.8rem;
  }

  .about-story-flow p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .about-story-flow .story-subheading {
    margin-top: 1rem;
    font-size: 1.04rem;
    line-height: 1.3;
  }

  .about-hero-grid {
    gap: 1rem;
  }

  .portrait-art,
  .editable-photo {
    min-height: 14rem;
  }

  .portrait-card {
    gap: 1rem;
  }

  .tag-list li {
    padding: 0.75rem 0.9rem;
    line-height: 1.45;
  }

  .footer-contact,
  .footer-legal {
    width: 100%;
  }

  .footer-contact {
    justify-self: stretch;
    text-align: left;
    align-self: start;
    padding-top: 0;
    gap: 0.35rem;
  }

  .footer-legal {
    text-align: center;
    gap: 0.6rem;
  }

  .inline-admin-toolbar {
    bottom: 0.5rem;
  }

  .inline-admin-toolbar strong,
  .inline-admin-toolbar span,
  .inline-admin-toolbar button {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
