/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --skin: #a03e45;
  --skin-dark: #8a2f36;
  --dark: #323a43;
  --darkgrey: #3d444c;
  --grey-bg: #f4f4f4;
  --white: #fff;
  --text: #555;
  --red-accent: #a50009;
  --blog-red: #be1b2c;
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/playfair-display-v40-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/playfair-display-v40-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/playfair-display-v40-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/playfair-display-v40-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/playfair-display-v40-latin-regular.svg#PlayfairDisplay') format('svg'); /* Legacy iOS */
}
/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/playfair-display-v40-latin-700.eot'); /* IE9 Compat Modes */
  src: url('fonts/playfair-display-v40-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/playfair-display-v40-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/playfair-display-v40-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/playfair-display-v40-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/playfair-display-v40-latin-700.svg#PlayfairDisplay') format('svg'); /* Legacy iOS */
}

/* montserrat-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/montserrat-v31-latin-300.eot'); /* IE9 Compat Modes */
  src: url('fonts/montserrat-v31-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/montserrat-v31-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/montserrat-v31-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/montserrat-v31-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/montserrat-v31-latin-300.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v31-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/montserrat-v31-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/montserrat-v31-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/montserrat-v31-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/montserrat-v31-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/montserrat-v31-latin-regular.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/montserrat-v31-latin-500.eot'); /* IE9 Compat Modes */
  src: url('fonts/montserrat-v31-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/montserrat-v31-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/montserrat-v31-latin-500.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/montserrat-v31-latin-500.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/montserrat-v31-latin-500.svg#Montserrat') format('svg'); /* Legacy iOS */
}
/* montserrat-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v31-latin-600.eot'); /* IE9 Compat Modes */
  src: url('fonts/montserrat-v31-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/montserrat-v31-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/montserrat-v31-latin-600.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/montserrat-v31-latin-600.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/montserrat-v31-latin-600.svg#Montserrat') format('svg'); /* Legacy iOS */
}

/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/roboto-v51-latin-300.eot'); /* IE9 Compat Modes */
  src: url('fonts/roboto-v51-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v51-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v51-latin-300.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/roboto-v51-latin-300.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/roboto-v51-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/roboto-v51-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/roboto-v51-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/roboto-v51-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/roboto-v51-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/roboto-v51-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/roboto-v51-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--blog-red);
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 54px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.18;
  text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.6);
}

/* ── TOP BAR ── */
.top-bar {
  background: var(--white);
  padding: 18px 0 12px;
  border-bottom: 1px solid #eee;
}
.top-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.6;
}
.logo-text strong {
  display: block;
  font-size: 20px;
  letter-spacing: 4px;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 32px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.info-item i {
  color: var(--skin);
  font-size: 18px;
}
.info-item .label {
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  color: var(--dark);
}
.info-item .value {
  font-size: 13px;
  color: #666;
}
.info-item .value a {
  color: #666;
}
.info-item .value a:hover {
  color: var(--skin);
}

.btn-termin {
  background: transparent;
  border: 2px solid var(--skin);
  color: var(--skin);
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all 0.25s;
  white-space: nowrap;
}
.btn-termin:hover {
  background: var(--skin);
  color: white;
}

/* ── NAV ── */
nav.main-nav {
  background: var(--darkgrey);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav.main-nav .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .nav-links {
  list-style: none;
}
@media (min-width: 901px) {
  nav .nav-links {
    display: flex;
  }
}
nav .nav-links li {
  position: relative;
}
nav .nav-links > li > a {
  display: block;
  padding: 22px 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition:
    color 0.2s,
    background 0.2s;
  list-style-type: none !important;
}
nav .nav-links > li > a:hover,
nav .nav-links > li.active > a {
  color: #fff;
  background: var(--skin);
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark);
  min-width: 240px;
  z-index: 200;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  list-style-type: none !important;
}
@media (min-width: 901px) {
  nav .nav-links li:hover .sub-menu {
    display: block;
  }
}
.sub-menu li a {
  display: block;
  padding: 11px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  letter-spacing: 0.3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
}
.sub-menu li a:hover {
  background: var(--skin);
  color: #fff;
  padding-left: 28px;
}

.nav-search-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
  padding: 0 10px;
}

