*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

.brk-narrow {
  display: none;
}

:root {
  --fs-h1: 45px;
  --fs-h1-1000: 36px;
  --fs-h1-700: 32px;

  --fs-h1-secondary: 40px;
  --fs-h1-secondary-1000: 32px;
  --fs-h1-secondary-700: 28px;

  --fs-brand: 26px;
  --fs-brand-700: 24px;

  --fs-h2: 24px;
  --fs-h2-1000: 24px;
  --fs-h2-700: 24px;

  --fs-lead: 20px;
  --fs-lead-1000: 20px;

  --fs-body: 18px;

  --fs-small: 18px;

  --seitenabstand: 80px;

  --kartenhoehe: clamp(320px, 30vw, 560px);

  --schriftfarbe: #3f3f3f;

  --akzentfarbe: #0B1B3C;
}

@media (min-width: 2080px) {
  :root { --seitenabstand: calc((100vw - 1920px) / 2); }
}

@media (max-width: 900px) {
  :root { --seitenabstand: 40px; }
}

@media (max-width: 750px) {
  :root { --seitenabstand: 20px; }
}

p {
  color: var(--schriftfarbe);
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

h1, h2, h3, h4 {
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

.timeline-eintraege p {
  color: var(--akzentfarbe);
}

.UnsereTätigkeiten_Top p,
.map-consent p {
  text-align: center;
}

html {
  scroll-behavior: smooth;
}

#inhalt {
  scroll-margin-top: 70px;
}

html, body {
font-family: "Times New Roman", Times, serif;
background: #FBF7EC;
line-height: 1.7;
width: 100%;
}

html {
    overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  height: 60px;
  padding: 0 var(--seitenabstand);
  background: #FBF7EC;

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

  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	z-index: 100;
}

.navbar a {
text-decoration: none;
color: #000000;
}

.nav-left {
  font-size: var(--fs-body);
  font-weight: 600;
  white-space: nowrap;
  color: #000000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  color: #000000;
}

.nav-links a {
  text-decoration: none;
  font-size: var(--fs-small);
  transition: color 0.2s ease;
  color: #000000;
}

.nav-links a:hover {
  color: #3f3f3f;
}

.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  margin-right: -10px;
  line-height: 1;

  display: none;
  font-size: var(--fs-brand);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  position: relative;
  top: -3px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;

  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;

    width: 100%;
    flex-direction: column;
    gap: 0;

    background: #FBF7EC;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

    display: none;
  }

  .nav-links li {
    padding: 15px 20px;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links.active {
    display: flex;
  }
}

@media (max-width: 750px) {
  .nav-left {
    font-size: clamp(14px, 4.4vw, 18px);
  }
}

.Startbereich {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
}

.Startbereich .Slideshow {
    position: relative;
    flex: 1 1 auto;
    min-height: 260px;

    display: flex;
    flex-direction: column;
}

.Startbereich .Trennbanner_1_blue {
    flex: 0 0 auto;
}

