/* ==========================================================
   MANUFAKTUR SYLT – Ergänzungen für Drei-Wege-Navigation
   Stand: April 2026
   Regel: main.css bleibt unverändert – alle Änderungen hier
   ========================================================== */


/* ----------------------------------------------------------
   1. STARTKACHEL (#begin)
   ---------------------------------------------------------- */

.panel.banner#begin {
	width: 85vw;
	min-width: 320px;
	max-width: 900px;
	flex-shrink: 0;
	background-image: url(../../images/neu/lederwerkstatt_1017_210_1_S4re-1920.webp);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: transparent;
	position: relative;
}

.panel.banner#begin::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.15);
	z-index: 0;
	pointer-events: none;
}

.panel.banner#begin .content {
	position: relative;
	z-index: 1;
	background: transparent !important;
	background-image: none !important;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	text-align: center;
	padding: 3rem 2rem;
	width: 100%;
	color: #fff;
}

.panel.banner#begin .content h1,
.panel.banner#begin .content p {
	color: #fff;
}

/* Banner-Navigation (Pfeile + Beschriftung auf Startkachel) */
.banner-navigation {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	margin-top: 2rem;
	flex-wrap: wrap;
}

.banner-pfeil-gruppe {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.4rem;
}

.nav-label {
	font-size: 0.65rem;
	color: rgba(255, 255, 255);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-align: center;
}

/* Startkachel: heller Pfeil auf dunklem Bild */
.banner-navigation .nav-pfeil {
	border-color: rgba(255, 255, 255, 0.5);
}

.banner-navigation .nav-pfeil:hover {
	background: rgba(255, 255, 255, 0.15);
}

.banner-navigation .nav-pfeil:active {
	background: rgba(255, 255, 255, 0.3);
}


/* ----------------------------------------------------------
   2. NAVIGATIONS-PFEILE (panel-zurueck + allgemein)
   ---------------------------------------------------------- */

.panel.panel-zurueck {
	width: 4rem;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url("../../images/overlay.png") !important;
	background-size: 128px 128px !important;
	background-color: #EAE5DC !important;
	position: relative;
	z-index: 10101;
}

.panel.panel-zurueck > .nav-pfeil {
	min-width: 0 !important;
}