/* ── HAMBURGER & SUBMENU TOGGLE ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sub-toggle {
  display: none;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  padding: 0 14px;
  font-size: 14px;
  transition: color 0.2s;
}
.sub-toggle:hover {
  color: white;
}
.sub-toggle i {
  display: inline-block;
  transition: transform 0.3s ease;
}
.sub-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #c8c9c7;
}

.hero-unterseite {
  height: 250px;
  background: url("files/TitleBar.webp") center top / cover no-repeat;
}

.hero-unterseite-kontakt {
  height: 400px;
  background: url("files/TitleBar_Kontakt.webp") center top / cover no-repeat;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background: url("files/Start1NEU-e1622464845816.jpg") center top / cover
    no-repeat;
  animation: kenBurns 12s ease infinite alternate;
}
@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}
.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 54px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.18;
  animation: fadeInLeft 1s ease 0.5s both;
  text-shadow: 1px 1px 6px rgba(255, 255, 255, 0.6);
}
.hero-taglines {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-60%);
  text-align: right;
}
.hero-tagline {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.6;
  animation: fadeInRight 1s ease both;
}
.hero-tagline:nth-child(1) {
  animation-delay: 0.8s;
}
.hero-tagline:nth-child(2) {
  animation-delay: 1.1s;
}
.hero-tagline:nth-child(3) {
  animation-delay: 1.4s;
}
.hero-tagline:nth-child(4) {
  animation-delay: 1.7s;
  font-size: 20px;
}
.hero-tagline i {
  color: var(--skin);
  margin-left: 6px;
}
.hero-since {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  color: var(--dark);
  text-align: right;
  margin-top: 12px;
  animation: fadeInRight 1s ease 2s both;
}
.hero-arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  display: none;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
  padding: 0 10px;
}
.hero-arrow {
  width: 52px;
  height: 52px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  font-size: 16px;
  transition: background 0.2s;
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.75);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.breadcrumbs {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  color: var(--white);
  margin-top: 150px;
  margin-left: 15%;
}

.breadcrumbs-link {
  font-size: 14px;
}

.breadcrumbs-link a {
  color: var(--white);
}

.breadcrumbs-link i {
  display: inline-block;
  font-size: 16px;
  color: var(--white);
}

/* ── THREE BOXES ── */
.three-boxes {
  max-width: 1200px;
  margin: -90px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 10;
}
.tbox {
  padding: 34px 30px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.tbox:nth-child(1) {
  background: var(--grey-bg);
}
.tbox:nth-child(2) {
  background: var(--dark);
  color: #fff;
}
.tbox:nth-child(3) {
  background: var(--skin);
  color: #fff;
}
.tbox:nth-child(2) a, .tbox:nth-child(3) a {
  color: #fff;
}
.tbox-icon {
  font-size: 32px;
  color: var(--skin);
  flex-shrink: 0;
  margin-top: 4px;
}
.tbox:nth-child(2) .tbox-icon,
.tbox:nth-child(3) .tbox-icon {
  color: rgba(255, 255, 255, 0.8);
}
.tbox h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.tbox p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
}

/* ── MAIN ── */
section.main {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  text-align: center;
}

section.main a {
  color: var(--skin-dark);
}

section.main a:hover {
  color: var(--blog-red);
}

/* ── ABOUT ── */
.about-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image img {
  width: 100%;
  display: block;
  box-shadow: 8px 8px 0 var(--grey-bg);
}
.about-text .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 8px;
}
.about-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-text p {
  font-size: 14px;
  line-height: 1.85;
  color: #555;
  margin-bottom: 24px;
}
.about-meta {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.about-sig-text {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}
.about-sig-text strong {
  display: block;
  color: var(--dark);
  font-size: 14px;
}

/* ── RECHTSGEBIETE ── */
.rg-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-header .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-accent);
  margin-bottom: 6px;
}
.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  font-weight: 400;
  color: var(--dark);
}
.section-header p {
  font-size: 14px;
  color: #777;
  margin-top: 10px;
}