.Slideshowviewport {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.slideshow-pfeil {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;

    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(251, 247, 236, 0.85);
    border: 1px solid rgba(11, 27, 60, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    color: #0B1B3C;
    text-decoration: none;

    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.slideshow-pfeil:hover,
.slideshow-pfeil:focus-visible {
    background: #FBF7EC;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.slideshow-pfeil svg {
    width: 26px;
    height: 26px;
    display: block;

    animation: pfeilHuepfen 5s ease-in-out infinite;
}

@keyframes pfeilHuepfen {
    0%, 55%, 100% { transform: translateY(0); }
    65%           { transform: translateY(7px); }
    75%           { transform: translateY(0); }
    85%           { transform: translateY(4px); }
    95%           { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .slideshow-pfeil svg {
        animation: none;
    }
}

@media (max-width: 750px) {
    .slideshow-pfeil {
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .slideshow-pfeil svg {
        width: 22px;
        height: 22px;
    }
}

.untitled {
    position: absolute;
    height: 100%;
    width: 100%;
}

.untitled__shutters {
    --kante: 150vmax;
    --kante: hypot(100vw, 100svh);

    position: absolute;
    height: var(--kante);
    width: var(--kante);
    left: calc(50% - var(--kante) / 2);
    top: calc(50% - var(--kante) / 2);
    pointer-events: none;
    z-index: 2;
    animation: rotateFrame 20s linear infinite;
}

@keyframes rotateFrame {
    from { transform: rotate(0deg); }
    to   { transform: rotate(180deg); }
}

.untitled__shutters::before,
.untitled__shutters::after {
    content: '';
    position: absolute;

    height: 50%;
    width: 100%;
    left: 50%;
    transform: translate3d(-50%, 0, 0);
    background-color: #FBF7EC;

    pointer-events: none;
}

.untitled__shutters::before {
    bottom: 50%;
    animation: openTop 10s infinite;
}

@keyframes openTop {
    0%   { transform: translate3d(-50%, 0, 0); }
    40%  { transform: translate3d(-50%, -110%, 0); }
    70%  { transform: translate3d(-50%, -110%, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.untitled__shutters::after {
    top: 50%;
    animation: openBottom 10s infinite;
}

@keyframes openBottom {
    0%   { transform: translate3d(-50%, 0, 0); }
    40%  { transform: translate3d(-50%, 110%, 0); }
    70%  { transform: translate3d(-50%, 110%, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.untitled__slides {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;

    background-color: #FBF7EC;
    will-change: transform;
    animation: bildZoom 10s linear infinite;
}

@keyframes bildZoom {
    0%        { transform: scale(1); }
    70%, 100% { transform: scale(1.03); }
}

.untitled--ohne-zoom .untitled__slides {
    animation: none;
    will-change: auto;
}

.untitled__slide {
    position: absolute;
    height: 100%;
    width: 100%;
    visibility: hidden;
    animation: zeigeSlide 40s steps(1) infinite;
}

@keyframes zeigeSlide {
    0%   { visibility: visible; }
    25%  { visibility: hidden; }
    100% { visibility: hidden; }
}

.untitled__slide:nth-child(1) { animation-delay: 0s; }
.untitled__slide:nth-child(2) { animation-delay: 10s; }
.untitled__slide:nth-child(3) { animation-delay: 20s; }
.untitled__slide:nth-child(4) { animation-delay: 30s; }

.untitled__slides--5 .untitled__slide {
    animation-name: zeigeSlide5;
    animation-duration: 50s;
}

@keyframes zeigeSlide5 {
    0%   { visibility: visible; }
    20%  { visibility: hidden; }
    100% { visibility: hidden; }
}

.untitled__slides--5 .untitled__slide:nth-child(5) { animation-delay: 40s; }

.untitled__slides--6 .untitled__slide {
    animation-name: zeigeSlide6;
    animation-duration: 60s;
}

@keyframes zeigeSlide6 {
    0%        { visibility: visible; }
    16.6667%  { visibility: hidden; }
    100%      { visibility: hidden; }
}

.untitled__slides--6 .untitled__slide:nth-child(5) { animation-delay: 40s; }
.untitled__slides--6 .untitled__slide:nth-child(6) { animation-delay: 50s; }

.untitled__slideBg {
    position: relative;
    height: 100%;
    width: 100%;

    background-image: var(--bild);
    background-image: image-set(var(--bild-webp) type('image/webp'),
                                var(--bild) type('image/jpeg'));
    background-size: cover;
    background-position: center;

    background-color: #FBF7EC;
}

.js .untitled__slide:not(:first-child):not(.bild-bereit) .untitled__slideBg {
    background-image: none;
}

.motiv-schreibtisch {
  --bild: url('Bilder/Schreibtisch_weit.jpg');
  --bild-webp: url('Bilder/Schreibtisch_weit.webp');
}
.motiv-haus {
  --bild: url('Bilder/Immo_2_verbessert.jpg');
  --bild-webp: url('Bilder/Immo_2_verbessert.webp');
  background-position: center top;
}
.motiv-beratung {
  --bild: url('Bilder/Beratung_Buch.jpg');
  --bild-webp: url('Bilder/Beratung_Buch.webp');
  background-position: center 30%;
}
.motiv-schreiben {
  --bild: url('Bilder/Start_5.jpeg');
  --bild-webp: url('Bilder/Start_5.webp');
  background-position: center 35%;
}
.motiv-formulare {
  --bild: url('Bilder/Auftragsformulare.jpeg');
  --bild-webp: url('Bilder/Auftragsformulare.webp');
}
.motiv-portraet {
  --bild: url('Bilder/Notar_Vater_quer.jpg');
  --bild-webp: url('Bilder/Notar_Vater_quer.webp');
  background-position: center 30%;
}
.motiv-immobilie {
  --bild: url('Bilder/Immo.jpeg');
  --bild-webp: url('Bilder/Immo.webp');
}

@media (max-width: 750px) {
  .motiv-schreibtisch { --bild: url('Bilder/Schreibtisch_weit_1200.jpg');
 --bild-webp: url('Bilder/Schreibtisch_weit_1200.webp'); }
  .motiv-haus { --bild: url('Bilder/Immo_2_verbessert_1200.jpg');
 --bild-webp: url('Bilder/Immo_2_verbessert_1200.webp'); }
  .motiv-beratung { --bild: url('Bilder/Beratung_Buch_1200.jpg');
 --bild-webp: url('Bilder/Beratung_Buch_1200.webp'); }
  .motiv-schreiben { --bild: url('Bilder/Start_5_1200.jpeg');
 --bild-webp: url('Bilder/Start_5_1200.webp'); }
  .motiv-formulare { --bild: url('Bilder/Auftragsformulare_1200.jpeg');
 --bild-webp: url('Bilder/Auftragsformulare_1200.webp'); }
  .motiv-portraet { --bild: url('Bilder/Notar_Vater_quer_1200.jpg');
 --bild-webp: url('Bilder/Notar_Vater_quer_1200.webp'); }
  .motiv-immobilie { --bild: url('Bilder/Immo_1200.jpeg');
 --bild-webp: url('Bilder/Immo_1200.webp'); }
}

.untitled--ruht .untitled__slides,
.untitled--ruht .untitled__slide,
.untitled--ruht .untitled__shutters,
.untitled--ruht .untitled__shutters::before,
.untitled--ruht .untitled__shutters::after {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .untitled__slides,
    .untitled__slide,
    .untitled__shutters::before,
    .untitled__shutters::after {
        animation: none;
    }

    .untitled__slides {
        will-change: auto;
    }

    .untitled__slide:first-child {
        visibility: visible;
    }

    .untitled__shutters {
        display: none;
    }
}

.button {
    mix-blend-mode: normal;
    text-decoration: none;

    font-weight: 800;
    text-transform: uppercase;

    font-size: var(--fs-small);

    display: inline-block;

    background: #0B1B3C;
    color: white;

    margin-top: 30px;

    padding: 16px 20px 14px 20px;

    letter-spacing: 0.1em;
    line-height: 1;

    transition: all 150ms ease;

    box-shadow: 0 4px 10px rgba(0,0,0,0.1);

    transform: scale(1);

    border: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.button:focus-visible {
    outline: 3px solid var(--akzentfarbe);
    outline-offset: 3px;
}

.button:hover {
    transform: scale(1.02);

    box-shadow: 0 6px 16px rgba(0,0,0,0.15);

    background: white;
    color: #3f3f3f;
}

.button:active {
    transform: scale(0.98);
}

.filterButtons .button.active {
    background: white;
    color: #3f3f3f;

    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.Trennbanner_1_blue {
  background: #0B1B3C;
  margin-top: 50px;
  min-height: 200px;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  padding: 0;
}

.Trennbanner_1_Text_links .banner-adresse {
  font-size: 2em;
  font-weight: bold;
}

.abschluss_l .marke {
  font-weight: bold;
}

.Trennbanner_1_Text_links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  font-size: var(--fs-lead);
  color: #fff;
}

.Trennbanner_1_Text_rechts {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  font-size: var(--fs-body);
  color: #fff;
}

.banner-daten {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  column-gap: 0.7em;
  row-gap: 0.15em;
}

.banner-daten dt {
  text-align: right;
  white-space: nowrap;
  color: #B9C2D6;
}

.banner-daten dd {
  margin: 0;
  text-align: left;
}

.banner-daten dt:nth-of-type(3),
.banner-daten dd:nth-of-type(3) {
  padding-top: 0.5em;
}

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

.Trennbanner_1_Text_rechts a:hover,
.Trennbanner_1_Text_rechts a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 1550px) {
  .Trennbanner_1_Text_rechts {
    font-size: var(--fs-body);
}

.Trennbanner_1_Text_links {
    font-size: var(--fs-body);
}
}

@media (max-width: 900px) {
  .Trennbanner_1_blue {
    padding-inline: clamp(var(--seitenabstand), (100vw - 560px) / 2, 56px);
  }

  .Trennbanner_1_Text_links,
  .Trennbanner_1_Text_rechts {
    flex: 0 1 auto;
    padding: 16px 0;
    font-size: clamp(10px, 3.1vw, 18px);
  }

  .Trennbanner_1_Text_links .banner-adresse {
    font-size: clamp(14px, 4.35vw, 36px);
    line-height: 1.3;
  }
}

.UnsereTätigkeiten_Top {
  background: #FBF7EC;
  height: auto;
  padding: 50px var(--seitenabstand);
  text-align: center;
}

.UnsereTätigkeiten_Top h1 {
 text-align: center;
  font-size: var(--fs-h1);
}

.UnsereTätigkeiten_Top p {
  font-size: var(--fs-lead);
  margin-top: 10px;
}

@media (max-width: 1000px) {
  .UnsereTätigkeiten_Top h1 {
    font-size: var(--fs-h1-1000);
  }
  .UnsereTätigkeiten_Top p {
    font-size: var(--fs-lead-1000);
  }
}

@media (max-width: 750px) {
  .UnsereTätigkeiten_Top h1 {
    font-size: var(--fs-h1-700);
  }
  .UnsereTätigkeiten_Top p {
    font-size: var(--fs-lead-1000);
  }
}

.UnsereTätigkeiten_Start {
  background: #FBF7EC;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
  padding: 0 var(--seitenabstand);
  box-sizing: border-box;
}

.Vererben_Schenken,
.Grund_Immo,
.Unternehmen,
.Vorsorge_Vollmachten,
.Ehe_Familie ,
.Verein_Vereinsregister {
  background: #FBF7EC;
  width: 100%;
  height: 100%;
  max-width: 400px;
  min-width: 350px;
  min-height: 600px;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 40px 20px 30px;

  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);

  overflow: hidden;
}

.Vererben_Schenken h2,
.Grund_Immo h2,
.Unternehmen h2,
.Vorsorge_Vollmachten h2,
.Ehe_Familie h2 ,
.Verein_Vereinsregister h2 {
  margin: 0 0 15px;
  font-size: var(--fs-h2);
  text-align: center;
}

/* <picture> ist sonst nur so breit wie das Bild selbst - die Kachel zentriert
   ihren Inhalt (align-items: center), dadurch schrumpften die Fotos. */
.Vererben_Schenken picture,
.Grund_Immo picture,
.Unternehmen picture,
.Vorsorge_Vollmachten picture,
.Ehe_Familie picture,
.Verein_Vereinsregister picture {
  display: block;
  width: 100%;
}

.Vererben_Schenken img,
.Grund_Immo img,
.Unternehmen img,
.Vorsorge_Vollmachten img,
.Ehe_Familie img ,
.Verein_Vereinsregister img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin: 0 0 15px;
    display: block;
  transition: transform 0.4s ease;
}

.Vererben_Schenken:hover img,
.Grund_Immo:hover img,
.Unternehmen:hover img,
.Vorsorge_Vollmachten:hover img,
.Ehe_Familie:hover img ,
.Verein_Vereinsregister:hover img {
  transform: scale(1.05);
}

.Vererben_Schenken p,
.Grund_Immo p,
.Unternehmen p,
.Vorsorge_Vollmachten p,
.Ehe_Familie p ,
.Verein_Vereinsregister p {
  margin: 0 0 20px;
  font-size: var(--fs-body);
  text-align: justify;
  overflow: hidden;
  hyphens: auto;
  line-height: 1.7;
}

.taetigkeit-link {
  position: relative;
  display: block;
  flex: 0 1 calc((100% - 100px) / 3);
  max-width: 400px;
  min-width: 350px;
}

.taetigkeit-link__ziel {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.taetigkeit-link__ziel:focus-visible {
  outline: 3px solid var(--akzentfarbe);
  outline-offset: 3px;
}

@media (max-width: 1320px) {
  .taetigkeit-link {
    flex-basis: calc((100% - 50px) / 2);
  }
}

@media (max-width: 950px) {
  .taetigkeit-link {
    flex-basis: 100%;
  }

  .Vererben_Schenken,
  .Grund_Immo,
  .Unternehmen,
  .Vorsorge_Vollmachten,
  .Ehe_Familie ,
.Verein_Vereinsregister {
    min-height: 0;
  }
}

@media (max-width: 400px) {
  .taetigkeit-link,
  .Vererben_Schenken,
  .Grund_Immo,
  .Unternehmen,
  .Vorsorge_Vollmachten,
  .Ehe_Familie ,
.Verein_Vereinsregister {
    min-width: 0;
  }

  .abschluss {
    flex-direction: column;
    gap: 30px;
  }

  .abschluss_m {
    transform: none;
  }
}

.UnsereTätigkeiten_bottom {
  background: #FBF7EC;
  height: auto;
	padding: 20px;
	text-align: center;
}

.Taet_text_l {
  background: #FBF7EC;
  height: auto;
padding: 50px var(--seitenabstand);
}
.Taet_text_l h1 {
  font-size: var(--fs-h1);
  text-align: left;
}
.Taet_text_l p {
  font-size: var(--fs-lead);
  margin-top: 10px;
  color: var(--schriftfarbe);
}

@media (max-width: 1000px) {
.Taet_text_l h1 {
    font-size: var(--fs-h1-1000);
  }
.Taet_text_l p {
    font-size: var(--fs-lead-1000);
  }
}

@media (max-width: 750px) {
.Taet_text_l h1 {
    font-size: var(--fs-h1-700);
  }
.Taet_text_l p {
    font-size: var(--fs-lead-1000);
  }
}@media (max-width: 750px) {
.abschluss_l .marke {
    font-size: var(--fs-brand-700);
  }}

.map_text {
  background: #FBF7EC;
  margin-top: 100px;
  height: auto;
  padding: 0 var(--seitenabstand);
}

.map_text h2 {
 text-align: left;
  font-size: var(--fs-h1);
}

.map_text p {
  font-size: var(--fs-lead);
  margin-top: 10px;
}

@media (max-width: 1000px) {
  .map_text h2 {
    font-size: var(--fs-h1-1000);
  }
  .map_text p {
    font-size: var(--fs-lead-1000);
  }
}

@media (max-width: 750px) {
  .map_text h2 {
    font-size: var(--fs-h1-700);
  }
  .map_text p {
    font-size: var(--fs-lead-1000);
  }
}

.map_text--barrierefrei {
  margin-top: 50px;
}

.map-wrapper {
    position: relative;

    width: calc(100% - 2 * var(--seitenabstand));
    margin: 0 auto;
    padding-top: 50px;
}

.map-preview {
    position: absolute;
    top: 50px;
    left: 0;

    width: 100%;
    height: var(--kartenhoehe);

    object-fit: cover;

    filter: blur(1px);
    transform: scale(1.02);

    z-index: 1;
}

.map-consent {
    position: absolute;
    top: 50px;
    left: 0;

    width: 100%;
    height: var(--kartenhoehe);

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

    text-align: center;

    z-index: 10;
}

.map-consent p {
    max-width: 650px;
    margin-top: 20px;

    padding: 12px 18px;
}

.map-wrapper iframe {
    width: 100%;
    height: var(--kartenhoehe);
    border: 0;
    display: block;
}

#map-revoke-btn {
    position: absolute;
    right: 15px;
    bottom: 15px;

    z-index: 20;

    display: none;
}

.Werdegang {
  background: #FBF7EC;
  height: auto;
  padding: 0px var(--seitenabstand) 0;
}
.Werdegang h2 {
  text-align: left;
  font-size: var(--fs-h1);
}

.Werdegang p {
  font-size: var(--fs-lead);
  margin-top: 10px;
}

.timeline-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: start;
  gap: 40px;
  padding: 0 var(--seitenabstand);
  margin: 60px 0;
  color: #0B1B3C;
  position: relative;
}

.timeline-wrapper input {
  display: none;
}

.timeline-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-menu li {
  margin-bottom: 10px;
}

.timeline-menu label {
  display: block;
  padding: 10px 8px 10px 0;
  font-size: var(--fs-lead);
  opacity: 0.5;
  cursor: pointer;
  transition: 0.25s ease;
  border-right: 4px solid transparent;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

.timeline-menu label:hover {
  opacity: 0.8;
}

.timeline-eintraege {
  background: #FBF7EC;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  height: auto;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  transition: margin-top 0.45s ease;
}

.timeline-eintraege .eintrag {
  position: absolute;
  inset: 0;
  padding: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.45s ease;
}

#t1:checked ~ .timeline-menu label[for="t1"],
#t2:checked ~ .timeline-menu label[for="t2"],
#t3:checked ~ .timeline-menu label[for="t3"],
#t4:checked ~ .timeline-menu label[for="t4"],
#t5:checked ~ .timeline-menu label[for="t5"],
#t6:checked ~ .timeline-menu label[for="t6"],
#t7:checked ~ .timeline-menu label[for="t7"],
#t8:checked ~ .timeline-menu label[for="t8"],
#t9:checked ~ .timeline-menu label[for="t9"],
#t10:checked ~ .timeline-menu label[for="t10"],
#t11:checked ~ .timeline-menu label[for="t11"],
#t12:checked ~ .timeline-menu label[for="t12"] {
  opacity: 1;
  font-weight: 700;
  border-right-color: #0B1B3C;
}

#t1:checked ~ .timeline-eintraege .c1,
#t2:checked ~ .timeline-eintraege .c2,
#t3:checked ~ .timeline-eintraege .c3,
#t4:checked ~ .timeline-eintraege .c4,
#t5:checked ~ .timeline-eintraege .c5,
#t6:checked ~ .timeline-eintraege .c6,
#t7:checked ~ .timeline-eintraege .c7,
#t8:checked ~ .timeline-eintraege .c8,
#t9:checked ~ .timeline-eintraege .c9,
#t10:checked ~ .timeline-eintraege .c10,
#t11:checked ~ .timeline-eintraege .c11,
#t12:checked ~ .timeline-eintraege .c12 {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.timeline-eintraege h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: var(--fs-h2);
  font-weight: 700;
}

.timeline-eintraege h4 {
  margin: 0 0 16px 0;
  font-size: var(--fs-small);
  opacity: 0.7;
}

.timeline-eintraege p {
  font-size: var(--fs-small);
  line-height: 1.6;
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

@media (max-width: 1400px) {
  .timeline-wrapper {
    grid-template-columns: 200px 1fr;
    gap: 36px;
  }
}

@media (max-width: 1000px) {
  .Werdegang h2 {
    font-size: var(--fs-h1-1000);
  }

  .timeline-wrapper {
    grid-template-columns: 140px 1fr;
    gap: 28px;
  }

  .timeline-eintraege .eintrag {
    padding: 22px;
  }
}

@media (max-width: 750px) {
  .Werdegang h2 {
    font-size: var(--fs-h1-700);
  }

  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .timeline-menu,
  .nur-auswahl {
    display: none;
  }

  .timeline-eintraege {
    background: none;
    box-shadow: none;
    overflow: visible;
  }

  .timeline-eintraege .eintrag {
    position: static;
    opacity: 1;
    transform: none;
    transition: none;

    background: #FBF7EC;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 18px;
  }

  .timeline-eintraege .eintrag {
    padding: 18px;
  }
}

.Impressum_Text {
  background: #FBF7EC;
  height: auto;
padding: 20px var(--seitenabstand);
}

.Impressum_Text h1 {
  margin-top: 50px;
  font-size: var(--fs-h1);
  text-align: left;
}

.Impressum_Text h2 {
  font-size: var(--fs-lead);
  text-align: left;
}

.Impressum_Text p {
  font-size: var(--fs-body);
  margin-top: 10px;
  color: var(--schriftfarbe);
}

.Impressum_Text a {
  font-size: var(--fs-body);
  margin-top: 10px;
  color: var(--schriftfarbe);
}

@media (max-width: 1000px) {
  .Impressum_Text h1 {
    font-size: var(--fs-h1-1000);
  }
  .Impressum_Text h2 {
    font-size: var(--fs-lead-1000);
  }
}

@media (max-width: 750px) {
  .Impressum_Text h1 {
    font-size: var(--fs-h1-700);
  }
  .Impressum_Text h2 {
    font-size: var(--fs-lead-1000);
  }
  .Impressum_Text p,
  .Impressum_Text a {
    font-size: var(--fs-body);
  }
}

.toolbar{
    display:flex;
    flex-direction:column;
    align-items:stretch;

    padding:0 var(--seitenabstand);

    gap:25px;

    box-sizing:border-box;
}
#searchInput{
    width:100%;

    padding:15px 20px;

    font-size:var(--fs-body);

    border:none;

    box-shadow:0 4px 10px rgba(0,0,0,0.1);

    box-sizing:border-box;
}

#searchInput:focus {
    outline: none;

    border: none;

    box-shadow:
        0 0 0 3px #0B1B3C,
        0 4px 10px rgba(0,0,0,0.15);
}

.filterButtons{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    column-gap: 20px;
    row-gap: -10px;
    padding: 0 var(--seitenabstand);
}

.filterButtons button{
    border:none;
    cursor:pointer;
    font-size:var(--fs-small);
}

.UnsereTätigkeiten {
  background: #FBF7EC;
  display: grid;

  grid-template-columns: repeat(4, 350px);

  justify-content: space-between;
  align-items: stretch;

  gap: 40px;

  padding: 50px var(--seitenabstand) 0 var(--seitenabstand);
  box-sizing: border-box;
}

.card {
  background: #FBF7EC;

  outline: 3px solid transparent;
  outline-offset: -3px;
  transition: outline-color 200ms ease;

  min-width: 350px;

  min-height: 750px;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 40px 20px 30px;

  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.card--treffer {
  outline-color: var(--akzentfarbe);
}

.card a.button {
  margin-top: auto;
  margin-bottom: 10px;

  max-width: 100%;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

@media (max-width: 750px) {
  .card {
    min-width: 0;
    min-height: 0;
  }
}

.card h2 {
  margin: 0 0 15px;
  font-size: var(--fs-h2);
  text-align: center;
}

.card h2::after,
.Vererben_Schenken h2::after,
.Grund_Immo h2::after,
.Unternehmen h2::after,
.Vorsorge_Vollmachten h2::after,
.Ehe_Familie h2::after,
.Verein_Vereinsregister h2::after {
  content: "";
  display: block;
  width: 240px;
  max-width: 100%;
  height: 2px;
  margin: 12px auto 0;
  background: currentColor;
}

.card img {
  width: 90%;
  height: 200px;

  object-fit: cover;

  margin: 0 0 15px;
}

.card p {
  margin: 0 0 20px;

  font-size: var(--fs-body);
  color: var(--schriftfarbe);

  text-align: justify;

  overflow: hidden;
  hyphens: auto;
}

@media (min-width: 2080px) {
  .UnsereTätigkeiten {
    grid-template-columns: repeat(5, 350px);
	justify-content: space-between
  }
}

@media (max-width: 1550px) {
  .UnsereTätigkeiten {
    grid-template-columns: repeat(3, 350px);
	justify-content: space-between
  }
}

@media (max-width: 1320px) {
  .UnsereTätigkeiten {
    grid-template-columns: repeat(2, 350px);
	justify-content: center;
	gap: 40px;

  }
}

@media (max-width: 750px) {
  .UnsereTätigkeiten {
    grid-template-columns: minmax(0, 350px);
	justify-content: center;
  }
}

.Taet_text_l a {
  color: var(--schriftfarbe);
}

.Taet_text_l {
  background: #FBF7EC;
  height: auto;
padding: 50px var(--seitenabstand);
}
.Taet_text_l h1 {
  font-size: var(--fs-h1);
  text-align: left;
}
.Taet_text_l p {
  font-size: var(--fs-lead);
  margin-top: 10px;
  color: var(--schriftfarbe);
}

@media (max-width: 1000px) {
.Taet_text_l h1 {
    font-size: var(--fs-h1-1000);
  }
.Taet_text_l p {
    font-size: var(--fs-lead-1000);
  }
}

@media (max-width: 750px) {
.Taet_text_l h1 {
    font-size: var(--fs-h1-700);
  }
.Taet_text_l p {
    font-size: var(--fs-lead-1000);
  }
}

.abschluss {
  background: #0B1B3C;
  padding: 50px var(--seitenabstand);
  margin-top: 150px;
  box-sizing: border-box;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  color: #ffffff;
}

.abschluss_l {
  flex: 1;
}

.abschluss_l .marke {
  font-size: var(--fs-brand);
  margin: 0 0 25px 0;
}

.abschluss_m {
  flex: 1;
  font-size: var(--fs-body);
  transform: translateX(-150px);
}
.abschluss_r {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--fs-body);
  text-align: right;
}

@media (max-width: 750px) {
.abschluss_l .marke {
    font-size: var(--fs-brand-700);
  }
  .abschluss_l .brk-default {
    display: none;
  }
  .abschluss_l .brk-narrow {
    display: inline;
  }
  .abschluss_m,
  .abschluss_r {
    font-size: var(--fs-body);
  }
  .abschluss_r {
    text-align: left;
  }
}

.abschluss_r a {
  padding: 4px 0;
  color: #FBF7EC;
  text-decoration: none;
  transition: 0.2s ease;
}

.abschluss_r a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.blog-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  padding: 0 var(--seitenabstand);
  margin: 80px 0;
  color: var(--schriftfarbe);
}

@media (max-width: 900px) {
  .blog-section {
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 60px 0;
  }
}

.blog-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-search input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #0B1B3C;
  font-size: var(--fs-body);
  background: #FBF7EC;
  color: var(--schriftfarbe);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.blog-item {
  background: #FBF7EC;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 24px 28px 20px;
  position: relative;
}

.blog-toggle {
  display: none;
}

.blog-header h3 {
  margin: 0 0 6px 0;
  color: #000000;
  font-size: var(--fs-h2);
  font-weight: 700;
}

.blog-header .date {
  margin: 0 0 10px 0;
  font-size: var(--fs-small);
  opacity: 0.7;
}

.blog-teaser p {
  margin: 0 0 8px 0;
  line-height: 1.6;
}

.blog-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.blog-body p {
  margin: 10px 0 6px 0;
  line-height: 1.6;
}

.blog-toggle-btn {
  display: inline-block;
  margin-top: 12px;
  color: #0B1B3C;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.blog-toggle:checked ~ .blog-body {
  max-height: 1000px;
}

.blog-toggle:checked ~ .blog-toggle-btn::after {
  content: " (Schließen)";
  font-weight: 400;
  opacity: 0.7;
}

.blog-right {
  background: #FBF7EC;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  height: fit-content;
}

.blog-right h4 {
  margin-top: 0;
  color: #000000;
  font-size: var(--fs-lead);
  font-weight: 700;
}

.top-item {
  margin: 18px 0;
}

.top-item a {
  color: #0B1B3C;
  font-weight: 600;
  text-decoration: none;
}

.top-item a:hover {
  text-decoration: underline;
}
.map-preview,
.map-wrapper iframe {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.editorial {
  margin: 100px 0 50px;
  padding: 0 var(--seitenabstand);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  grid-template-rows: auto auto;
  column-gap: 80px;
  align-items: start;
}

.editorial__kopf {
  grid-column: 1;
  grid-row: 1;
}

.editorial__kopf h1,
.editorial__kopf h2 {
  font-size: var(--fs-h1);
  line-height: 1.1;
  text-align: left;
  margin: 0 0 10px;
}

.editorial__kopf h3 {
  font-size: var(--fs-h2);
  font-weight: 400;
  color: var(--schriftfarbe);
  text-align: left;
  margin: 0 0 24px;
}

.editorial--ueber-mich .editorial__kopf h1 {
  margin-bottom: 24px;
}

.editorial__bild {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: stretch;
  position: relative;
  min-height: 320px;
}

.editorial__bild img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.editorial--kanzlei .editorial__bild img { object-position: 50% 30%; }
.editorial--ueber-mich .editorial__bild img { object-position: 52% 50%; }

.editorial__text {
  grid-column: 1;
  grid-row: 2;
}

.editorial p {
  font-size: var(--fs-lead);
  color: var(--schriftfarbe);
  text-align: justify;
  hyphens: auto;
  line-height: 1.7;
  margin: 0;
}

.editorial p + p,
.editorial__text > p:first-child {
  margin-top: 1em;
}

.editorial .button {
  margin-top: 40px;
}

@media (max-width: 1000px) {
  .editorial__kopf h1,
.editorial__kopf h2 { font-size: var(--fs-h1-1000); }
  .editorial__kopf h3 { font-size: var(--fs-h2-1000); }
  .editorial p { font-size: var(--fs-lead-1000); }
}

@media (max-width: 1150px) {
  .editorial {
    grid-template-columns: minmax(0, 1fr) 400px;
    column-gap: 50px;
  }
}

@media (max-width: 900px) {
  .editorial {
    display: block;
    margin: 100px 0 50px;
  }
  .editorial__bild { position: static; min-height: 0; margin: 28px 0; }
  .editorial__bild img { position: static; width: 100%; height: auto; }
  .editorial--kanzlei .editorial__bild img { aspect-ratio: 1293 / 1188; object-position: 50% 33%; }
  .editorial--ueber-mich .editorial__bild img { aspect-ratio: 3 / 2; }
  .editorial .button { display: block; width: max-content; margin: 30px auto 0; }
}

@media (max-width: 750px) {
  .editorial { margin: 80px 0 40px; }
  .editorial__kopf h1,
.editorial__kopf h2 { font-size: var(--fs-h1-700); }
  .editorial__kopf h3 { font-size: var(--fs-h2-700); }
}

.timeline-eintraege .content-bild {
  float: right;
  width: 132px;
  margin: 2px 0 14px 26px;
}

.timeline-eintraege .content-bild img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.timeline-eintraege .content-bild figcaption {
  margin-top: 8px;
  font-size: var(--fs-small);
  line-height: 1.3;
  opacity: 0.7;
  text-align: center;
}

@media (max-width: 1000px) {
  .timeline-eintraege .content-bild {
    width: 110px;
    margin-left: 20px;
  }
}

@media (max-width: 750px) {
  .timeline-eintraege .content-bild {
    width: 96px;
    margin: 0 0 10px 16px;
  }
}