.nav-pfeil {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid rgba(168, 128, 51, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s;
	flex-shrink: 0;
}

.nav-pfeil svg {
	width: 20px;
	height: 20px;
	animation: nudge-right 2.5s ease-in-out infinite;
	pointer-events: none;
}

.nav-pfeil:hover {
	background: rgba(168, 128, 51, 0.1);
}

.nav-pfeil:active {
	background: rgba(168, 128, 51, 0.25);
}

/* Linker Pfeil: Nudge nach links */
.btn-zur-startseite:first-of-type svg,
.btn-vater svg {
	animation: nudge-left 2.5s ease-in-out infinite;
}

@keyframes nudge-right {
	0%, 100% { transform: translateX(0); }
	40%, 60% { transform: translateX(3px); }
}

@keyframes nudge-left {
	0%, 100% { transform: translateX(0); }
	40%, 60% { transform: translateX(-3px); }
}

/* ----------------------------------------------------------
   ScrollZone Cursor
   ---------------------------------------------------------- */

.scrollZone.left  { cursor: w-resize; }
.scrollZone.right { cursor: e-resize; }

/* ----------------------------------------------------------
   Mobil-Navigation um #begin (oben / unten)
   ---------------------------------------------------------- */

.panel.panel-begin-nav {
    display: none;
}

@media screen and (max-width: 896px) {

    .banner-navigation {
        display: none;
    }

    .panel.panel-begin-nav {
        display: flex;
        width: 100%;
        height: 4rem;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        background-image: url("../../images/overlay.png") !important;
        background-size: 128px 128px !important;
        background-color: #EAE5DC !important;
    }

    /* Ei verhindern: feste Maße erzwingen */
    .panel.panel-begin-nav .nav-pfeil {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    flex: 0 0 44px !important;
}

    /* Basis-Animation aus dem Theme überschreiben */
    .panel.panel-begin-nav .nav-pfeil svg {
        animation: none;
    }

    /* Pfeil nach oben (zu Vater) */
    .panel.panel-begin-nav .btn-zu-vater svg {
        transform: rotate(-90deg);
        animation: nudge-auf 2.5s ease-in-out infinite;
    }

    /* Pfeil nach unten (zu Sohn) */
    .panel.panel-begin-nav .btn-zu-sohn svg {
        transform: rotate(90deg);
        animation: nudge-runter 2.5s ease-in-out infinite;
    }

    @keyframes nudge-auf {
        0%, 100% { transform: rotate(-90deg) translateX(0); }
        40%, 60% { transform: rotate(-90deg) translateX(-3px); }
    }

    @keyframes nudge-runter {
        0%, 100% { transform: rotate(90deg) translateX(0); }
        40%, 60% { transform: rotate(90deg) translateX(3px); }
    }
}
/* ----------------------------------------------------------
   3. PANEL-KACHELN: VATER + SOHN (Adresse/Bild)
   ---------------------------------------------------------- */

.panel.panel-vater-adresse {
	width: 22rem;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.panel.panel-sohn-adresse {
	width: 22rem;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.panel.panel-vater-adresse .intro h2.major,
.panel.panel-sohn-adresse .intro h2.major {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.panel.panel-vater-adresse .intro p,
.panel.panel-sohn-adresse .intro p {
	margin-bottom: 0.4rem;
	font-size: 0.85rem;
	line-height: 1.4;
}

.panel.panel-vater-adresse .intro,
.panel.panel-sohn-adresse .intro {
	padding: 0.8rem 2rem 1.5rem 2rem;
}

/* Kachel-Bild (gemeinsam) */
.panel.panel-vater-adresse .kachel-bild,
.panel.panel-sohn-adresse .kachel-bild {
	padding: 0.8rem;
	box-sizing: border-box;
}

.panel.panel-vater-adresse .kachel-bild img,
.panel.panel-sohn-adresse .kachel-bild img {
	width: 100%;
	max-height: 300px;
	object-fit: cover;
	display: block;
	border-radius: 6px;
}


/* ----------------------------------------------------------
   4. FILM-KACHELN
   ---------------------------------------------------------- */

.panel.panel-film {
	width: 28rem;
	flex-shrink: 0;
}

.panel.panel-film .intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	height: 100%;
	padding: 3rem 2.5rem;
}

.vimeo-facade {
	position: relative;
	display: inline-block;
	width: 100%;
	max-width: 320px;
	margin-top: 1rem;
}

.vimeo-facade a {
	display: block;
	position: relative;
	border: 0;
}

.vimeo-facade a img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
}

.vimeo-facade .play-icon {
	display: none;
}

.vimeo-hint {
	font-size: 0.7rem;
	color: rgba(46, 43, 55, 0.5);
	margin-top: 0.4rem;
	text-align: center;
}


/* ----------------------------------------------------------
   5. KONTAKTFORMULAR VATER + Sohn
   ---------------------------------------------------------- */

#kontakt-vater,#kontakt-sohn {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 2.5rem;
}

.kontakt-formular {
    padding: 0 2rem 0 2rem;
}

.kontakt-sub {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.kontakt-zeile {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.kontakt-feld {
    flex: 1;
    margin-bottom: 0.6rem;
}

.kontakt-feld input,
.kontakt-feld textarea {
    width: 100%;
    background: rgba(168, 128, 51, 0.1)!important;
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    color: inherit;
    outline: none;
    transition: background 0.2s;
    font-family: inherit;
    resize: none;
    box-shadow: none !important;
}

.kontakt-feld input:focus,
.kontakt-feld textarea:focus {
    background: rgba(168, 128, 51, 0.2);
    border: none;
}

.kontakt-feld input:required,
.kontakt-feld textarea:required {
    box-shadow: none !important;
}

.kontakt-feld input,
.kontakt-feld textarea,
.kontakt-dsgvo label {
    color: inherit !important;
}

.kontakt-feld input::placeholder,
.kontakt-feld textarea::placeholder {
    color: inherit !important;
    opacity: 0.45;
    font-style: italic;
}

.kontakt-dsgvo {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin: 0.8rem 0 1.5rem 0;
    opacity: 0.7;
    line-height: 1.4;
}

.kontakt-dsgvo label {
    font-size: 0.72rem !important;
}

.kontakt-dsgvo input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.kontakt-dsgvo input[type="checkbox"] + label:before {
    border: 1px solid rgba(168, 128, 51, 0.4) !important;
}

.kontakt-dsgvo a {
    text-decoration: underline dotted;
}

.kontakt-btn {
    background: #7d5731;
    color: #fff !important;
    border: none;
    padding: 0.75rem 0;
    width: 100%;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    border-radius: 8px;
    font-family: inherit;
    transition: background 0.2s;
	line-height:1;
}

.kontakt-btn:hover {
    background: #b17445;
}



/* ----------------------------------------------------------
   6. KONTAKT VATER + SOHN: Emblem als Hintergrundbild
   ---------------------------------------------------------- */


#kontakt-vater,
#kontakt-sohn {
    background-image: url("../../images/overlay.png"), 
                      linear-gradient(rgba(234, 229, 220, 0.9), rgba(234, 229, 220, 0.8)),
                      url("../../images/Manufaktur-Logo-Lederstueck-550.png"),
                      linear-gradient(45deg, rgba(217, 209, 189, 0.25) 25%, rgba(168, 128, 51, 0.25) 50%, rgba(237, 242, 168, 0.25));
    background-size: 128px 128px, cover, 100%, auto;
    background-repeat: repeat, no-repeat, no-repeat, no-repeat;
    background-position: center, center, center top, center;
    background-color: #EAE5DC;
}
/*Insta für Willi */
.instagram-link {
  display: inline-block;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.instagram-link:hover {
  opacity: 1;
}

.instagram-icon {
  width: 1.3em;
  height: 1.3em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   7. LEDER-KARTEN
   ---------------------------------------------------------- */

.leder-intro {
	margin-bottom: 1.5rem;
	font-size: 0.95rem;
}

.leder-karten {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.8rem;
}

.leder-karte {
	background: rgba(255, 255, 255, 0.07);
	border-radius: 6px;
	padding: 0.9rem 1.1rem;
	border-left: 3px solid rgba(255, 255, 255, 0.25);
	transition: border-color 0.2s;
}

.leder-karte:hover {
	border-left-color: rgba(255, 255, 255, 0.6);
}

.leder-karte h3 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.4rem 0;
	color: inherit;
}

.leder-karte p {
	font-size: 0.7rem;
	line-height: 1.5;
	margin: 0;
	opacity: 0.85;
}

.leder-karte--highlight {
	border-left-color: rgba(255, 255, 255, 0.6);
	background: rgba(255, 255, 255, 0.12);
}

.leder-sub {
	font-size: 0.75rem;
	opacity: 0.7;
	text-transform: none;
	letter-spacing: 0;
	font-weight: normal;
}


/* ----------------------------------------------------------
   8. GALERIE
   ---------------------------------------------------------- */

/* Hochkant-Bilder in Christian-Galerie */
.image.filtered.bild-hochkant img {
	object-fit: cover;
	background-color: rgba(234, 229, 220, 0.4);
}


/* ----------------------------------------------------------
   9. FIXER FOOTER
   ---------------------------------------------------------- */

#site-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: center;
	padding: 0.5rem 1rem;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	font-size: 0.75rem;
	color: rgba(46, 43, 55, 0.6);
	z-index: 9999;
	border-top: 1px solid rgba(46, 43, 55, 0.1);
}

#site-footer a {
	color: rgba(46, 43, 55, 0.6);
	text-decoration: none;
	border-bottom: dotted 1px rgba(46, 43, 55, 0.3);
	transition: color 0.2s;
}

#site-footer a:hover {
	color: rgba(46, 43, 55, 0.9);
}