.rg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(0, 0, 0, 0);
}
.rg-item {
  padding: 28px 24px;
  transition: all 0.25s;
}
.rg-item:hover {
  background: #fafafa;
  border: 1px solid var(--blog-red);
}
.rg-item:hover .rg-icon {
  color: var(--skin);
}
.rg-icon {
  font-size: 28px;
  color: #aaa;
  margin-bottom: 12px;
  display: block;
  transition: color 0.25s;
}
.rg-item h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.rg-item h3 a {
  color: inherit;
}
.rg-item h3 a:hover {
  color: var(--skin);
}
.rg-item p {
  font-size: 13px;
  color: #777;
  line-height: 1.7;
}

.zitat {
  padding-left: 20px;
  background-color: var(--grey-bg);
  border-left: 5px solid var(--skin-dark);
}

.zitat p {
  height: 100px;
  line-height: 100px;
}

/* ── CTA BAND ── */
.cta-band {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-band-left {
  display: flex;
  align-items: center;
  gap: 18px;
}
.cta-band-icon {
  font-size: 32px;
  color: var(--skin);
}
.cta-band-text h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}
.cta-band-text p {
  font-size: 13px;
  color: #777;
  margin-top: 3px;
}
.btn-dark {
  background: var(--dark);
  color: #fff;
  padding: 13px 30px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.25s;
  white-space: nowrap;
}
.btn-dark:hover {
  background: var(--skin);
}

/* ── HUFNAGEL SECTION ── */
.hufnagel-section {
  background: #e7e7e7;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}
.hufnagel-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: end;
}
.hufnagel-content {
  padding: 20px 0 0 40px;
}
.hufnagel-content .eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dark);
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.hufnagel-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 56px;
  font-weight: 400;
  color: #5e5e5e;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hufnagel-divider {
  width: 1px;
  height: 120px;
  background: rgba(0, 0, 0, 0.35);
  margin: 8px 0 16px 20px;
}
.hufnagel-bio {
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.75;
  color: #5e5e5e;
  max-width: 600px;
}
.hufnagel-photo img {
  height: 400px;
  width: auto;
  display: block;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%);
}

/* ── AKTUELLES ── */
.aktuelles-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  border: 1px solid var(--skin);
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px;
  background: white;
  transition: all 0.25s;
}
.blog-card:hover {
  background: #fef8f8;
}
.blog-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--skin);
  margin-bottom: 8px;
}
.blog-card h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
}
.blog-card h4 a:hover {
  color: var(--skin);
}

/* ── karriere.css ── */

.karriere-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #eee;
  border-left: 1px solid #eee;
  padding: 0 200px 50px 200px;
}

.karriere-item {
  padding: 28px 24px;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  transition: background 0.25s;
}

.karriere-item:hover {
  background: #fafafa;
}

.karriere-item:hover .karriere-icon {
  color: var(--skin);
}

.karriere-icon {
  font-size: 28px;
  color: #aaa;
  margin-bottom: 14px;
  display: block;
  transition: color 0.25s;
}

.karriere-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.5;
}

.karriere-item h3 a {
  color: inherit;
}

.karriere-item h3 a:hover {
  color: var(--skin);
}

.karriere-item p {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
  line-height: 1.6;
}

.karriere-subpage-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.6;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  color: var(--text);
}

.karriere-subpage-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}

.karriere-subpage-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 10px;
}

.karriere-subpage-section ul {
  margin-left: 16px;
}

.karriere-subpage-section a {
  color: var(--blog-red);
}

@media (max-width: 900px) {
  .karriere-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 20px 50px 20px;
  }
  section.main {
    padding-left:20px;
    padding-right:20px;
  }
}

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

