/* ==========================================================================
   ITS CREATED – Contao-6-Theme (Nachbau des Eclipse-Layouts)
   Präfix aller Klassen: ic-  (damit das Theme neben dem zweiten Theme läuft)
   ========================================================================== */

/* ---------------------------------------------------------------- Schrift */
@font-face {
  font-family: 'ic-Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'ic-Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------- Variablen */
.ic-site {
  --ic-accent: #009fe3;
  --ic-accent-rgb: 0, 159, 227;
  --ic-text: #999;
  --ic-head: #3b3c42;
  --ic-dark: #555;
  --ic-light: #f9f9f9;
  --ic-shadow: 1px 2px 7.28px .72px rgba(0, 0, 0, .08);
  --ic-header: 120px;
  --ic-pad: 40px;
}

/* ---------------------------------------------------------------- Grundlagen */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.ic-site {
  margin: 0;
  font-family: 'ic-Montserrat', Montserrat, Arial, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 27px;
  color: var(--ic-text);
  background: #fff;
  overflow-x: hidden;
}
.ic-site *, .ic-site *::before, .ic-site *::after { box-sizing: border-box; }
.ic-site img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
.ic-site figure { margin: 0; }
.ic-site picture { display: block; }
.ic-site p { margin: 0 0 15px; line-height: 28px; }
.ic-site h1, .ic-site h2, .ic-site h3, .ic-site h4, .ic-site h5, .ic-site h6 {
  margin: 0 0 25px;
  font-weight: 400;
  color: var(--ic-head);
  line-height: 1.3;
  overflow-wrap: break-word;
}
.ic-site h1 { font-size: 30px; }
.ic-site h2 { font-size: 26px; }
.ic-site h3 { font-size: 24px; }
.ic-site h4 { font-size: 22.5px; }
.ic-site h5 { font-size: 19.995px; }
.ic-site h6 { font-size: 16.5px; }
.ic-site a { color: var(--ic-accent); text-decoration: none; transition: color .2s; }
.ic-site a:hover { text-decoration: none; }
.ic-site strong, .ic-site b { font-weight: 700; }
.ic-site ul, .ic-site ol { margin: 0 0 15px; }
.ic-site .content-text { display: flow-root; }
.ic-site .invisible, .ic-sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ic-skip { position: absolute; left: -9999px; top: 0; z-index: 10010; background: #fff; padding: 10px 20px; }
.ic-skip:focus { left: 10px; top: 10px; }

/* ---------------------------------------------------------------- Kopfbereich */
.ic-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: var(--ic-shadow);
  line-height: var(--ic-header);
}
.ic-header__inner { position: relative; padding: 0 var(--ic-pad); }
.ic-header__inner::after { content: ''; display: table; clear: both; }
.ic-logo { float: left; display: block; width: 200px; height: var(--ic-header); line-height: 0; }
.ic-logo a { display: flex; align-items: center; width: 100%; height: 100%; }
.ic-logo img { width: 150px; height: auto; }
/* Facebook, Instagram und Flagge: alle 13 px hoch, auf ganzen Pixeln, je 8 px Abstand */
.ic-header__tools { float: right; display: flex; align-items: flex-start; height: var(--ic-header); }
.ic-social { display: flex; align-items: flex-start; gap: 8px; height: 13px; margin: 53px 0 0 2vw; order: 1; }
.ic-social a { display: block; color: var(--ic-dark); line-height: 0; }
.ic-social a:hover { color: var(--ic-accent); }
.ic-social .ic-icon--facebook { width: 7px; height: 13px; }
.ic-social .ic-icon--instagram { width: 13px; height: 13px; }
.ic-lang { order: 2; margin: 53px 0 0 8px; line-height: 0; }
.ic-lang img { display: block; }
.ic-lang a { display: block; }
.ic-lang img { width: 19px; height: 13px; }

/* Hauptnavigation (Desktop) */
.ic-nav { text-align: right; }
.ic-nav .mod_navigation, .ic-nav nav { display: block; }
.ic-nav ul { margin: 0; padding: 0; list-style: none; }
.ic-nav .level_1 { display: inline-flex; justify-content: flex-end; flex-wrap: wrap; gap: 0 64px; }
.ic-nav .level_1 > li { position: relative; }
.ic-nav .level_1 > li + li::before {
  content: '//';
  position: absolute; top: 0; left: -35px;
  color: var(--ic-text); font-size: 15px; pointer-events: none;
}
.ic-nav .level_1 > li > a, .ic-nav .level_1 > li > strong {
  display: block;
  font-size: 16.005px; font-weight: 400;
  line-height: var(--ic-header);
  text-transform: uppercase;
  color: var(--ic-text);
  text-align: center;
}
.ic-nav .level_1 > li > a:hover,
.ic-nav .level_1 > li > strong,
.ic-nav .level_1 > li.trail > a,
.ic-nav .level_1 > li.active > a { color: var(--ic-accent); }
.ic-nav .level_2 {
  position: absolute;
  top: 100%; right: -22.5px;
  min-width: 220px;
  margin-top: -2px;
  background: #fff;
  border-top: 2px solid var(--ic-accent);
  box-shadow: 1px 8px 15px 0 rgba(0, 0, 0, .1);
  text-align: right;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
  z-index: 10;
}
.ic-nav .level_1 > li:hover > .level_2,
.ic-nav .level_1 > li:focus-within > .level_2 { opacity: 1; visibility: visible; }
.ic-nav .level_2 a, .ic-nav .level_2 strong {
  display: block;
  padding: 0 22.5px;
  font-size: 15px; font-weight: 400; line-height: 42px;
  color: rgb(77, 79, 79);
  border-bottom: 1px solid #f2f2f2;
  white-space: nowrap;
}
.ic-nav .level_2 a:hover, .ic-nav .level_2 strong, .ic-nav .level_2 .trail > a { color: var(--ic-accent); }
.ic-nav__title, .ic-nav__lang, .ic-nav__toggle { display: none; }

/* Burger */
.ic-burger {
  display: none;
  position: absolute; top: 50%; right: 20px;
  width: 36px; height: 36px; margin-top: -18px;
  padding: 0; border: 0; border-radius: 0;
  background: var(--ic-accent); color: #fff;
  cursor: pointer;
}
.ic-burger .ic-icon { margin: 0 auto; }
.ic-overlay { display: none; }

/* ---------------------------------------------------------------- Icons (SVG-Masken) */
.ic-icon {
  display: block;
  background-color: currentColor;
  -webkit-mask: var(--ic-icon) center / contain no-repeat;
  mask: var(--ic-icon) center / contain no-repeat;
}
.ic-icon--menu { --ic-icon: url('../img/icon-menu.svg'); width: 16px; height: 14px; }
.ic-icon--facebook { --ic-icon: url('../img/icon-facebook.svg'); }
.ic-icon--instagram { --ic-icon: url('../img/icon-instagram.svg'); }
.ic-icon--up { --ic-icon: url('../img/icon-chevron-up.svg'); width: 11px; height: 12px; }
.ic-icon--bars { --ic-icon: url('../img/icon-bars.svg'); width: 13px; height: 13px; }
.ic-icon--prev { --ic-icon: url('../img/icon-angle-left.svg'); width: 8px; height: 15px; }
.ic-icon--next { --ic-icon: url('../img/icon-angle-right.svg'); width: 8px; height: 15px; }
.ic-icon--chevron { --ic-icon: url('../img/icon-angle-right.svg'); width: 7px; height: 13px; }

/* ---------------------------------------------------------------- Inhalt */
.ic-main { padding: var(--ic-header) 0 47px; background: #fff; }
.ic-home .ic-main { padding-top: 0; }
.ic-main > .mod_article { position: relative; padding: 0 var(--ic-pad); }
.ic-main > .mod_article::after { content: ''; display: table; clear: both; }
.ic-main > .mod_article.ic-full { padding-left: 0; padding-right: 0; }
.ic-pt { padding-top: 120px !important; }
.ic-offset { top: -60px; }
.ic-pt0 { padding-top: 0 !important; }

/* Hero (Startseite) */
.ic-hero { position: relative; width: 100%; aspect-ratio: 1240 / 950; max-height: 950px; overflow: hidden; background: #eee; }
.ic-hero__image, .ic-hero__image figure, .ic-hero__image picture { position: absolute; inset: 0; width: 100%; height: 100%; }
.ic-hero__image img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center center; }
.ic-hero__scroll {
  position: absolute; left: 50%; bottom: 100px; z-index: 2;
  width: 32px; height: 46px; margin-left: -16px;
  border: 2px solid #fff; border-radius: 16px;
}
.ic-hero__scroll span {
  position: absolute; top: 9px; left: 50%;
  width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: #fff;
  animation: ic-wheel 1.6s infinite;
}
@keyframes ic-wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }

/* Abschnitt „Neuste Projekte“ */
.ic-projects > .content-headline { margin: 0; padding: 40px 0; text-align: center; }

/* Portfolio-Kacheln (Nachrichtenliste) */
.ic-portfolio { display: flex; flex-wrap: wrap; margin: 0; }
.ic-portfolio .layout_latest {
  position: relative;
  width: 33.3333%;
  height: 300px;
  margin: 0;
  overflow: hidden;
  background: #222;
}
.ic-portfolio .layout_latest .info,
.ic-portfolio .layout_latest .more { display: none; }
.ic-portfolio .layout_latest figure,
.ic-portfolio .layout_latest picture { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.ic-portfolio .layout_latest img {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: center center;
  transition: filter .3s, transform .3s;
}
.ic-portfolio .layout_latest::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: rgba(var(--ic-accent-rgb), .8);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.ic-portfolio .layout_latest h2 {
  position: absolute; left: 0; right: 0; z-index: 2;
  bottom: calc(50% - 1px);
  margin: 0; padding: 0 25px;
  font-size: 19.995px; font-weight: 700; line-height: 25.9935px;
  text-align: center; color: #fff;
  opacity: 0; transform: translateX(-30px);
  transition: opacity .3s, transform .3s;
}
.ic-portfolio .layout_latest h2 a { color: #fff; }
.ic-portfolio .layout_latest h2 a::after { content: ''; position: absolute; inset: -1000px; z-index: 3; }
.ic-portfolio .layout_latest .content-text {
  position: absolute; left: 0; right: 0; z-index: 2;
  top: calc(50% + 1px);
  padding: 0 25px;
  text-align: center; color: #fff;
  opacity: 0; transform: translateX(30px);
  transition: opacity .3s, transform .3s;
}
.ic-portfolio .layout_latest .content-text p { margin: 0; line-height: 27px; }
.ic-portfolio .layout_latest:hover::after,
.ic-portfolio .layout_latest:focus-within::after { opacity: 1; }
.ic-portfolio .layout_latest:hover img,
.ic-portfolio .layout_latest:focus-within img { filter: blur(3px); transform: scale(1.04); }
.ic-portfolio .layout_latest:hover h2, .ic-portfolio .layout_latest:hover .content-text,
.ic-portfolio .layout_latest:focus-within h2, .ic-portfolio .layout_latest:focus-within .content-text { opacity: 1; transform: none; }

/* Raster (Autogrid-Nachbau) */
.ic-grid { margin: 0 -1%; }
.ic-grid::after { content: ''; display: table; clear: both; }
.ic-col { float: left; position: relative; padding: 0 1%; }
.ic-col--1-1 { width: 100%; }
.ic-col--1-2 { width: 50%; }
.ic-col--1-3 { width: 33.3333%; }
.ic-col--2-3 { width: 66.6667%; }
.ic-col--1-4 { width: 25%; }
.ic-col--3-4 { width: 75%; }
.ic-grid--l { margin: 0 -3%; }
.ic-grid--l > .ic-col { padding: 0 3%; }

/* Boxen */
.ic-box { background: #fff; padding: 20px; box-shadow: var(--ic-shadow); }
.ic-box p:last-child { margin: 0; }
.ic-box a:hover { text-decoration: underline; }
.ic-graybox { background: var(--ic-light); padding: 5vh 5vw; min-height: 320px; }
.ic-tc, .ic-tc p { text-align: center; }
.ic-pl30 { padding-left: 30px; }
.ic-u { text-decoration: underline; }
.ic-mb-m { margin-bottom: 50px; }
.ic-mb-xs { margin-bottom: 30px !important; }
.ic-mt-s { margin-top: 40px; }

/* Agentur: Identität & Mission */
.ic-identity { padding: 120px 40px 60px !important; }
.ic-identity .content-image img { display: block; margin: 0 auto 20px; width: 64px; }
.ic-identity .content-headline, .ic-identity p { text-align: center; }
.ic-mission { background: var(--ic-light); padding: 60px var(--ic-pad) !important; text-align: center; }
.ic-mission .content-swiper { margin-right: 15px; }
.ic-mission .swiper { padding-bottom: 40px; }
.ic-mission .content-image img { display: block; margin: 0 auto; max-height: 100px; width: auto; }
.ic-mission .content-text h5 { font-size: 18px; line-height: 23.4px; margin: 20px 0; text-align: center; }
.ic-mission .content-text p { margin: 0; text-align: center; }

/* Kompetenzen / Leistungen */
.ic-skills, .ic-skills.ic-pt { padding-top: 30px !important; }
.ic-skills .content-text { text-align: center; }
.ic-skills .content-image img { display: block; width: 100%; }
.ic-skills .ic-box h4, .ic-skills .ic-box h5 { text-align: center; }
.ic-skills .content-image.ic-box img { width: 100%; }

/* Fotograf: Porträt in der weißen Box */
.ic-portrait img { display: block; width: 300px; margin: 0 auto; }
.ic-portrait { margin-bottom: 24px; }

/* Kontaktformular */
.ic-form label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.ic-form .widget { position: relative; margin: 0 0 20px; }
.ic-form input.text, .ic-form textarea {
  display: block; width: 100%;
  padding: 15px;
  font: 400 10.5px/normal Arial, Helvetica, sans-serif;
  color: #000;
  background: #f7f7f7;
  border: 1px solid #f7f7f7;
  border-radius: 0;
  outline: 0;
  -webkit-appearance: none; appearance: none;
}
.ic-form input.text { height: 44px; }
.ic-form textarea { height: 227px; resize: vertical; }
.ic-form .widget-textarea { margin-bottom: 28px; }
.ic-form input.text:focus, .ic-form textarea:focus { border-color: var(--ic-accent); background: #fff; }
.ic-form ::placeholder { color: #757575; opacity: 1; }
.ic-form button.submit {
  display: inline-block;
  min-width: 140px; height: 44px;
  padding: 15px 20px;
  font: 700 12px/normal Arial, Helvetica, sans-serif;
  color: #fff;
  background: var(--ic-accent);
  border: 0; border-radius: 0;
  cursor: pointer;
  transition: background .2s;
}
.ic-form button.submit:hover, .ic-form button.submit:focus-visible { background: var(--ic-head); }
.ic-form .error { color: #c33; font-size: 12px; margin: 5px 0 0; }
.ic-form p.error { line-height: 18px; }
.ic-form .widget-explanation, .ic-form .confirm { color: var(--ic-head); }

/* ---------------------------------------------------------------- Portfolio-Detail */
.ic-reader { padding: 0 !important; }
.ic-reader .layout_full > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); margin: 0; }
.ic-reader .layout_full > .info,
.ic-reader .back { display: none; }
.ic-detail { display: flex; align-items: flex-start; margin: 0 -1%; }
.ic-detail--full { margin: 0; }
.ic-detail__gallery { width: 75%; flex: none; }
.ic-detail__gallery--full { width: 100%; }
.ic-detail__aside {
  position: fixed; z-index: 5;
  top: var(--ic-header); left: 75.5%; right: 0;
  height: 100%;
  padding: 40px 30px;
  background: var(--ic-light);
  overflow-y: auto;
}
.ic-detail__aside p { margin: 0; }
.ic-detail__aside .rte > p:first-child { border-bottom: 1px solid #ddd; margin-bottom: 20px; padding-bottom: 10px; }
.ic-detail__aside .rte h5:first-child { border: 0; padding: 0; }
.ic-sibnav { display: flex; justify-content: space-between; align-items: center; min-height: 27px; margin: 30px 0 0; line-height: 27px; }
.ic-sibnav a { color: var(--ic-dark); display: inline-block; }
.ic-sibnav a:hover { color: var(--ic-accent); }
.ic-sibnav__pn { display: flex; align-items: center; }
.ic-sibnav__pn a + a { position: relative; margin-left: 10px; }
.ic-sibnav__pn a + a::before { content: '|'; position: absolute; left: -10px; top: -6px; color: var(--ic-dark); }

/* Galerien */
.ic-gallery ul { margin: 0; padding: 0; list-style: none; }
.ic-gallery li { margin: 0; }
.ic-gallery img { display: block; width: 100%; }
.ic-gallery--grid ul { display: grid; grid-template-columns: repeat(var(--ic-cols, 4), 1fr); }
.ic-gallery--masonry ul { column-count: var(--ic-cols, 4); column-gap: 0; line-height: 0; }
.ic-gallery--masonry li { break-inside: avoid; }
.ic-gallery.content-gallery--cols-1 { --ic-cols: 1; }
.ic-gallery.content-gallery--cols-2 { --ic-cols: 2; }
.ic-gallery.content-gallery--cols-3 { --ic-cols: 3; }
.ic-gallery.content-gallery--cols-4 { --ic-cols: 4; }

/* ---------------------------------------------------------------- Fußleiste */
.ic-footer {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: #fff;
  border-top: 1px dotted #efefef;
  box-shadow: var(--ic-shadow);
}
.ic-footer__inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 40px;
  font-size: 13.95px; line-height: 27px;
}
.ic-footer p { margin: 0; line-height: 28px; }
.ic-footer__links a { color: var(--ic-text); margin-left: 15px; }
.ic-footer__links a:first-child { margin-left: 0; }
.ic-footer__links a:hover { color: var(--ic-accent); }

/* Nach oben */
.ic-totop {
  position: fixed; right: 15px; bottom: 60px; z-index: 10005;
  width: 45px; height: 45px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ic-dark);
  background: rgba(255, 255, 255, .9);
  border: 1px solid #ebedeb;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, .04);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.ic-totop.is-visible { opacity: 1; visibility: visible; }
.ic-totop:hover { color: var(--ic-accent); }

/* ---------------------------------------------------------------- Swiper (Agentur-Slider) */
.ic-mission .swiper { position: relative; overflow: hidden; }
.ic-mission .swiper-wrapper { display: flex; }
.ic-mission .swiper-slide { flex-shrink: 0; width: 100%; }
.ic-mission .swiper-button-prev, .ic-mission .swiper-button-next { display: none; }
.ic-mission .swiper > .swiper-pagination {
  position: absolute; left: 0; right: 0; top: auto; bottom: 2px; width: auto; height: 9px;
  text-align: center; line-height: 0;
}
/* höhere Spezifität als die Swiper-eigenen Regeln (.swiper-horizontal > .swiper-pagination-bullets …) */
.ic-mission .swiper > .swiper-pagination .swiper-pagination-bullet {
  display: inline-block; width: 9px; height: 9px; margin: 0 4px; border-radius: 50%;
  background: #ddd; box-shadow: 0 0 2px #777; opacity: 1; cursor: pointer;
}
.ic-mission .swiper > .swiper-pagination .swiper-pagination-bullet-active { background: var(--ic-accent); box-shadow: none; }

/* ---------------------------------------------------------------- Cookie-Hinweis */
.ic-cookie {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .75);
  font: 400 14px/18.62px Arial, Helvetica, sans-serif;
  color: #222;
}
.ic-cookie[hidden] { display: none; }
.ic-cookie__box {
  width: 375px; max-width: 100%; max-height: 100%; overflow-y: auto;
  padding: 25px 20px 15px;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, .5);
  outline: 0;
}
.ic-cookie .ic-cookie__title { margin: 0 0 15px; font: 500 20px/24px 'ic-Montserrat', Montserrat, sans-serif; text-transform: uppercase; color: var(--ic-accent); }
.ic-cookie .ic-cookie__text { margin: 0 0 20px; font-size: 12px; line-height: 18px; color: #222; }
.ic-cookie .ic-cookie__toggle {
  display: block; margin: 0 auto 7px; padding: 0; border: 0; background: none;
  font: 400 12px/15.96px Arial, Helvetica, sans-serif; text-transform: uppercase;
  color: var(--ic-accent); cursor: pointer;
}
.ic-cookie .ic-cookie__toggle:hover { text-decoration: underline; }
.ic-cookie .ic-cookie__details { margin: 0 0 15px; font-size: 12px; line-height: 18px; }
.ic-cookie .ic-cookie__details[hidden] { display: none; }
.ic-cookie .ic-cookie__details p { margin: 0 0 8px; font-size: 12px; line-height: 18px; color: #222; }
.ic-cookie .ic-cookie__details a { color: var(--ic-accent); }
.ic-cookie .ic-cookie__details h3 { margin: 10px 0 5px; font: 700 12px/18px Arial, Helvetica, sans-serif; color: #222; text-transform: uppercase; }
.ic-cookie .ic-cookie__details table { width: 100%; border-collapse: collapse; font-size: 11px; line-height: 15px; }
.ic-cookie .ic-cookie__details th, .ic-cookie .ic-cookie__details td { padding: 4px; text-align: left; vertical-align: top; border-bottom: 1px solid #eee; }
.ic-cookie .ic-cookie__btn {
  display: block; width: 100%; margin: 0 0 5px; padding: 15px;
  font: 400 15px/normal Arial, Helvetica, sans-serif;
  border: 0; border-radius: 0; cursor: pointer;
}
.ic-cookie .ic-cookie__btn--all { color: #fff; background: var(--ic-accent); text-transform: uppercase; }
.ic-cookie .ic-cookie__btn--essential { margin-bottom: 10px; color: #262a2b; background: #f4f4f4; }
.ic-cookie .ic-cookie__btn:hover { filter: brightness(.95); }
.ic-cookie .ic-cookie__links { margin: 0; text-align: center; font-size: 11px; line-height: 19px; }
.ic-cookie .ic-cookie__links a { color: #262a2b; }
body.ic-no-scroll { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
  .ic-detail__aside { padding: 40px 30px; }
}

/* Mobiler Kopfbereich (wie Original bis 767 px) */
@media (max-width: 767px) {
  .ic-site { --ic-header: 70px; --ic-pad: 20px; }
  .ic-header { line-height: 100px; }
  .ic-header__inner { height: 70px; padding: 0 20px; }
  .ic-logo { width: 150px; height: 70px; }
  .ic-logo img { width: 112.5px; }
  .ic-header__tools { display: none; }
  .ic-burger { display: block; }
  .ic-nav {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 1001;
    width: 300px; max-width: 85vw;
    padding: 0 0 40px;
    background: #f3f3f3;
    text-align: left;
    line-height: 20px;
    transform: translateX(-100%);
    transition: transform .4s ease;
    overflow-y: auto;
    visibility: hidden;
  }
  .ic-nav.is-open { transform: none; visibility: visible; }
  .ic-header.is-menu-open { z-index: 1002; }
  .ic-nav__title {
    display: block; height: 40px; line-height: 40px;
    text-align: center; font-size: 14px; color: rgba(0, 0, 0, .3);
    border-bottom: 1px solid #ddd;
  }
  .ic-nav .level_1 { display: block; padding: 0; }
  .ic-nav .level_1 > li { border-bottom: 1px solid #ddd; }
  .ic-nav .level_1 > li + li::before { display: none; }
  .ic-nav .level_1 > li > a, .ic-nav .level_1 > li > strong {
    padding: 10px 10px 10px 20px;
    font-size: 14px; line-height: 20px;
    text-transform: none; text-align: left;
    color: rgba(0, 0, 0, .7);
  }
  .ic-nav .level_1 > li > strong, .ic-nav .level_1 > li.active > a {
    color: #fff; background: var(--ic-accent);
  }
  .ic-nav .level_1 > li.trail > a { color: rgba(0, 0, 0, .7); }
  .ic-nav .level_1 > li.submenu > a, .ic-nav .level_1 > li.submenu > strong { margin-right: 50px; }
  .ic-nav__toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 0; right: 0;
    width: 50px; height: 40px; padding: 0;
    border: 0; border-left: 1px solid #ddd; background: none;
    color: rgba(0, 0, 0, .4); cursor: pointer;
  }
  .ic-nav__toggle[aria-expanded="true"] .ic-icon { transform: rotate(90deg); }
  .ic-nav .level_2 {
    position: static; min-width: 0; margin: 0;
    opacity: 1; visibility: visible;
    border-top: 1px solid #ddd; box-shadow: none; background: #f3f3f3;
    text-align: left; display: none;
  }
  .ic-nav li.is-expanded > .level_2 { display: block; }
  .ic-nav .level_2 a, .ic-nav .level_2 strong {
    padding: 10px 10px 10px 35px; font-size: 14px; line-height: 20px;
    color: rgba(0, 0, 0, .7); border-bottom: 1px solid #ddd;
  }
  .ic-nav .level_2 li:last-child > a, .ic-nav .level_2 li:last-child > strong { border-bottom: 0; }
  .ic-nav .level_2 strong { color: #fff; background: var(--ic-accent); }
  .ic-nav__lang {
    display: block;
    position: fixed; left: 0; bottom: 0; width: 300px; max-width: 85vw;
    padding: 10px 0; line-height: 20px; text-align: center;
    background: #eee;
  }
  .ic-nav__lang img { width: 19px; height: 13px; }
  .ic-overlay {
    display: block; position: fixed; inset: 0; z-index: 1001;
    background: rgba(0, 0, 0, .3);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .ic-overlay.is-open { opacity: 1; visibility: visible; }

  .ic-site h4 { font-size: 18px; line-height: 23.4px; }
  .ic-site h5 { font-size: 16.5px; line-height: 21.45px; }
  .ic-projects > .content-headline { padding: 32.48px 0; }

  .ic-col, .ic-grid--l > .ic-col { float: none; width: 100% !important; }
  .ic-site h1, .ic-site h2, .ic-site h3, .ic-site h4, .ic-site h5, .ic-site h6 { margin-bottom: 10px; }
  .ic-mb-m { margin-bottom: 25px; }
  .ic-mb-xs { margin-bottom: 25px !important; }
  .ic-mt-s { margin-top: 20px; }

  .ic-portfolio .layout_latest { width: 100%; height: 350px; }

  .ic-detail { display: block; }
  .ic-detail__gallery { width: 100%; }
  .ic-detail__aside { position: static; width: 100%; height: auto; padding: 40px 30px; overflow: visible; }
}

/* Kleine Bildschirme (Original-Regeln bis 600 px) */
@media (max-width: 600px) {
  .ic-main { padding-top: 0; }
  .ic-pt { padding-top: 70px !important; }
  .ic-offset.ic-pt { padding-top: 160px !important; }
  .ic-pt.ic-pt-m { padding-top: 177px !important; }
  .ic-identity { padding: 110px 20px 0 !important; }
  .ic-identity .ic-col { margin-bottom: 25px; }
  .ic-identity .ic-col p:last-child { margin-bottom: 0; }
  .ic-graybox p:last-child, .ic-legal .content-text p:last-child { margin-bottom: 0; }
  .ic-skills.ic-pt.ic-offset { padding-top: 30px !important; }
  .ic-skills .ic-col, .ic-grid > .ic-col { margin-bottom: 25px; }
  .ic-pt-m .ic-col:last-child { margin-bottom: 0; }
  .ic-detail__aside { margin-bottom: 25px; }
  .ic-gallery--grid { margin-top: 25px; }
  .ic-pt-list { padding-top: 70px !important; }
  .ic-reader { padding-top: 70px !important; }
  .ic-gallery--masonry ul { column-count: 1; }
  .ic-gallery--grid ul { grid-template-columns: 1fr; }
  .ic-hero__scroll { bottom: 4vh; width: 26px; height: 38px; margin-left: -13px; }
  .ic-hero__scroll span { top: 7px; }
  .ic-footer__inner { display: block; padding: 10px; text-align: center; font-size: 12.1714px; }
  .ic-footer p { line-height: 20px; }
  .ic-footer__links a { margin: 0 15px 0 0; }
  .ic-footer__links a:last-child { margin: 0; }
}