.footer-sep {
	margin: 0 0.75rem;
	color: rgba(46, 43, 55, 0.3);
}

#page-wrapper {
	padding-bottom: 2.5rem;
}


/* ----------------------------------------------------------
   10. RESPONSIVE: MOBIL (max-width: 896px)
   ---------------------------------------------------------- */

@media screen and (max-width: 896px) {

	/* Wrapper */
	#wrapper {
		width: 100%;
	}

	/* Startkachel */
	.panel.banner#begin {
		width: 100%;
		max-width: 100%;
		min-height: 60vw;
		background-position: 60% center;
	}

	.panel.banner#begin .content h1 br {
		display: block !important;
	}

	/* Banner-Navigation: Pfeile untereinander */
	.banner-navigation {
		flex-direction: column;
		align-items: center;
	}

	.btn-vater {
		transform: rotate(-270deg);
	}

	.btn-sohn {
		transform: rotate(90deg);
	}

	/* Zurück-Pfeile: Richtung */
	.panel.panel-zurueck {
		width: 100%;
		height: 4rem;
		align-items: center;
	}

	.panel.panel-zurueck:first-of-type .nav-pfeil {
		transform: rotate(90deg);
	}

	.panel.panel-zurueck:last-of-type .nav-pfeil {
		transform: rotate(-270deg);
	}

	/* Pfeil-Animationen auf Mobil: vertikal */
	.nav-pfeil svg {
		animation: nudge-down 2.5s ease-in-out infinite;
	}

	.btn-zur-startseite:first-of-type svg,
	.btn-vater svg {
		animation: nudge-up 2.5s ease-in-out infinite;
	}

	@keyframes nudge-down {
		0%, 100% { transform: translateY(0); }
		40%, 60% { transform: translateY(3px); }
	}

	@keyframes nudge-up {
		0%, 100% { transform: translateY(0); }
		40%, 60% { transform: translateY(-3px); }
	}

	/* Film-Kacheln */
	.panel.panel-film {
		width: 100%;
	}

	/* Vater-Adresse: Textblock umgekehrt (Überschrift unten) */
	.panel.panel-vater-adresse {
		width: 100%;
		flex-direction: column;
	}

	.panel.panel-vater-adresse .kachel-bild {
		flex: 0 0 250px;
	}

	.panel.panel-vater-adresse .intro {
		display: flex;
		flex-direction: column-reverse;
		padding-bottom: 0.1rem !important;
	}

	/* Sohn-Adresse */
	.panel.panel-sohn-adresse {
		width: 100%;
		flex-direction: column-reverse;
	}

	.panel.panel-sohn-adresse .kachel-bild {
		flex: 0 0 250px;
	}

	/* Mobil: einheitlicher Sandton + Trennlinie */
	.panel.color2,
	.panel.color2 .intro,
	.panel.intro.color2,
	.panel.color2 .kontakt-formular {
		background-image: none;
		background-color: #EAE5DC;
	}

	.panel.color2 + .panel.color2 {
		border-top: 1px solid rgba(139, 106, 58, 0.3);
	}

	/* Galerie: span-2 nebeneinander */
	.gallery .group .span-2 {
		width: 50% !important;
	}

	/* Footer */
	#site-footer {
		font-size: 0.8rem;
		padding: 0.6rem 1rem;
	}
}