/* ── team.css ── */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.team-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

.team-card-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
  display: block;
  filter: grayscale(100%);
}

.team-card-img-placeholder {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #c8c9c7;
  display: block;
}

.team-card-body {
  padding: 20px 24px;
}

.team-card-body h4 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 10px;
}

.team-card-body h4 a {
  color: inherit;
}

.team-card-body h4 a:hover {
  color: var(--skin);
}

.team-card-position {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--skin);
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-card-email {
  font-size: 13px;
}

.team-card-email a {
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.team-card-email a:hover {
  color: var(--skin);
}

.team-card-email i {
  font-size: 14px;
  color: var(--dark);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card-img,
  .team-card-img-placeholder {
    aspect-ratio: 3 / 4;
  }
}

.wpb_wrapper {
  text-align: left;
}

.wpb_wrapper h3 {
  margin-top: 30px;
}

.wpb_wrapper p {
  margin-top: 15px;
}

.uk-article {
  text-align: left;
}

.uk-article h2,
.uk-article h3 {
  margin-top: 30px;
}

.uk-article p {
  margin-top: 15px;
}

/* ── FOOTER band ── */
.footer-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  max-width: 100%;
  margin: 0 auto;
  padding: 60px 300px;
  background-color: var(--darkgrey);
}

.footer-band-elem {
  text-align: center;
}

.footer-band-elem h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blog-red);
}

.footer-band-elem p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--white);
}

@media (max-width: 900px) {
  .footer-band {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }
}

/* ── FOOTER ── */
footer {
  background: var(--darkgrey);
  color: rgba(255, 255, 255, 0.75);
}
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}
.footer-top .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  text-align: center;
}
.footer-contact-item {
  font-size: 13px;
}
.footer-contact-item .label {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
}
.footer-contact-item a:hover {
  color: var(--skin);
}
.footer-main {
  padding: 50px 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.left-last {
  justify-self: end;
}

.footer-logo {
  margin-bottom: 18px;
}
.footer-kanzlei {
  font-size: 13px;
  line-height: 1.8;
}
.footer-kanzlei strong {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}
.footer-kanzlei a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-kanzlei a:hover {
  color: var(--skin);
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--skin);
}
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a:hover {
  color: var(--skin);
}

/* ── MOBILE CTA ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--skin);
  color: white;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 14px;
  z-index: 999;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav.main-nav .container {
    flex-wrap: wrap;
    padding: 0 16px;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
    padding: 14px 8px;
  }
  nav .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  nav .nav-links.is-open {
    display: flex;
  }
  nav .nav-links > li {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
  nav .nav-links > li > a {
    flex: 1;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .sub-toggle {
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .sub-menu {
    display: none;
    position: static;
    width: 100%;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    min-width: unset;
  }
  .sub-menu.is-open {
    display: block;
  }
  .sub-menu li a {
    padding: 11px 16px 11px 28px;
  }
  .sub-menu li a:hover {
    padding-left: 36px;
  }
  .nav-search-icon {
    display: none;
  }
}

@media (max-width: 991px) {
  .hero-title {
    font-size: 36px;
  }
  .three-boxes {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .about-section {
    grid-template-columns: 1fr;
  }
  .rg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hufnagel-inner {
    grid-template-columns: 1fr;
  }
  .hufnagel-photo {
    display: none;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-cta {
    display: block;
  }
  .about-meta {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 420px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-taglines {
    display: none;
  }
  .hero-unterseite {
    height: 150px;
  }
  .breadcrumbs {
    margin-top: 75px;
    margin-left: 5%;
  }
  .rg-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-top .container {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-contact-item {
    margin: 10px 0;
  }
  .footer-contact-item:nth-child(3) div:nth-child(2), .footer-contact-item:nth-child(3) div:nth-child(3) {
    text-align: left;
  }
  .header-info {
    flex-wrap: wrap;
    gap: 12px;
  }
}
