/* Zentrale Gestaltung: Farben und Abstände hier ändern. */
:root {
    --dunkelblau: #18313f;
    --hintergrund: #f7f5ef;
    --messing: #a8874d;
    --linie: #deded6;
    --fuss-hintergrund: #eeece5;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--hintergrund);
    color: var(--dunkelblau);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
.seitenrahmen { max-width: 1160px; margin: 0 auto; }
.sprunglink { position: absolute; top: 8px; left: 8px; padding: 8px 16px; background: var(--dunkelblau); color: #fff; transform: translateY(-180%); z-index: 1; }
.sprunglink:focus { transform: translateY(0); }
.seitenkopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 42px;
    border-bottom: 1px solid var(--linie);
}
.wortmarke { font-family: Georgia, 'Times New Roman', serif; font-size: 21px; letter-spacing: .04em; text-decoration: none; }
.kopf-berufe { font-size: 13px; letter-spacing: .03em; }
.startbereich { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); padding: 64px 42px 58px; gap: 32px; }
.vorstellung { min-width: 0; }
.rubrik { color: #675b43; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 20px; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(27px, 4.1vw, 43px); font-weight: 400; line-height: 1.15; margin: 0 0 23px; letter-spacing: -.035em; }
.vorstellung h1 { white-space: nowrap; }
.berufe { font-size: 20px; line-height: 1.5; margin: 0; }
.akzentlinie { width: 54px; height: 3px; background: var(--messing); margin: 27px 0; }
.fachanwaltsbezeichnungen { font-size: 15px; line-height: 1.7; }
.fachanwaltsbezeichnungen p { margin: 0; }
.kontaktdaten { background: var(--dunkelblau); color: #f8f6f0; padding: 30px; align-self: center; border-top: 3px solid var(--messing); overflow-wrap: anywhere; }
.kontaktdaten address { font-style: normal; }
.kontaktdaten p { font-size: 15px; line-height: 1.7; margin: 0; }
.kontaktdaten .kontaktlabel { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; color: #d6c6a6; margin: 22px 0 6px; }
.pgp { border-top: 1px solid #4a5c65; margin-top: 26px; padding-top: 19px; font-size: 13px; }
.pgp .fingerabdruck { margin-top: 12px; font-size: 12px; font-family: Consolas, monospace; }
.taetigkeiten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linie); margin: 0 42px; padding: 24px 0 30px; gap: 24px; }
.gebietlabel { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: #736956; margin-bottom: 8px; }
.taetigkeiten p { margin: 0; font-size: 14px; }
.seitenfuss { background: var(--fuss-hintergrund); padding: 20px 42px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; font-size: 12px; color: #465861; }
.seitenfuss nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.seitenfuss a { text-decoration: none; }
.seitenfuss a:hover, .seitenfuss a[aria-current="page"] { text-decoration: underline; }
.textseite { padding: 48px 42px 64px; min-height: 380px; overflow-wrap: anywhere; }
.textseite h1 { white-space: normal; }
.textseite h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: 24px; margin: 32px 0 12px; }
.textseite h3 { font-size: 18px; margin: 24px 0 10px; }
.textseite p, .textseite ul, .textseite ol { max-width: 850px; }
@media (max-width: 700px) {
    .seitenkopf { padding: 22px; flex-wrap: wrap; gap: 12px; }
    .startbereich { grid-template-columns: 1fr; padding: 38px 22px; gap: 32px; }
    .taetigkeiten { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 22px; }
    .seitenfuss { padding: 20px 22px; }
    .textseite { padding: 38px 22px 48px; }
}
@media print {
    .sprunglink { display: none; }
    body, .kontaktdaten, .seitenfuss { background: #fff; color: #000; }
    .kontaktdaten .kontaktlabel { color: #333; }
}

/* Adressblock und Schlüsselangaben im Impressum. */
.impressum-adresse { font-style: normal; }
.impressum-adresse p { margin: 0 0 18px; }
.sichere-kommunikation { margin: 28px 0 32px; }
.sichere-kommunikation h2 { margin-top: 0; }
.sichere-kommunikation p { margin: 0 0 12px; }
.schluesseldaten code { font-family: Consolas, monospace; overflow-wrap: anywhere; }

/* Telefonfunktion: Dialoggestaltung aus ITKW. */
.ktd-phone-link {
    display: inline-block;
    padding: 10px 0 10px 35px;
    background:
        url("/itkw_grafik/icons/icon-phone.png")
        no-repeat left center;
}

ul.contact-address li.fax span {
	background:url(https://it-kanzlei-wollmann.de/itkw_grafik/icons/icon-fax.png) no-repeat left;
	padding: 30px 0;
	padding-left:35px !important;
}

ul.contact-address li.email span {
	background:url(https://it-kanzlei-wollmann.de/itkw_grafik/icons/icon-mail.png) no-repeat left;
	padding: 30px 0;
	padding-left:35px !important;
}

/* =================  General Sidebar Menu ================= */

ul.sidebarmenu li {
	font-size:12px !important;
}
ul.sidebarmenu li {
	padding:10px !important;
	line-height:25px !important;
	border-bottom:1px solid #f6f4e7;
}
ul.sidebarmenu li:hover {
	background:#f7f3e3;
}

@media only screen and (max-width: 767px) {
    .container {
        width: calc(100% - 30px);
        max-width: none;
    }

    .col_1_2,
    .col_1_3,
    .col_1_4,
    .col_1_5,
    .col_2_3,
    .col_3_4 {
        box-sizing: border-box;
        width: 100%;
        float: none;
        margin-right: 0;
    }
}

/* ==========================================================================
   Barrierearmer Slider der Startseite
   ========================================================================== */

.itkw-carousel {
    position: relative;
    width: 100%;
    margin: 0;
}

.itkw-carousel [hidden] {
    display: none !important;
}

.itkw-carousel__slides {
    position: relative;
    overflow: hidden;
    background: #d2e7f8;
}

/*
 * Ausgeblendete Folien liegen absolut und beeinflussen
 * die Höhe des Sliders nicht.
 */
.itkw-carousel__slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

/*
 * Nur die aktive Folie befindet sich im normalen Dokumentfluss.
 * Dadurch richtet sich die Sliderhöhe nach dem aktiven Bild
 * und der zugehörigen Bildunterschrift.
 */
.itkw-carousel__slide.is-active {
    position: relative;
    z-index: 1;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.itkw-carousel__slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 580px;
}

/*
 * Kein object-fit: contain und keine feste Bildhöhe:
 * Das fünfte Bild bleibt bei voller Sliderbreite 1024 Pixel breit
 * und wird nicht auf etwa 829 Pixel Breite verkleinert.
 */
.itkw-carousel__caption {
    box-sizing: border-box;
    width: 100%;
    padding: 15px 20px;
    color: #333333;
    background: #d2e7f8;
}

.itkw-carousel__caption small {
    display: block;
    font-size: 12px;
    line-height: 1.5;
}

.itkw-carousel__caption a {
    color: #000080;
    text-decoration: underline;
}

.itkw-carousel__arrow {
    position: absolute;
    top: 43%;
    z-index: 2;
    display: grid;
    width: 44px;
    height: 64px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #ffffff;
    background: transparent;
    font: bold 46px/1 Arial, sans-serif;
    cursor: pointer;
    place-items: center;
    transform: translateY(-50%);
    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.itkw-carousel__arrow:hover {
    color: #eeeeee;
    background: transparent;
    transform: translateY(-50%) scale(1.12);
}

.itkw-carousel__arrow--previous {
    left: 6px;
}

.itkw-carousel__arrow--next {
    right: 6px;
}

.itkw-carousel__arrow span {
    display: block;
    width: 18px;
    height: 18px;
    border-top: 4px solid #ffffff;
    border-right: 4px solid #ffffff;
    font-size: 0;
    filter: drop-shadow(0 1px 1px rgb(0 0 0 / 55%));
}

.itkw-carousel__arrow--previous span {
    transform: rotate(-135deg);
}

.itkw-carousel__arrow--next span {
    transform: rotate(45deg);
}




.itkw-carousel__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: #d2e7f8;
}

.itkw-carousel__dots {
    display: flex;
    gap: 2px;
    align-items: center;
    justify-content: center;
}

.itkw-carousel__dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.itkw-carousel__dot::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    content: "";
    transform: translate(-50%, -50%);
}

.itkw-carousel__dot[aria-current="true"]::before {
    background: #000080;
}

.itkw-carousel__toggle {
    display: grid;
    width: 30px;
    height: 30px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #000080;
    background: transparent;
    font: bold 18px/1 Arial, sans-serif;
    cursor: pointer;
    place-items: center;
}

.itkw-carousel__toggle:hover {
    color: #0000cc;
    background: transparent;
}

.itkw-carousel__arrow:focus-visible,
.itkw-carousel__dot:focus-visible,
.itkw-carousel__toggle:focus-visible,
.itkw-carousel__caption a:focus-visible {
    outline: 3px solid #cc0000;
    outline-offset: 3px;
}

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

@media (max-width: 640px) {
    .itkw-carousel__caption {
        min-height: 0;
        padding: 12px 15px;
    }

    .itkw-carousel__arrow {
        top: 35%;
        width: 40px;
        height: 40px;
    }

    .itkw-carousel__arrow--previous {
        left: 8px;
    }

    .itkw-carousel__arrow--next {
        right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .itkw-carousel__slide,
    .itkw-carousel__arrow,
    .itkw-carousel__toggle {
        transition: none;
    }
}

/* ==========================================================================
   Telefonhinweis für Desktopgeräte
   ========================================================================== */

.ktd-phone-link {
    white-space: nowrap;
}

.ktd-phone-dialog {
    box-sizing: border-box;
    width: min(92%, 560px);
    padding: 24px;
    border: 2px solid MidnightBlue;
    border-radius: 8px;
    color: #000000;
    background: #f6f4e7;
    box-shadow: 0 10px 35px rgb(0 0 0 / 35%);
}

.ktd-phone-dialog:not([open]) {
    display: none;
}

.ktd-phone-dialog::backdrop {
    background: rgb(0 0 0 / 55%);
}

.ktd-phone-dialog h2 {
    margin-top: 0;
    color: MidnightBlue;
    text-align: left;
}

.ktd-phone-dialog p {
    text-align: left;
}

.ktd-phone-dialog__number {
    margin: 18px 0;
    font-size: 1.25em;
    text-align: center !important;
}

.ktd-phone-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.ktd-phone-dialog__action {
    box-sizing: border-box;
    display: inline-flex;
    min-height: 44px;
    padding: 9px 14px;
    border: 2px solid MidnightBlue;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: MidnightBlue;
    background: #ffffff;
    font: inherit;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.ktd-phone-dialog__action:hover {
    color: #ffffff;
    background: MidnightBlue;
    text-decoration: none;
}

.ktd-phone-dialog__action--primary {
    color: #ffffff;
    background: MidnightBlue;
}

.ktd-phone-dialog__action:focus-visible {
    outline: 3px solid #cc0000;
    outline-offset: 3px;
}

.ktd-phone-dialog__status {
    min-height: 26px;
    margin: 14px 0 0;
    font-size: 0.9em;
    text-align: center !important;
}

@media (max-width: 520px) {
    .ktd-phone-dialog__actions {
        display: grid;
    }

    .ktd-phone-dialog__action {
        width: 100%;
    }
}