@media screen and (max-width: 480px) {
	.panel.banner#begin {
		min-height: 70vw;
	}
}


/* ----------------------------------------------------------
   11. RESPONSIVE: LANDSCAPE SMARTPHONE
   ---------------------------------------------------------- */

@media screen and (max-width: 896px) and (orientation: landscape) {

	/* Banner-Navigation: Pfeile nebeneinander */
	.banner-navigation {
		flex-direction: row;
		position: relative;
		z-index: 2;
		margin-top: 1rem;
	}

	.banner-navigation .nav-pfeil {
		pointer-events: auto;
	}

	/* Portraitbilder: kompakter */
	.panel.panel-vater-adresse .kachel-bild img,
	.panel.panel-sohn-adresse .kachel-bild img {
		max-height: 300px;
		width: auto;
		margin: 0 auto;
	}

	/* Hochkant-Bilder in Galerie: contain */
	.image.filtered.bild-hochkant img {
		object-fit: contain !important;
	}
}


/* ----------------------------------------------------------
   12. KLEINER DESKTOP-VIEWPORT (max-height: 700px)
   ---------------------------------------------------------- */

@media screen and (max-height: 700px) and (min-width: 897px) {

	#wrapper {
		height: 30rem !important;
	}

	#page-wrapper {
		padding-top: 4rem !important;
		padding-bottom: 7rem !important;
	}

	body p {
		font-size: 0.75rem !important;
	}

	.panel.panel-zurueck {
		align-items: center;
	}
}


/* ----------------------------------------------------------
   13. LEDER-KARTEN: KLEINER VIEWPORT (max-height: 1000px)
   ---------------------------------------------------------- */

@media screen and (max-height: 1000px) {
	.leder-karten {
		gap: 0.4rem;
	}
	.leder-karte {
		padding: 0.5rem 0.8rem;
	}
	.leder-karte h3 {
		margin-bottom: 0.2rem;
	}
	.leder-intro {
		margin-bottom: 0.8rem;
	}
}

@media screen and (max-width: 896px) and (orientation: portrait) {
    .panel.banner#begin {
        background-image: url(../../images/Rescale1100-Startbild-version2.webp);
        background-size: cover;
        background-position: center center;
    }
}

/*--------------------------------------------
sonstiges
---------------------------------------------*/

body p{
	font-weight:400;
	letter-spacing:0.02rem;
}

h1.major::after, h2.major::after, h3.major::after {
    display: none;
}
h2.major{
	font-size:1.2rem;
	margin:0.5rem 0!important;
}
h3.major {
	font-size:1rem;
	margin:0 0 0.5rem!important;
}

button:hover, .button:hover {
  box-shadow: inset 0 0 0 1px #7D5731!important;
  color: #fff !important;
}

a:hover{
	color:#7d5731!important;
}


/* ----------------------------------------------------------
   15. COLORBOX
   ---------------------------------------------------------- */

/* Vertikales Scrollen im Colorbox-Inhalt ermöglichen */
#cboxLoadedContent {
	overflow-y: auto !important;
}

/* Safari: Colorbox Datenschutz scrollbar */
.safari #inline_content_datenschutz {
	-webkit-overflow-scrolling: touch;
}


/* ----------------------------------------------------------
   16. HILFSKLASSEN & FORMULAR-VALIDIERUNG
   ---------------------------------------------------------- */

/* Zeilenhöhe für Leder-Sektion */
.lh-1-3 {
	line-height: 1.3rem;
}

.lh-1-3 ul.alt li {
	padding-top: 0.15rem;
}

/* Pflichtfelder: visuelle Rückmeldung */
input:required,
textarea:required {
	box-shadow: 2px 2px 2px rgba(177, 116, 69, 0.875);
}

input:required:focus,
textarea:required:focus {
	border: 1px solid #b17445;
	outline: none;
}

input:required:hover,
textarea:required:hover {
	opacity: 1;
}

/*-----------------------------------------------------------
Animation am rechten und linken Rand
--------------------------------------------------------------*/

@keyframes hint-right {
    0%   { opacity: 0;    transform: translateY(-50%) translateX(0);   }
    20%  { opacity: 0.75; transform: translateY(-50%) translateX(5px); }
    40%  { opacity: 0.45; transform: translateY(-50%) translateX(0);   }
    60%  { opacity: 0.75; transform: translateY(-50%) translateX(5px); }
    85%  { opacity: 0.3;  transform: translateY(-50%) translateX(0);   }
    100% { opacity: 0;    transform: translateY(-50%) translateX(5px); }
}
@keyframes hint-left {
    0%   { opacity: 0;    transform: translateY(-50%) translateX(0);    }
    20%  { opacity: 0.75; transform: translateY(-50%) translateX(-5px); }
    40%  { opacity: 0.45; transform: translateY(-50%) translateX(0);    }
    60%  { opacity: 0.75; transform: translateY(-50%) translateX(-5px); }
    85%  { opacity: 0.3;  transform: translateY(-50%) translateX(0);    }
    100% { opacity: 0;    transform: translateY(-50%) translateX(-5px); }
}

.scroll-hint {
    position: fixed;
    top: 60%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}
.scroll-hint-right {
    right: 15px;
    animation: hint-right 4s ease-in-out forwards;
    animation-delay: 1s;
}
.scroll-hint-left {
    left: 15px;
    animation: hint-left 4s ease-in-out forwards;
    animation-delay: 1s;
}
.scroll-hint svg {
    width: 44px;
    height: 44px;
}
@media screen and (max-width: 896px) {
    .scroll-hint { display: none; }
}